Developer forum
Subject
Replies
Started by
Last reply
In cshtml, list all subpages based if they are published or not
Hi I'm using version 8.6.1.30 In my project I'm listing all subpages of a page in cshtml with a foreach loop using var reports = Pageview.Page.Children; @foreach (var report in reports) Using this method the foreach loop list all the pages published ...
Andreas Hunderi
15/08/2017 08:28:50
Last post: 15/08/2017 09:56:25
Custom URL Provider
Hi, i am messing around with making a custom URL provider. I have read the PDF about making custom url providers and have made this so far: [AddInName("Image Alias Redirect"), AddInDescription("alias to image name redirect mapper"), AddInActive(true) ...
Anders Ditlevsen
10/08/2017 11:18:30
Last post: 10/08/2017 12:41:04
Get all orders by API, including impersonated
Hi, I need to get a collection of all orders, completed within a certain period of time, by the customer himself or by impersonation. If I use the CustomerOrderCollection, loading it with the customers ID, I will not get the ones completed by imperso ...
Kurt Moskjær Andersen
03/08/2017 11:43:45
Last post: 03/08/2017 13:05:10
BeforeQuery subscriber
Hi, I am looking for a subscriber triggereing before a query when using a query publisher in DW9. So far I have found one for ecommerce: [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Querying.BeforeQue ...
Mikkel Ulstrup
01/08/2017 14:08:40
Last post: 03/08/2017 01:06:09
Notification before product added to cart
Hi, On my ecommerce-solution, a customer is not allowed to order more than a specific quantity of a product, over time. In order to achive this, I've added a custom product field, which holds the maximum quantity allowed for each product. I already c ...
Kurt Moskjær Andersen
02/08/2017 08:48:08
Last post: 02/08/2017 13:49:26
CheckoutDone being run twice per order
Hello. I have a scenario where i have a NotificationSubscriber: Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.CheckoutDone, which is being run twice, whenever i complete the checkout. I am using a DW9 Wrap, where i have added the above described ...
Anders Ditlevsen
01/08/2017 12:13:05
Last post: 01/08/2017 12:52:11
PriceProvider infinite loop
Hello, I'm trying to implement a simple custom price provider (users have a fixed discount percentage on top of the regular price, including other discounts). I tried the example here : http://doc.dynamicweb.com/training-certification/t3-platform-dev ...
Gaëtan Di Caro
26/07/2017 09:12:55
Last post: 31/07/2017 10:39:21
DW9: Creating user in checkout with billing information. Is it possible?
Hi, DW version: 9.2.16 I want to save customer information in checkout without creating login. Is it possible to create a user in the Information step i checkout with the information from the form? Or do I have to make separate fields for this? I hav ...
Marie Louise Veigert
25/07/2017 11:56:50
Last post: 27/07/2017 11:40:57
External Authentication in DW9
Hi Dynamicweb, We have upgraded a solution to 9.2 from 8.9, but after the upgrade users are not added user management groups. In ExternalLogin.aspx.vb something seems to be missing: Private Sub AddUserToUserManagementGroup(ByVal provider As Provider, ...
Anders Ebdrup
12/07/2017 09:08:27
Last post: 12/07/2017 10:03:52
NavigationProvider: Can you add nodes as childnodes to an ecom node?
Hi DW, I'm using DW 9.2.16 I'm using the Navigation Provider to add nodes based on items. I would like to display those in a megamenu under a given parent node. Ex 'Men'. I can easily add it at the buttom of the XML, but I need it in the wrap of the ...
Marie Louise Veigert
06/07/2017 16:15:05
Last post: 07/07/2017 13:55:59
Clearing the cache
Hi guys, We have a multi-server setup using DFS which currently runs on DW 8. We're migrating it to DW 9. The 9.2 version that's available now doesn't have a good solution for clearing remote caches so Nicolai suggested to build my own for the time b ...
Imar Spaanjaars
06/07/2017 11:12:21
Last post: 06/07/2017 15:00:19
Guidance on unit testing
Hi guys, We're trying to set up some unit tests to test some custom code using the Dynamicweb API but hit a few roadblocks. For example, something like this will crash: var order = new Order(); because the order instantiates a new PriceIInfo which tr ...
Imar Spaanjaars
05/07/2017 22:25:17
Last post: 06/07/2017 11:05:45
Password encryption
Guys, How do I completely turn off password encryption? First let me explain why on earth I need it to be turned off, because requlary this is to be a bad idea. In an existing project we don't use the DW login but a custom AD verification of the user ...
Ben Doorn
04/07/2017 14:12:56
Last post: 06/07/2017 08:14:51
FilesAndFolders.MakeFolder seems to rid folder of permissions
Hi, We have some customscript taking advantage of the "FilesAndFolders.MakeFolder" method in a scheduled task. Is there any way within the "FilesAndFolders" class to check wether or not the actual folder exists, before trying to use the "MakeFolder" ...
Jonas Mersholm
04/07/2017 09:29:58
Last post: 05/07/2017 14:55:10
Forgot password email is not beying sent
Hi Guys, I am having trouble with sending email with Forgotten password. It feels like it's not beying sent. What I tried so far: Check SMTP settings, IP adress and ports etc... - check Check SSL - check Check Pickup dirrectory - check Spam filter - ...
Dimitrij Jazel
05/07/2017 13:25:21
No replies yet
Manipulate Order object total in Cart.CheckoutDone subscriber
Hi guys, THis is URGENT, Appreciate your understanding! I need to be able to add a custom discount orderLine to OrderObject. I must do that After order is complete. Why you might ask? My collegue already tried changing Cart object in the OnOrderLineA ...
Dimitrij Jazel
01/07/2017 21:07:26
Last post: 04/07/2017 15:38:41
Is unit test performed, in core Dynamicweb functionality
Hi Dynamicweb, A question from a customer: Is unit testing performed, during the development of Dynamicweb? ...
Jacob Bertelsen
30/06/2017 13:13:57
Last post: 03/07/2017 08:48:59
Custom Addin for product edit
I’ve created a custom add-in for the product edit that take some actions in the database. But I’m having an issue with the server side click method only be called after the second time the user click on the button. The button has a simple confirm in ...
Rui Silva
26/06/2017 13:26:16
Last post: 29/06/2017 12:03:29
Users sorting in group
Hi there, I've seen in the backend that i can sort users in groups, how do i implement this in the API (C#)? Lets imagine i have a UserMangement.Group, with some UserManagement.User objects, how do i sort these in the group? Best, Jonas ...
Jonas Mersholm
26/06/2017 15:02:12
Last post: 28/06/2017 16:15:37
Override order confirmation email recipient?
Hi Guys, In cart module, you can set a list of recepients https://www.screencast.com/t/FSVlh4JyBOg When Order is complete, the recepients gets OrderConfirmation email. But what if you need this recepient field to be dynamic, depending on certain cond ...
Dimitrij Jazel
12/06/2017 14:33:12
Last post: 13/06/2017 12:02:46