Developer forum
Subject
Replies
Started by
Last reply
Ecommerce before line is added to cart observer
Hello, We would like to check the contents of a cart, before a new product is added. Is there an observer available wich triggers before a product/line is added to an existing cart? We are running DW 9.3.1. Greetings Harald ...
Harald Brouwers
08/09/2017 15:31:42
Last post: 09/09/2017 07:19:46
NavigationProvider: Add child as first childnode?
Hi Dynamciweb, DW version: 9.2.17 I'm using the NavigationProvider to add childnodes to my Navigation XML. It's a megamenu. Ex: I have a group 'Men' with childs like 'Jackets' and 'Pants'. Men Jackets Pants I would like to have a node here: Men All P ...
Marie Louise Veigert
05/09/2017 12:55:07
Last post: 05/09/2017 15:52:20
MVC : duplicate routes
Hello, I'm trying to add an MVC controller to my solution. I've created a folder called a folder called "controller" where I've put my controller, the default class "RouteConfig" which is there when you create a default mvc application, and edited my ...
Gaëtan Di Caro
05/09/2017 07:30:08
Last post: 11/09/2017 10:45:57
Cohabit MVC in multiple websites
Hi guys, We have an customer with a lot of custom modules and websites inside a old 8.6.0.4 DW version. Can we use MVC to create a new logic for other websites without compromise the older ones? Which approach do you think that it's the best? BR, Ant ...
António Ramos
29/08/2017 18:04:42
Last post: 18/09/2017 11:50:45
11
Subscribe
Get product category field values for product in C#
Hi, Is there any way (in DW9) to get values of product category fields for a given product in C#? I've got a Dynamicweb.Ecommerce.Products.Product object, but can't figure out how to get the values entered in the fields for the category the product b ...
René Poulsen
24/08/2017 15:38:23
Last post: 06/11/2018 10:24:01
DW8 ItemPublisher And Creator
Hi On a solution we have setup 2 pages that links to each other, one with an item creator, that creates item onto an itemlist on the page. And one the lists them all out. Standatd templates are being used, and you are able to create items on one page ...
Anders Ditlevsen
24/08/2017 14:36:28
Last post: 30/08/2017 13:21:36
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
Viewstate is saved to Globalsettings
Hello dw, When editing values in management center for e.g. this page "Admin/Module/UserManagement_cpl.aspx", then values for "__VIEWSTATE" and "__VIEWSTATEGENERATOR" is added to GlobalSettings.aspx each time. Will it be possible to remove these valu ...
Anders Ebdrup
09/08/2017 10:22:59
Last post: 20/09/2017 15:25:13
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
User.GetCurrentUser() not working in 9.2.16
Hi Dynamicweb, After upgrading to 9.2.16 the function User.GetCurrentUser() is not working as intended anymore as this will only return a Backend user. Please see the change here: https://www.screencast.com/t/RBFeAXNW4U Is this an intended change and ...
Anders Ebdrup
12/07/2017 14:58:59
Last post: 18/08/2017 17:32:34
11
Subscribe
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
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
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
Term facets
Hi Dynamicweb, I have a problem using term facets as the query eliminates results from the same facet, so if I have "red", "yellow" and "blue" as term facets and selects "red", then "blue" and "yellow" are gone. I think the problem is somehow related ...
Anders Ebdrup
15/06/2017 15:18:39
Last post: 02/10/2017 22:56:59
19
Subscribe
Checking if a orderExtender is run when rendering order confirmation mail
Hi I have an orderExtender that makes some custom tags and custom loops. To prevent it from running too many times on for instance the Cart, i've made sure that runs only once per Request. However when i want these tags to be used in the order confir ...
Anders Ditlevsen
30/05/2017 15:07:18
Last post: 07/06/2017 13:17:18
System.IO.FileNotFoundException: Could not find file 'C:\Windows\TEMP\[xyz].dll'
Hi Guys, Yet another strange error. Just popped out on one of our test sites. https://www.screencast.com/t/y5Zz5J4Y Every time you refresh the page, it tries accessing another new random name .dll file. Things we tried: Restarting app pool. IIS reset ...
Dimitrij Jazel
23/05/2017 14:46:45
Last post: 24/05/2017 10:59:03
Templates for VS 2017
Hi there, I noticed that on this page: http://doc.dynamicweb.com/releases-and-downloads/downloads new Visual Studio templates for DW 9 are available. I downloaded them, but I cannot get them installed on VS 2017 (I have the Pro and Community edition ...
Imar Spaanjaars
23/05/2017 13:17:20
Last post: 12/09/2017 09:57:50