Developer forum
Subject
                    Replies
                    Started by
                    Last reply
                
                                
                                    
                                
                                                        Best way to fetch a custom set of products
                                  
                                        
                                            
                                        
                                
                            
                        With GetProductsBySql being obsolete, what is the recommended way to fetch products based on custom logic? Execute a custom SWL statement like this: SELECT ProductAutoId FROM EcomProducts WHERE ProductLanguageId = 'en' AND ProductNumber IN (& ...
                        
                            Imar Spaanjaars
                            
                        
                        10/09/2024 20:48:57
                        
                                    Last post: 12/09/2024 09:44:58
                                
                        
                                                        Replace DW search
                                  
                                        
                                            
                                        
                                
                            
                        Hi there, I have a potential project where we're looking at integrating an external search engine. I am still exploring its capabilities but in essence we can send it a search term and then we get rich product data back. Has anyone done this befo ...
                        
                            Imar Spaanjaars
                            
                        
                        10/09/2024 14:55:39
                        
                                    Last post: 11/09/2024 11:08:07
                                
                        
                                
                                    
                                
                                                        Check if voucher discount is applied to the cart
                                  
                                        
                                            
                                        
                                
                            
                        I'm working on a feature that needs to determine whether a discount or voucher code has been applied to the current cart or order. While the order calculation itself functions as expected, I want to implement a true/false validation that provides ...
                        
                            John Broers
                            
                        
                        28/08/2024 16:21:54
                        
                                    Last post: 30/08/2024 11:41:54
                                
                        
                                                        Swift show new attribute instead of product number
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I want to show 'Art. Ref.' instead of 'Number' for my products at the frontend, so attribute Art_ref instead of Product_Number. How do I do this by adjusting for example the Swift_ProductNumber.cshtml template? I tried the followi ...
                        
                            Caro De Weze
                            
                        
                        28/08/2024 10:16:31
                        
                                    Last post: 28/08/2024 14:51:07
                                
                        
                                
                                    
                                
                                                        Conversion field stays analyzed in index
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I have a field 'volume' which is a reference field, type 'conversion'. When using it in facets it gets analyzed, although the facet field in the index is configured not to. When I look at the schema itself, it remains analysed. Wh ...
                        
                            Davy Capiau
                            
                        
                        26/08/2024 11:32:29
                        
                                    Last post: 28/08/2024 08:51:39
                                
                        
                                                        Create custom setting node in Settings section
                                  
                                        
                                            
                                        
                                
                            
                        Hi guys, I am wondering if it's possible to create a custom node in the settings section where I can add some custom modules configuration. Or even a completely separate section like the Demo section I have noticed in Rapido 3.3. Can I find documenta ...
                        
                            Adrian Ursu
                            
                        
                        22/04/2020 10:54:48
                        
                                    Last post: 27/08/2024 16:38:28
                                
                        
                                                        Building Indexes on Application Start
                                  
                                        
                                            
                                        
                                
                            
                        Hello, Is there a way to programmatically get a list of all the indexes, and build it when the application starts up? Using Docker Containers means every time we release it would require manual intervention to rebuild the indexes. Ideally we want to  ...
                        
                            Joseph Vause
                            
                        
                        29/07/2024 14:41:33
                        
                                    Last post: 31/07/2024 14:25:27
                                
                        
                                                        CodeProviderBase always returns a value
                                  
                                        
                                            
                                        
                                
                            
                        Dear Dynamicweb, We experience, that when we use the "CodeProviderBase" for retrieving programmatically values for the index, then it always uses the value when the facets are calculated, and in our situation, we are using the CodeProviderB ...
                        
                            Anders Ebdrup
                            
                        
                        30/07/2024 12:16:58
                        
                                    No replies yet
                                
                        
                                                        Swift update - braking changes on database?
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I just tried to update my website to use latest Swift version (from 1.21.0 to 1.26.4). I'm on DW version 9.17.6 I've noticed that there's quite a lot of database changes in swift item types. So, what is the recommended approach to upd ...
                        
                            Karol Barkowski
                            
                        
                        23/07/2024 16:56:52
                        
                                    No replies yet
                                
                        
                                                        NETS payments integration issue
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I am trying to integrate NETS/DIBS Easy payments in DW 9. During the checkout i got an error from DibsEasyCheckout: En feil har oppstått **Payment request failed with following errors: { "notifications.WebHooks[0].Url": [ "Fi ...
                        
                            Karol Barkowski
                            
                        
                        04/07/2024 11:44:30
                        
                                    Last post: 25/07/2024 14:24:57
                                
                         10
                                    
                                         Subscribe
                                    
                        
                                                        NotificationSubscriber order of execution
                                  
                                        
                                            
                                        
                                
                            
                        HI, When using the same Notificaiton Subscriber in two different libraries in the same solution, is there a way to control the order that they get executed? THe reason being in that I'm getting "Unexpected exception GetContent() with the mes ...
                        
                            Andrew Rushworth
                            
                        
                        19/07/2024 11:25:49
                        
                                    Last post: 19/07/2024 11:28:48
                                
                        
                                
                                    
                                
                                                        global.asax code
                                  
                                        
                                            
                                        
                                
                            
                        Hi, In DW10 I have access to the Startup.cs file where I can configure my whole project, use filters, middlewares, configure dependency injection containers, error handlers, generate swagger files, all that standart stuff that each and every web proj ...
                        
                            Karol Barkowski
                            
                        
                        17/07/2024 16:02:44
                        
                                    Last post: 17/07/2024 17:50:18
                                
                        
                                                        Error on Razor Engine
                                  
                                        
                                            
                                        
                                
                            
                        Could not delete C:\Windows\TEMP\RazorEngine_twyaoezb.xx5: System.UnauthorizedAccessException: Access to the path 'CompiledRazorTemplates.Dynamic.RazorEngine_d0d203368fb64296945dbb5fad64359c.dll' is denied. at System.IO.Directory.DeleteHelper ...
                        
                            Shiwanka Chathuranga
                            
                        
                        15/02/2022 06:07:14
                        
                                    Last post: 16/07/2024 14:20:50
                                
                        
                                                        Get content of as DW Pages as string
                                  
                                        
                                            
                                        
                                
                            
                        Hi, We need to create 1 single PDF with the result of several pages in DW. For example: /my-page?a=1&b=2&c=111 /my-page?a=1&b=2&c=222 /my-page?a=1&b=2&c=333 Using an HttpClient we can make these requests and then concatenate t ...
                        
                            Nuno Aguiar
                            
                        
                        16/07/2024 12:38:25
                        
                                    Last post: 16/07/2024 13:07:15
                                
                        
                                                        DWAPI Paragraph issue (dwapi/content/paragraph?pageId=xxxx)
                                  
                                        
                                            
                                        
                                
                            
                        We have a paragraph that contains a Swift_ProductComponentSlider with a single group. When updating the product information within this group, the dwapi/content/paragraph is still returning the stale/cached product information from within this group  ...
                        
                            Barry Geukdjian
                            
                        
                        29/06/2024 10:24:08
                        
                                    Last post: 16/07/2024 08:21:47
                                
                        
                                
                                    
                                
                                                        Extending DAP to also export assets of BOM (Parts List)
                                  
                                        
                                            
                                        
                                
                            
                        The DAP uses the /dwapi/ecommerce/products/export For the export as zip function, as far as I can see there is no possibility there to extend this to include assets of SubProducts in case of a parts list. In this case would I need to create my own AP ...
                        
                            Justin Sjouw
                            
                        
                        26/06/2024 18:35:32
                        
                                    Last post: 27/06/2024 15:36:42
                                
                        
                                
                                    
                                
                                                        Chrome and edge autocomplete triggers antispam
                                  
                                        
                                            
                                        
                                
                            
                        We are experiencing problems with the auto complete in chrome and edge triggering the anti spam functionality. It fills the description field with the username it remembers from the login page. It seems that the problem stems from autocomplete=" ...
                        
                            Lasse Larsen
                            
                        
                        18/06/2024 16:38:20
                        
                                    Last post: 18/06/2024 17:20:06
                                
                        
                                
                                    
                                
                                                        Api response doesn't match swagger documentation
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I need to use the product search endpoint but there are two issues I found. First one is that response model that I get doesn't match the model described in swagger docs and it's missing facet group names. See image below where on the lef ...
                        
                            Karol Barkowski
                            
                        
                        10/06/2024 12:53:05
                        
                                    Last post: 13/06/2024 05:02:21
                                
                        
                                                        Object reference Error on Dynamicweb.Analytics.Experiments.Experiment.GetExperimentByPageID(Int32 PageID)
                                  
                                        
                                            
                                        
                                
                            
                        DW Version 9.12.2 , did we miss any configuration? the solution is upgraded from 9.10.* to 9.12.2 This is not happen always... Full Error :- 2021-11-24 20:48:32.869: Object reference not set to an instance of an object. System.NullReferenceException: ...
                        
                            Shiwanka Chathuranga
                            
                        
                        24/11/2021 17:09:39
                        
                                    Last post: 12/06/2024 16:25:57
                                
                        
                                
                                    
                                
                                                        Ability to set TotalProductCount 
                                  
                                        
                                            
                                        
                                
                            
                        Hi Is it possible to set the TotalProductCount property in the OnBeforeProductList observer? In the OnBeforeProductList observer we are fetching data from a third party system to filter and sort products (Relewise) and that works as intended by using ...
                        
                            Vincent Gercke
                            
                        
                        10/06/2024 15:22:41
                        
                                    Last post: 12/06/2024 09:50:23