Developer forum
Subject
Replies
Started by
Last reply
Create user as inactive using Forms for Editors
Hi there, I use the forms for editor module with the "Create user on form submit" to create a new user. That works well but the user is always active. We like to deactivate the user on create so it can be approved and activated by an admin. Is this p ...
Imar Spaanjaars
04/02/2021 17:30:23
Last post: 08/02/2021 16:06:28
Headless DW Routing
Hello We have been looking into how we can take advantage of the WebApi introduced in 9.10 and possibly transition into a SPA frontend. Have you found any solution on how to handle routing in the react/vue app, so that pages & paragraphs can be c ...
Natan Ólafsson
05/02/2021 10:53:17
Last post: 08/02/2021 16:05:11
BeforeCustomFieldValueIsChanged not hit for checkboxes
Dear Dynamicweb, We see that the notification subscriber: BeforeCustomFieldValueIsChanged (and BeforeCustomFieldValueIsSet etc.) is not fired for checkboxes. Please find this code in SetPostValues: Dim valueChanged As Boolean = value <> Convert ...
Anders Ebdrup
02/12/2020 13:32:50
Last post: 08/02/2021 15:29:07
Field System name in FieldTypeProvider
Hi guys, We have started the development of a few custom FieldTypes and we have reached a Roadblock when trying to use the new fields as ProductCategory fields. To be more specific, in the Render method of ProductFieldTypeProvider we get a property c ...
Adrian Ursu
02/02/2021 17:13:25
No replies yet
Custom DiscountProvider?
Hi Dynamicweb, We would like to be able to exclude some products that are part of an order discount, if certain data on the individual product means that no discount may be granted on it. In the old discount module we could create our own SalesDiscou ...
Niels Foldager
21/01/2021 10:50:45
Last post: 02/02/2021 09:39:14
17
Subscribe
Change context of Dynamicweb.Frontend.Navigation.NavigationSettings
I'm trying to change the context of Dynamicweb.Frontend.Navigation.NavigationSettings to fetches the Nodes property with the purpose of generating breadcrumbs, but setting the RootPageId to another page results in no Nodes being returned: The code ab ...
Vincent Gercke Pedersen
29/01/2021 16:41:46
Last post: 02/02/2021 09:22:14
Avoid double discount and discountexternder question
Hi, I have a customer who have this setup: 1) Prices imported for dealers. When logged in they may have a price added via prices on a product where the price and customernumber fits 2) Discounts added for special campaigns via product discounts What ...
Jan Sangill
26/01/2021 10:00:27
Last post: 01/02/2021 12:52:07
Enabling WebAPI in 9.10.x
Hello, I'm trying to use the new headless WebAPI, but I'm not sure where to get started. The release notes (http://doc.dynamicweb.com/downloads/releases/release-notes/dw-9-10-release-notes) mention that it's self documenting at yourwebsite.com/dwapi/ ...
Scott Forsyth
30/01/2021 21:53:14
Last post: 31/01/2021 20:53:22
Render on ProductFieldTypeProvider has changed
I am upgrading an app to 9.10 and have an issue updating code that uses ProductFieldTypeProvider. In the previous version, the code looked as follows; protected override Control Render(string id, bool enabled, string value, bool hasError, List<Dyn ...
Imar Spaanjaars
28/01/2021 22:40:19
Last post: 29/01/2021 09:44:22
Finding IContext / IRequest
Hi there, Upgrading a site to 9.10, I am trying to replace this code: li.RetrievePDF(System.Web.HttpContext.Current.Response, System.Web.HttpContext.Current.Response); What are the new equivalents of this? The release notes say this is going to be an ...
Imar Spaanjaars
28/01/2021 21:21:15
Last post: 28/01/2021 22:34:36
Custom FieldTypeProvider
Hi guys, I am trying to optimize the way we allow the admin to document products and I am considering development of a custom FieldType. The problem I want to solve is to avoid defining unnecessary fields if they are not used in comparing or filterin ...
Adrian Ursu
26/01/2021 15:31:30
No replies yet
Code first Item tab example
Hey I am looking for an example for using an item tab in the code first approach. I found the following: https://doc.dynamicweb.com/api/html/770aa35e-0b4b-50ee-74b7-1a8b855939ba.htm https://doc.dynamicweb.com/forum/cms-standard-features/cms-standard- ...
Claus Kølbæk
07/12/2020 13:26:30
Last post: 21/01/2021 09:00:47
10
Subscribe
How to Debug Razor code in templates?
Hi DynamicWeb, Is there a way to Debug Razor code in templates? I tried to Attach to proccess (w3wp) but with no success (this was working for template extenders). Thanks, ...
Davor Zlotrg
11/07/2014 16:17:37
Last post: 15/01/2021 16:04:09
Secure WebAPI with OAuth
Are there examples on how to secure the WebApi with OAuth? Thinking of adding Okta to one api, in order to secure it, but then I need to do changed in Startup.cs. Can that be extended, or are there other solutions to this? https://developer.okta.com/ ...
Martin Grønbekk Moen
28/12/2020 01:31:55
Last post: 14/01/2021 23:24:52
Add orderline using API
Hi In the notification "BeforeRenderingNewStep" I need to add an orderline to the cart. The orderline must be with an existing product but the price of the product is variable and must therefore be set for the added orderline. I have tried a lot of d ...
Lars Larsen
12/01/2021 09:54:25
Last post: 13/01/2021 12:44:27
Extending ValidateOrder(settings As ModuleSettings, order As Order)
Hi Dynamicweb, We need to make some custom validation on the orders. Will it be possible to hook into the validation rutine in: ValidateOrder(settings As ModuleSettings, order As Order), so we can add our custom validations and errors to the list? Be ...
Anders Ebdrup
11/04/2019 17:51:41
Last post: 11/01/2021 18:56:39
16
Subscribe
Deploy changes to demo site
Hello. Can I deploy any custom changes to my demo site? I want to configure CD, and use my demo site like production page. ...
Pavlo Rishko
03/11/2020 16:57:50
Last post: 11/01/2021 15:41:07
Method AuthenticateRequestArgs.get_Application() not found with DW 9.9.6
Hello: I had a web page that use a custom WebApi by following the next post: https://doc.dynamicweb.com/forum/dynamicweb-9-0-upgrade-issues/dynamicweb-9-0-upgrade-issues/using-webapi-with-attribute-routing-in-dw-9 Before update DW to 9.9.6 all works ...
Jose Caudevilla
04/01/2021 16:21:03
Last post: 05/01/2021 09:30:41
Check if inside DW context?
Hi, I'm sharing some of my code between DW and non-DW projects. Is there a proper way to check programmatically if I am inside a DW context? Everything I've tried to use in the Dynamicweb libraries throws null references. I know I could put up try-ca ...
Kasper Laursen
04/01/2021 10:22:22
Last post: 04/01/2021 13:12:47
Bug in new user registration when cart has items
i am getting bug on new user register when items in the cart. at Dynamicweb.Ecommerce.Cart.CartSession.Add(String key, Object value) at Dynamicweb.Ecommerce.Common.Context.SetCart(Order cart, User user, OrderContext orderContext) at Dynamicweb.Ecomme ...
Shiwanka Chathuranga
21/12/2020 17:33:33
Last post: 23/12/2020 11:11:25
14
Subscribe