Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
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
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
Delete extranet user in code fails due to permissions in eCommerce
Hi, upgrading an old site from to 8.9.x.x i have an issue in a user syncronization method, where a user is supposed to be deleted if conditions are met: UserCollection usersInGroup = User.GetUsersByGroupID(groupId); foreach (User user in usersInGroup ...
Steen Nørgaard Perdersen
22/05/2017 15:32:21
Last post: 24/05/2017 16:22:04
Sitemap.xml add custom code?
Is it possible to add code or somehow programatically change the output from the sitemap.xml that DynamicWeb generates? ...
Emil Ryberg
18/05/2017 13:07:18
Last post: 18/05/2017 13:22:15
How to get item loops from website in checkout
Hi DW. I want to show my customers the specific credit cards that we accept in our shop so I made an item relation list to add to my website. Unfortunately it doesn't seem to work when I try to retrieve it when I am using below code in my checkout fl ...
Christian Hansen Nørgaard
08/05/2017 15:35:47
Last post: 10/05/2017 09:01:34
Linq query for page-item not working before App-pool restart
Hi there, I'm currently testing a script meant to fetch some pages based on a mix of general page-class properties, and page-item values. The query works fine, but if a pageitem value is updated, it is not registered before an app-pool recycle has be ...
Jonas Mersholm
08/05/2017 15:09:29
Last post: 10/05/2017 16:08:33
Best practice apporach catching ajax calls
Hi, What is the most optimal way of catching an ajax call from frontend. 1) Create a cshtml file and add it in /Admin/public? Do your logic in this 2) Create a subscriber , like Standard.Application.AfterBeginRequest and catch the URL and do your log ...
Jan Sangill
04/05/2017 13:39:51
Last post: 09/05/2017 11:01:06
GeneralLog - DW9. Is that not used anymore?
Hi, In Dw8 ther eis a table called generallog that is being populatated. Is that not the case in DW9? Or? ...
Jan Sangill
04/05/2017 09:10:17
Last post: 09/05/2017 13:27:46
changing Lucene.Net.Search.SimpleFacetedSearch.MAX_FACETS has no effect ?
Hi I would like to configure a facet for an indexed field with more than 2048 distinct values. I tried overriding the SimpleFacetedSearch.MAX_FACETS value but i still cant create the facet without getting the errormessage: "Facets cannot have more th ...
Martin Jensen
03/05/2017 13:25:02
Last post: 22/05/2017 11:31:24
Product custom AddIn - save product
Hi all, I'm creating a custom product add-in (for the product detail/edition) that will need to save/check if the current product is saved in the database. I need to take some database actions based on the product that is being edited and must be sur ...
Rui Silva
02/05/2017 12:47:13
Last post: 02/05/2017 15:43:31