Developer forum
Subject
                    Replies
                    Started by
                    Last reply
                
                                
                                    
                                
                                                        Datalists using stored procedures with temp tables
                                  
                                        
                                            
                                        
                                
                            
                        Hi DW 9.17.5, Swift v1.26.0 This is a project with a couple of custom tables and we are using datalists to access the records on those tables. Since the original query had a couple of inners joins and that was causing some performance issues. We trie ...
                        
                            Pedro Meias
                            
                        
                        08/06/2024 00:32:37
                        
                                    Last post: 11/06/2024 17:41:34
                                
                        
                                                        Klarna v3
                                  
                                        
                                            
                                        
                                
                            
                        Hi, In the klarna v3 payment provider we enabled the following option Upon investigation, i found out that the property "allowed_customer_types," which is type List<string>, has not been initialized either in the constructor or elsewh ...
                        
                            Umar Farooq
                            
                        
                        22/03/2024 12:58:05
                        
                                    Last post: 06/06/2024 11:41:43
                                
                        
                                                        LoginError from azure AD
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I have implemented the azure AD connection. But some times i get a LoginError and a banned IP. Error message: SQL Injection detected from ip : (Match on QueryString LoginError); expression: (?:'|%27|%22|%26|%3B|;|%3D|%23|%00|%7c|--)(?![ |:|&g ...
                        
                            Andreas Pettersson
                            
                        
                        27/02/2024 09:13:47
                        
                                    Last post: 03/06/2024 09:59:17
                                
                        
                                
                                    
                                
                                                        Frontegg external authentication 
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We need to implement a new external authentication for Frontegg. Is it much work implement an external loginprovider in DW? I found example code https://doc.dynamicweb.com/forum/development/development/linkedin-authentication but is there possibl ...
                        
                            Magnus Holmberg
                            
                        
                        24/05/2024 11:32:18
                        
                                    Last post: 27/05/2024 11:43:27
                                
                        
                                
                                    
                                
                                                        Add /de/ to URL for one language layer
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We have a situation where we need to add /de/ to only one language layer. So "domain.com/some/page" needs to be rewrited to "domain.com/de/some/page". Also all of product URLs needs to be rewritten like this. Would the appropr ...
                        
                            Aki Ruuskanen
                            
                        
                        21/05/2024 13:39:31
                        
                                    Last post: 22/05/2024 08:18:18
                                
                        
                                                        GroupId in AfterCustomOrderChangeArgs
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, Can the groupid from the related group please be added to: AfterCustomOrderChangeArgs? Best regards, Anders ...
                        
                            Anders Ebdrup
                            
                        
                        25/04/2024 16:01:21
                        
                                    Last post: 08/05/2024 12:40:42
                                
                        
                                                        Custom ViewModel gets added to PIM feeds automaticly 
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We've noticed, that when adding a CustomProductViewModel that inherits from ProductViewModel, it automaticlly gets added to the PIM Feed. They aren't listed within "Included Properties", but still shows in the feed. (Combined sc ...
                        
                            Mads Poulsen
                            
                        
                        24/04/2024 08:52:20
                        
                                    Last post: 24/04/2024 11:26:29
                                
                        
                                
                                    
                                
                                                        Throw validation error on OnAfterSubmitSave
                                  
                                        
                                            
                                        
                                
                            
                        Is it possible to use Dynamicweb.Forms.Notifications.Frontend.OnAfterSubmitSave to make custom server side validation? I would like to validate one of the fields up against the database on submit. If invalid, I need to show a error message. Anyone go ...
                        
                            Martin Moen
                            
                        
                        15/03/2024 09:11:31
                        
                                    Last post: 24/04/2024 11:12:26
                                
                        
                                
                                    
                                
                                                        Order.OnAfterGenerateOrderXmlArgs
                                  
                                        
                                            
                                        
                                
                            
                        I'm following the "Gold membership" example here: https://doc.dynamicweb.com/documentation-9/integration/integration-framework-old-structure/extensibility/live-integration-notifications I can successfully add a node to the xml, and it i ...
                        
                            Martin Moen
                            
                        
                        17/04/2024 13:31:57
                        
                                    Last post: 17/04/2024 15:41:06
                                
                        
                                
                                    
                                
                                                        Change link in template for every language
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I want to add that my link will change if the website is in a different language. This is the piece of code I have already written: @{ string GetProductPageUrl() { string currentLanguage = "en"; switch (currentLanguage) { case "en- ...
                        
                            Caro De Weze
                            
                        
                        11/04/2024 09:01:29
                        
                                    Last post: 12/04/2024 11:37:20
                                
                        
                                                        GetImage.ashx returns error 500, in Dynamicweb Admin (9.16.4)
                                  
                                        
                                            
                                        
                                
                            
                        f.x. /Admin/Public/GetImage.ashx?Width=480&crop=0&image=/Files/Files/Add%20a%20heading%20(2).png - will return 500 If the file does not exist then it returns a 404 - so it's finding the file. The error returned is Im unable to debug into  ...
                        
                            Hreinn Agustsson
                            
                        
                        11/04/2024 09:48:40
                        
                                    Last post: 11/04/2024 17:44:38
                                
                        
                                
                                    
                                
                                                        Automating Campaign Removal and Cache Clearing
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We're currently using a scheduled SQL task to remove campaigns from products once they're over, and it's working well. The issue we're facing is with caching: the products keep showing the campaign info until we manually clear the ...
                        
                            Johanne Glimsdal
                            
                        
                        05/04/2024 09:33:45
                        
                                    Last post: 09/04/2024 09:38:46
                                
                        
                                
                                    
                                
                                                        Expand table product variants
                                  
                                        
                                            
                                        
                                
                            
                        Hi, How can I expand the table of product variants? By default, this is how it is shown: Now, for example, I want to show the color per variant as well. I've already looked in the Swift_RelatedProductsList.cshtml file, because I am using the item ...
                        
                            Caro De Weze
                            
                        
                        03/04/2024 14:09:10
                        
                                    Last post: 04/04/2024 17:24:51
                                
                        
                                                        CommandTimeout on Log Cleanup
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, We experience that the planned task of "log cleanup" often ends in an exception due to timeout. I would therefore like to set a command timeout on the scheduled task, and I would like to have a log of which of the table del ...
                        
                            Anders Ebdrup
                            
                        
                        07/03/2024 10:22:14
                        
                                    Last post: 04/04/2024 11:57:59
                                
                        
                                
                                    
                                
                                                        Prevent single extranet user from beeing forced for a new password
                                  
                                        
                                            
                                        
                                
                            
                        Hello. We are building a solution for a customer where they have set up extranet with users from BC. When the extranet user is logged in they have access to place orders and see the latest orders etc. We have set up so the extranet users must create  ...
                        
                            Kasper Legarth
                            
                        
                        03/04/2024 09:43:59
                        
                                    Last post: 03/04/2024 11:15:55
                                
                        
                                                        Show stock state on order in backend
                                  
                                        
                                            
                                        
                                
                            
                        Hello, We have gotten a request from a customer that want to show amount in stock on an order in backend. Is this even possible? ...
                        
                            Alexander Tømmerholen
                            
                        
                        26/02/2024 10:32:53
                        
                                    Last post: 02/04/2024 15:08:12
                                
                        
                                
                                    
                                
                                                        PriceProvider call 2 times when user logged in and second time Pricecontext.customer=null 
                                  
                                        
                                            
                                        
                                
                            
                        PriceProvider call 2 times when product detail request and user logged in, second time Pricecontext.customer=null v 9.17.2 * First time Seond Time any clue what could be the case? ...
                        
                            Shiwanka Chathuranga
                            
                        
                        27/03/2024 14:13:00
                        
                                    Last post: 27/03/2024 17:12:29
                                
                        
                                                        Show name discount when product is selected
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I want to make sure that for order discounts, it always shows the name of an order discount. How do I do this? Currently this is only true if the discount type is equal to percentage: If the discount type is equal to a product, it shows the name  ...
                        
                            Caro De Weze
                            
                        
                        21/03/2024 07:27:54
                        
                                    No replies yet
                                
                        
                                
                                    
                                
                                                        DW WebAPI authenticate with POST
                                  
                                        
                                            
                                        
                                
                            
                        Hi, A customer wants to use POST authentication in the WebAPI due security concerns. Although, if parameters are sent in the body they get the message that endpoint does not support POST. The endpoint only works when parameters are sent in the querys ...
                        
                            Mario Santos
                            
                        
                        14/03/2024 11:21:52
                        
                                    Last post: 20/03/2024 14:44:26
                                
                        
                                
                                    
                                
                                                        List of most sold products
                                  
                                        
                                            
                                        
                                
                            
                        Hello, Is there any method or functionality avaliable to get a list with productIds of the most (TopX) sold products? I need to the list so I can compared and tag the products i'm showing if they're in topx ...
                        
                            Kasper Pedersen
                            
                        
                        08/01/2024 09:36:04
                        
                                    Last post: 14/03/2024 11:14:44