Developer forum
Subject
Replies
Started by
Last reply
Log user in via code
Hello. I have a client-side fetch to an internal page. That page includes af ICC app i use to get some specific information from BC. I tried to log the user in via the API before calling the internal page. I get the token from the first call but the ...
Kasper Legarth
13/03/2023 08:59:06
Last post: 20/09/2023 09:04:15
17
Subscribe
Custom MVC filter
hello, I need to register a custom mvc filter. In a regular mvc app it is trivial and I can do it in the global.asax file. In DynamicWeb 9 however we don't have access to this and if I'm correct, the recommended approach is to use notificatio ...
Karol Barkowski
04/09/2023 15:56:04
Last post: 16/09/2023 23:54:56
Changing customer/delivery address to another country doesn't update default shipping and payment methods
Hi DW, When changing a customer/delivery address to another country via the DWAPI, the default payment and shipping are not updated to use the default methods for that country. Setup for shipping, you can see PostNord is only available in Denmark, an ...
Mikkel Hammer
23/08/2023 11:40:37
Last post: 14/09/2023 13:06:28
GET /dwapi/ecommerce/carts?ByCustomerNumber=true doesn't work
It seems like ByCustomerNumber on Carts doesn't work as intended. Whenever I call it, it doesn't add the OrderCustomerNumber clause to the select statement exec sp_executesql N' DECLARE @DefaultRate float; SET ARITHABORT OFF; SET @Default ...
Tor Leeberg
25/08/2023 09:27:48
Last post: 14/09/2023 12:49:51
Missing CountryCode in PIM Feed
Dear Dynamicweb, We have upgraded a solution to 9.15.10 and afterwards we experience issues with a missing "countrycode" when trying to access a feed - please see this screendump: https://app.screencast.com/HwUloqRl3rakf. But when we add a ...
Anders Ebdrup
17/08/2023 11:03:36
Last post: 14/09/2023 12:46:45
Send additional parameter to quickpay
Hi there, I need to send the deadline parameter to Quick Pay (QuickPay Form - https://learn.quickpay.net/tech-talk/payments/form/) in order to control the time the user has to complete the order (so it matches the reservation time in the cart). I tri ...
Imar Spaanjaars
02/09/2023 22:31:01
Last post: 14/09/2023 11:20:58
Dependency Injection
Hello, I have a custom scheduled task in my project. So I have a class that derives from the "BaseScheduledTaskAddIn" class. Is there any way to use constructor dependency injection in those tasks? Or anywhere in DW in general? So to have s ...
Karol Barkowski
13/09/2023 01:24:12
Last post: 13/09/2023 15:23:32
Vincent Gercke
05/09/2023 10:30:45
Last post: 12/09/2023 20:09:41
Add/remove loyalty points via /dwapi
Hello. Is it possible to modify users loyalty points via the API (/dwapi)? I've had a look through the documentation, without any luck. ...
Vincent Gercke
05/09/2023 10:21:47
Last post: 07/09/2023 21:31:44
/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
Index custom field type
Hello, I got some issue when it comes to custom field type and indexing. The case is that the customer want to sort products based on the last word in a text field. Because of this we have created a custom field type that get the last word in the tex ...
Alexander Tømmerholen
04/09/2023 13:15:34
Last post: 04/09/2023 15:34:12
Basket - Server side step ?
Hi If I want to create a custom server side step in the basket, and store the new data to the basket/order. How would I go about doing that ? ...
Anders Jensen
04/09/2023 08:34:47
Last post: 04/09/2023 11:14:09
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
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
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
/dwapi/content/rows/{pageId} not including hidden in menu pages
I've created a vue-app trying to consume the dwapi. As the title says the api only responds with "the page is not published." when the page is hidden in menu. For example I wish to hide subpages from the navigation, but still be able to ...
Joakim Sjöbäck
11/08/2023 14:45:30
Last post: 30/08/2023 10:28:44
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
Pipeline exclusions
Hi, We've set up our deployment pipeline of Swift. After a build to production (Cloud) I've noticed 'Shared queries' were added. Is there an overview or list of folders or elements we should exclude when building, to avoid any more se ...
Davy Capiau
16/08/2023 16:16:58
Last post: 21/08/2023 11:31:27
Product catalog for ViewModel - BeforePaging notification
Hi, Would it be possible to add an BeforePaging notification on the Product catalog for ViewModel module? Like the one on the old/normal Product catalog module BR Thomas ...
Thomas Larsen
15/08/2023 19:47:10
Last post: 17/08/2023 09:28:01
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