Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
DW 8 API: Is it possible to get items with SQL?
Hi DW, I'm developing a ItemTemplateExtender, where I need some items. I've tried to get the item with 'Paragraph.GetParagraphsByPageID' followed by 'ItemManager.Storage.GetByParagraphId' which work in a normal .cs, called from a eCom product templat ...
Marie Louise Veigert
26/04/2017 10:46:09
Last post: 26/04/2017 14:17:02
Importing empty values through the Data Integration Module
Hi, How do I import empty values through the Data Integration Module. Currently when my source provider delivers an empty string value. after the import run the current data in the destination (itemtype provider) will remain, instead of being cleared ...
Ben Doorn
18/04/2017 11:26:00
Last post: 10/11/2017 13:01:39
Product Catalog (eCom) - Product List: Delivering different datasets to
Hi everybody! I have a problem with a NotificationSubscriber, that subscribes to Dynamicweb.Notifications.eCommerce.ProductList.BeforeSort and removes som products from an instance of Dynamicweb.Extensibility.NotificationArgs that is delivered to OnN ...
Michael Antonsen
06/04/2017 11:53:44
Last post: 19/04/2017 15:52:17
Validate Stock before order complete
I need to validate the stock amount of the products in the cart using a call to the ERP just before the cart is going to be submitted to the payment provider and has been upgraded to order. The OrderIsPassedToCheckoutHandler notification cannot be th ...
Rui Silva
04/04/2017 15:24:05
Last post: 19/03/2018 11:09:40
Issue with RibbonBarAddIns and a base class
Hi there, I have an integration project that has multiple RibbonBarAddIns to allow users to download XML for an order, resubmit an order to the ERP, download an XML representation of a user and more. In order to get some reusability, I created a base ...
Imar Spaanjaars
27/03/2017 22:55:19
Last post: 25/09/2017 19:44:42
Product details page returns http404 when clicked on a product in the Product list
Hi guys, I think I am not the one who gets this error ocasionally? Would like to know if anyone has any idea on why this might be happening. Would be great to know what can be done to prevent this from happening. Application: 8.8.1.6 /Dmitrij ...
Dimitrij Jazel
22/03/2017 14:22:29
Last post: 23/03/2017 09:48:07
Validating items/paragraphs editors
Hi, I have two questions: 1) In DW9, is it possible to custom validate all items/paragraph fields of the type editor. If criterias not met, then return to page with error message and without losing the text already entered? If so, which should be use ...
Jan Sangill
20/03/2017 09:43:28
Last post: 20/04/2017 14:16:59
Randomize related products
Is it possible to somehow randomize related products? I guess I'll have to extract the related products out into a new List which I then add some custom randomization code to but I do not know what type of object a RelatedProduct is? The below co ...
Christian Hansen Nørgaard
17/03/2017 12:23:19
Last post: 17/03/2017 12:48:17
AddInParameterDescription for scheduled task parameters
Hi there, Is there a way to provide a help text with add in parameters for things like scheduled tasks? I often have the need to provide some help / context for a parameter but can't find out how other than providing a long name (see attached). I am  ...
Imar Spaanjaars
17/03/2017 11:38:10
Last post: 10/05/2017 22:31:48
When are table scripts instantiated
Hi there, When are table scripts instantiated? Once per application life time or once per job run? I have a TableScript that needs to compare incoming users to existing users. I want to load the existing users just once, and not N+1 for every row imp ...
Imar Spaanjaars
02/03/2017 11:46:52
Last post: 03/03/2017 14:18:32
Issue with GetInternalPageID
Hi Dynamicweb, Were are using this function: ReplaceQueryString() to replace the current "ID" of the query string, and afterwards we need to use this function to get the right SEO-friendly url: SearchEngineFriendlyURLs.GetFriendlyUrl(), but then our  ...
Anders Ebdrup
28/02/2017 18:29:52
Last post: 09/03/2017 21:17:41
Poor performance.
Hi! Im trying to find why pages load slow on a site and using ?debug=true in browser reveals that its the "Rendering product " step that takes long. It takes even longer when a user is logged in. Any tips on what to do to resolve this issue? Is it po ...
David Lofqvist
23/02/2017 10:32:40
Last post: 23/02/2017 11:21:06