Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Adding items to an itemRelationList through API
Hi, I am greating a piece of code to replace some itemlists of one type with a new type. The itemlists gets created allright, but i struggle to fill anything in them. Heres my code: Paragraph paraNew = new Paragraph(paraOld.PageID); paraNew.Header =  ...
Steen Nørgaard Perdersen
23/09/2021 13:34:35
Last post: 24/09/2021 09:10:27
Service to fetch FriendlyUrl
Hi, Is there a service to fetch the value here based on the AreaID: Dynamicweb.Content.Area has the property UrlName but not the friendly url. I also tried to use SearchEngineFriendlyURLs.GetFriendlyUrl with the area id (AreaId=Id), but it only seems ...
Vincent Gercke
23/09/2021 11:26:40
Last post: 24/09/2021 08:22:48
ManufacturerIDValueMapper null reference
Yo, I noticed a thing that happens when the ProductManufacturerId column in EcomProducts is a whitespace (or has a whitespace) in it. Manufacturer.GetManufacturerById() returns null (because of the whitespace) so the code inside ManufacturerIDValueMa ...
Arnór Halldórsson
08/09/2021 13:46:48
Last post: 22/09/2021 14:37:12
Identify level of group in notification
Hi guys, I have to build some logic based on a notification when saving a ProductGroup. I am using Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.AfterSave The problem I have is that I need to do different things depending on the Level of the Gro ...
Adrian Ursu
24/08/2021 12:48:08
Last post: 22/09/2021 09:03:59
Get ProductCategory definition using API
Hi guys, I have a development where I need to render in the front-end the configuration of the ProductCategory attached to a product. And by this, I mean that I want to list all fields attached to the ProductCategory and their options just like you w ...
Adrian Ursu
16/09/2021 13:12:44
No replies yet
The website you are trying to enter has probably been locked by the administrator.
Greetings, We are having some problems with our solution, my colleague set upp solution that was working fine for him. He could login to the admin with no problem. But when i cloned the git repo and setup the soluton i keep on getting the error shown ...
Anton Marinó Stefánsson
25/06/2019 17:55:50
Last post: 16/09/2021 10:25:52
Ability to generate the Export File programatically based on a FieldDisplayGroup
Hi guys, I need to create an import module where I have to output the Export file based on a FieldDisplayGroup. I need to do this because I have a lot of fields and the users cannot add them manually every time they export something. Is there a way t ...
Adrian Ursu
15/09/2021 14:24:50
No replies yet
Get current Query parameters and default values in Code Provider
Hi, I am building a code provider and I need to check what a specific parameter (default) value is set for. How can I do that? Here's some pseudo codeof what I'm trying to achieve public override string BuildCodeString() { if (string.IsNullOr ...
Nuno Aguiar
31/08/2021 19:24:09
Last post: 10/09/2021 14:57:10
Get all products from service regardless of GlobalSettings
Hi DW Is there any way to get all products in the database using the product service from Dynamicweb.Ecommerce DLL. I have checked it and it seems that all versions of GetAllProducts will in the end reach a method in the repository that would filter  ...
Chris Søgaard
09/09/2021 17:26:56
Last post: 10/09/2021 09:48:24
Clear cache for all orders
Hi, The method Dynamicweb.Ecommerce.Services.Orders.ClearCache() clears cache based on the alternative key caches (AutoId and Secret). This helps if we get orders by AutoId, but not if we get them by OrderId, which is the most common for us. How can  ...
Mario Santos
12/07/2021 11:20:03
Last post: 09/09/2021 14:54:53
Product Group Sorting
Hi DW Team, We are using the DynamimWeb version 9.10.10 and We have an issue with Product Group Sorting: The image below shows how the product Groups are ordered inside the "Turf" shop: However, as shown in the image below when we use the P ...
Steve Knutson
24/08/2021 05:20:23
Last post: 09/09/2021 10:26:29
Items - Code first IList property
I'm having some problems with custom items that has properties of type IList. The items work fine on create, view, update, delete... but I get an exception when I try to copy a page containing an item with IList properties. The two properties on the  ...
Morten Bengtson
25/03/2013 10:11:11
Last post: 09/09/2021 09:07:09
back in stock notifications email bug?
Hi we configured the backinstock notifications for a customer following: https://doc.dynamicweb.com/documentation-9/marketing/other/back-in-stock-notifications In our template we use: {{EmailMarketing:Email.ContentLink.Clean}} So the customer can che ...
Brian Bolks
02/09/2021 11:24:34
Last post: 07/09/2021 01:20:54
New discount type with DiscountExtender
Hey, I have a customer that wants custom discounts - specifically, thet want "buy 60 get 10" where both the "buy" amount and the "discount" amount is configurable. As far as I can tell, DiscountExtenders can only be used to determine if a discount ap ...
Jonas Krarup Dam
15/04/2021 13:11:35
Last post: 06/09/2021 07:29:56
Custom Ribbon Add-In and Permission matrix
Hi guys, Is it possible to add a custom Ribbon Add-in to the list of elements in the Permissions matrix? I mean here: Thank you, Adrian ...
Adrian Ursu
03/09/2021 17:13:37
No replies yet
setting the currency and price of products, based on where the visitor comes from and/or redirecting trafik based on IP
Hi We are building an eCom solution, where the products have different prices in different countries/markets. What we want to achieve, is for visitors to land on the relevant pages, based on where they come from. So If you are visiting the page from  ...
Hans Ravnsfjall
16/08/2021 15:49:06
Last post: 03/09/2021 12:20:13
Include User Custom Field Data in Email Receipt from Forms for Editors
Hi, Looking for some help on how I might include User Field and User Custom Field data values in the email receipt sent when a visitor submits a Forms for Editors form. When the Visitor or User (not logged in to the frontend) fills out and submits th ...
Tim Eddings
31/08/2021 16:12:58
Last post: 31/08/2021 22:11:50
Display alert or error from Notification Subscriber
Hi guys, I am using a notification to control the validation of the EAN field. The notification is Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.BeforeSave. My purpose is to check if the value entered is a valid EAN-13 value and if it's no ...
Adrian Ursu
11/08/2021 09:58:43
Last post: 31/08/2021 15:22:15
Date ProductCategoryFields return different values in code, if a product has been saved.
Hi, We've run into a scenario that seems inconsistent. steps: * Create some products (either backend or via import) * Create a product category with a date or datetime field * access the new productCategoryField using the API - this returns NULL. ...
Jonas Krarup Dam
26/08/2021 10:20:24
No replies yet
Webapi: Country in PriceProvider
Hi, When a PriceProvider is called on a request to GET ​/dwapi​/ecommerce​/carts​/{secret}, Context.Country is always set to United Arab Emirates. Would it be possible to have the country set to the country of the cart/order? We're currently gett ...
Tor Leeberg
23/08/2021 15:15:52
No replies yet