Developer forum
Subject
                    Replies
                    Started by
                    Last reply
                
                                                        Merging products in cart
                                  
                                        
                                            
                                        
                                
                            
                        Hi guys, I am not sure how to better title this question, therefore I will explain it. We have a situation where we are using a few orderline fields. Some of these orderline fields are getting values server-side, not through the add to cart form. Thi ...
                        
                            Adrian Ursu
                            
                        
                        12/04/2023 19:09:59
                        
                                    Last post: 13/04/2023 09:19:28
                                
                        
                                                        Visiting first page in page tree results in blank page (9.15.3)
                                  
                                        
                                            
                                        
                                
                            
                        Hello! Visiting the first page in page tree results in blank page, when you access it by the exact url and not "/". I've been able to recreate the bug on the two seperate solution running 9.15.3, but not on a 9.15.2. ...
                        
                            Vincent Gercke
                            
                        
                        14/03/2023 16:52:42
                        
                                    Last post: 06/05/2023 10:53:08
                                
                        
                                                        Handling different Product Detail pages for products in the same group
                                  
                                        
                                            
                                        
                                
                            
                        Hi guys, The new feature in Swift/DW for handling Detail page for products in various groups was very interesting and very useful. However, we have situations where products in the same group have to have different ProductDetail pages. I have used a  ...
                        
                            Adrian Ursu
                            
                        
                        09/03/2023 12:32:56
                        
                                    Last post: 31/05/2023 17:45:58
                                
                        
                                                        DW 9 WebApi dosent always add body on carts/create request
                                  
                                        
                                            
                                        
                                
                            
                        Hi DW i have been having an issue, where calling the carts/create endpoint with an OrderLine and a few OrderFields in the body sometimes dosent add the fields to the cart. The cart is always created and returned, sometimes just without the additional ...
                        
                            Lasse Larsen
                            
                        
                        02/03/2023 16:25:11
                        
                                    Last post: 03/03/2023 09:36:34
                                
                        
                                                        Create a Dummy order for Unit tests
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We're trying to create just a dummy order for Unit test purposes on our customizations. I know that currently this relies a lot on context, so I wonder if there's an easier way OR if we're down a bunny trail or it simply can't get ...
                        
                            Nuno Aguiar
                            
                        
                        01/03/2023 13:37:29
                        
                                    Last post: 07/03/2023 12:57:31
                                
                        
                                                        Access to CalculateShippingFee method
                                  
                                        
                                            
                                        
                                
                            
                        Hi Dynamicweb, We have a solution where we can have two shipping fees (depending on the type of products in the cart). We use a custom tax provider to add the fee from an additional standard shipping method. We only have access to the default fee on  ...
                        
                            Niels Foldager
                            
                        
                        23/02/2023 22:23:13
                        
                                    Last post: 01/03/2023 11:05:23
                                
                        
                                                        GetPageviewByPageID results in endless loop
                                  
                                        
                                            
                                        
                                
                            
                        We have recently upgraded a solution to 9.15.2 and since we can't use Dynamicweb.Frontend.PageView.Current() to access AreaSettings from the backend anymore, we tried to use GetPageviewByPageID instead as suggested by the annotation. Unfortunatel ...
                        
                            Vincent Gercke
                            
                        
                        23/02/2023 13:30:18
                        
                                    Last post: 01/03/2023 17:36:51
                                
                        
                                                        Getting Products from Assortments
                                  
                                        
                                            
                                        
                                
                            
                        Hi. We have a solution that we are upgrading from v. 9.8 to v.9.14. We have are using Ecommerce and Assortment. We used to use the GetAssortmentItemsByAssortmentId method, of the AssormentService class to get the products related to the assortment. A ...
                        
                            Daniel Hollmann
                            
                        
                        22/02/2023 08:55:32
                        
                                    Last post: 22/02/2023 10:24:37
                                
                        
                                                        DW10 Web Api Responses
                                  
                                        
                                            
                                        
                                
                            
                        Hi There are few endpoints in the api which return the data in blob. i dont know if that is by purpose or ...? but it would be nice if it can return the data in proper Json or an actual model which would be even better for example /dwapi/ecommerce/gr ...
                        
                            Umar Farooq
                            
                        
                        20/02/2023 13:02:39
                        
                                    Last post: 21/02/2023 17:27:31
                                
                        
                                                        Deny user login with custom error message
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I have a scenario where I have to get information from the third party api and based on some spcific properties i need to allow or deny user login on the website with custom error messages. i tried Standard.User.OnBeforeExtranetLogin but cant fin ...
                        
                            Umar Farooq
                            
                        
                        20/02/2023 11:33:08
                        
                                    Last post: 21/02/2023 13:26:46
                                
                        
                                                        Frontend translation in OrderComplete notification
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We are trying to create an order complete and at that time, we need to append some strings (orderline custom field in my case, but could just as easily be an order custom field), that we then need to use in the email notification and "My ord ...
                        
                            Nuno Aguiar
                            
                        
                        26/01/2023 12:04:36
                        
                                    Last post: 27/01/2023 13:28:03
                                
                        
                                                        HttpContext in an IndexBuilderExtender 
                                  
                                        
                                            
                                        
                                
                            
                        Hi there, In an attempt to optimize code in an IndexBuilderExtender, I wanted to preload some data and store it in HttpContext.Current.Items so I have it available for subsequent calls to ExtendDocument. However, HttpContext.Current is null (and so i ...
                        
                            Imar Spaanjaars
                            
                        
                        26/01/2023 11:30:55
                        
                                    Last post: 26/01/2023 11:50:09
                                
                        
                                                        User property SystemFieldValues is empty
                                  
                                        
                                            
                                        
                                
                            
                        Hello, When trying to access property SystemFieldValues of an User, this property is always empty. Is this behaviour expected? Thank you. ...
                        
                            Pedro Meias
                            
                        
                        25/01/2023 10:51:38
                        
                                    Last post: 26/01/2023 11:40:24
                                
                        
                                                        Manually running scheduled job returns: Token is invalid, scheduled task run canceled
                                  
                                        
                                            
                                        
                                
                            
                        DW-version 9.13.10. On staging environment whenever I run a scheduled job i receive the following error message: "Token is invalid, scheduled task run canceled". Windows scheduled task is not installed on the server, so scheduler is not wor ...
                        
                            Philip West Christiansen
                            
                        
                        03/01/2023 15:32:46
                        
                                    Last post: 10/01/2023 09:56:49
                                
                        
                                                        Forms for Editors - fileupload whitelist of file extensions  
                                  
                                        
                                            
                                        
                                
                            
                        Hi can I using "Forms for Editors" make a whitelist of file-extension and try to pervent upload of unwanted files on serverside ? I know you can rename your files and bypass this kind of restrictions, but anyone has a solution to this ? A n ...
                        
                            Jesper Splidsboel
                            
                        
                        30/12/2022 11:59:30
                        
                                    Last post: 18/01/2023 17:39:32
                                
                        
                                                        WebApi: Adding users to group
                                  
                                        
                                            
                                        
                                
                            
                        Hi Is it possible to associate a user with a user group during creation of the user with /dwapi/users/create? And if not, can it be done in another way? Kind regards Roald ...
                        
                            Roald Haahr
                            
                        
                        05/12/2022 14:03:15
                        
                                    Last post: 14/12/2022 13:15:22
                                
                        
                                                        HandlePricesExclusively not taken into account in Viewmodel
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, We see a performance penalty when using the product viewmodel as the property HandlePricesExclusively in our custom PriceProviders are not respected. Please see the code marked with red here: private List<PriceListViewModel> Ge ...
                        
                            Anders Ebdrup
                            
                        
                        24/11/2022 15:30:07
                        
                                    Last post: 20/04/2023 17:37:10
                                
                        
                                                        Default favorite list not handled
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, In the UserProductsMacro the default favorite list is not supported as null is just returned if not set in the url: private static object GetFavoritesAutoIdsByUserId() { // If ?ListID=?? is not specified, do not return anything strin ...
                        
                            Anders Ebdrup
                            
                        
                        21/11/2022 08:34:20
                        
                                    Last post: 24/04/2023 01:33:54
                                
                        
                                                        Cache in favorites viewmodel is not cleared
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, We have experienced that the product id cache in UserProductsMacro, is not cleared when adding or removing through the CustomerExperienceCenter. It seems to be missing a call like this: Indexing.UserProductsMacro.ClearUserFavoritesCa ...
                        
                            Anders Ebdrup
                            
                        
                        17/11/2022 14:39:26
                        
                                    Last post: 21/04/2023 06:30:41
                                
                        
                                                        Live prices on WebAPI
                                  
                                        
                                            
                                        
                                
                            
                        Hi DW We have an issue on DW 9.14.1 using the Web API to get products for a custom view. We are using Live Integration version 7.0.5 with Live Prices enabled. The problem is that we can get the products fine if we are querying them anonymously from t ...
                        
                            Chris Søgaard
                            
                        
                        16/11/2022 15:29:31
                        
                                    Last post: 17/11/2022 09:36:57