Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Order StateId change doesn't send the email
Hey guys, We have a project where we try to make the system send an email when the order gets a specific Order State. This works when we do it manually, but it doesn't work when we change the State Id programaticaly . Can anyone guide us to get t ...
Alexandru Aliu
30/08/2023 14:57:12
Last post: 31/08/2023 17:04:10
/dwapi/frontend/navigations/{areaId} returns hidden page with property ShowInMenu: true
Hi, As title says im wondering why /dwapi/frontend/navigations/{areaId} returns hidden page with ShowInMenu as true. When requesting the api im using IncludeFoldersAndHidden=true but I want to hide hidden pages from the navigation manually via the pr ...
Joakim
30/08/2023 14:30:20
Last post: 04/09/2023 17:51:03
/dwapi/frontend/navigations/{areaId} returns hidden page with property ShowInMenu: true
Hi, As title says im wondering why /dwapi/frontend/navigations/{areaId} returns hidden page with ShowInMenu as true. When requesting the api im using IncludeFoldersAndHidden=true but I want to hide hidden pages from the navigation manually via the pr ...
Joakim Sjöbäck
30/08/2023 14:30:17
Last post: 29/09/2023 10:16:35
Webapi: Getpage by itemType AND culture
Is it possible to get all pages from a DW solution by itemType and a Culture? We are building a software that needs to get release notes from a dw Solution. I know I can get pages by itemtype with: /dwapi/content/pages?ItemType=ReleaseNote In this sc ...
Kasper Legarth
30/08/2023 10:01:02
Last post: 30/08/2023 10:39:19
Source code for liveintegration
Dear Dynamicweb, It does not seems like the source code version of the liveintegration framework is updated here at the doc-site. Will it be in the future or is the intention that we should only work with the compiled version? Best regards, Anders ...
Anders Ebdrup
24/08/2023 15:42:34
Last post: 31/08/2023 11:01:26
Product Discount in ProductIndexBuilder/ExtendDocument
Hi, I need to know if a product has a discount or not in a ProductIndexBuilder/ExtendDocument(). The purpose is to enrich other fields with values ​​depending on whether a product has a discount or not. I would like to avoid Services.Discounts.GetDis ...
Casper Hermann Rasmussen
24/08/2023 11:02:47
Last post: 25/08/2023 11:50:12
Add a logo from html code
Hello everyone, can someone help me with the following, I need to add a logo from an HTML code, how can I do that, the code is something like this: <span id="siteseal"><script async type="text/javascript" src="https: ...
John Cristian Villamar Cueva
15/08/2023 00:06:13
Last post: 15/08/2023 09:28:34
Finish the transaction at a custom CheckoutHandler
Hi, We are implementing a custom CheckoutHandler. We are unsure about which functions we need to call to properly mananage the response of the transaction. 1) When the payment is approved: We use SetOrderComplete() and the order is displayed as compl ...
Tomas Gomez
14/08/2023 11:46:35
Last post: 14/08/2023 17:16:58
Display Schema extender fields in Queries in PIM
Hi guys, I have had a lot of situations where I would extend the index with new properties for the purpose of filtering but I was also interested in displaying those fields in the Queries, at least in the index mode view. Is there any way I can accom ...
Adrian Ursu
10/08/2023 11:11:43
Last post: 10/08/2023 12:49:06
Products in stock - live integration
Hello, We need to display a list of products that are in stock. I tried to change a query/index and add that the stock is greater than zero. This works, but the problem is the stock level. The stock comes from the NAV live integration and we do not h ...
Mario Kožić
08/08/2023 09:14:49
Last post: 08/08/2023 10:08:11
Prevent user login if not allowed on website
Hi, We have a customer with a solution with many webshops on. We seperate users in different usergroups in import. The users should only be allowed to login on their allocated site. I've made restrictions with the permission matrix, so the user g ...
Marie Louise Veigert
02/08/2023 09:09:16
Last post: 02/08/2023 14:05:56
Order weight
Hi, The Order class has a Weight property. Checking its value around, it looks like the weight calculation only consider one product unit (quantity=1) from each orderline, i.e. the weight of two units of the same product is the same as the weight of  ...
Tomas Gomez
01/08/2023 12:04:08
Last post: 03/08/2023 11:04:42
Where is Version in System\Manage Versions stored
Hi, My site is running on 9.15.9 as configured in IIS, but the manage versions screen still shows 9.15.8. I suspect it could have something to do with deployment of config files? ...
Justin Sjouw
25/07/2023 15:46:31
Last post: 26/07/2023 14:32:22
Render Navigation for a specific User context
Hi guys, I have a solution that becomes more and more challenging because of the large number of Users, User groups, and Assortments. Navigation rendering is becoming a real issue, even with the new approach. I understand that our setup is rather far ...
Adrian Ursu
11/07/2023 13:00:29
Last post: 11/07/2023 14:14:05
Handle custom font family/styling inside titles
Hi guys, I have a situation where I need to accommodate something like this: This means that I have to add some custom styling to a piece of text inside a heading. I can define a reliable separator that would identify the segment to be customized. St ...
Adrian Ursu
07/07/2023 13:47:31
Last post: 10/07/2023 12:40:55
reordering an order via dwapi
Hi, It seems like there's no way to "reorder" an order via the dwapi. Right now if you were to "reorder", you would have to loop every orderline from the old order and add them one by one to your current cart. Is it possible t ...
Mikkel Hammer
04/07/2023 15:10:25
Last post: 17/07/2023 12:08:12
Check if user has ordered product
Hi guys, We have to build a functionality to allow posting product reviews only for users that have purchased the product. What would be the most efficient way to check if the current user has a specific (current product) in his order history? Thank  ...
Adrian Ursu
04/07/2023 12:01:03
Last post: 04/07/2023 13:52:29
Missing Using in IronPdfRenderer
Dear Dynamicweb, We are experiencing issues with multiple IronCefSubprocess in the Task Explorer - please see this screen dump: https://app.screencast.com/wv3uNCFrtXznH, which is taken up CPU. We believe that it is caused due to a missing "using ...
Anders Ebdrup
03/07/2023 13:19:42
Last post: 02/08/2023 13:08:11
Accessing assets
Hello I want to be able to add, edit and delete assets (both documents, images and video links) via code in the back end. How do I do that? (Version 9.) Thanks in advance, Fredrik ...
Fredrik
28/06/2023 20:11:06
Last post: 29/06/2023 15:28:20
Convert Item into ItemVIewModel
Hi guys, What is the best approach to convert an Item into an ItemViewModel? Is this even possible? Thank you, Adrian ...
Adrian Ursu
28/06/2023 11:28:54
Last post: 29/06/2023 03:29:23