Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
'Inline Critical CSS' results in Razor error
Hi, We're developing towords optimizing pageload on all solutions with 'Inline Critical CSS' But we are having problems with the razor engine, which is used in Dynamicweb. We have to include some files in the <head></head> in the master.c ...
Marie Louise Veigert
26/03/2018 09:19:39
Last post: 27/03/2018 15:30:14
Find ItemTypes value for a specific Area
Hi guys, I am making my debut in working with Code First ItemTypes. One of my cases requires that I create an ItemType relation list (Inline) that will add some values in the database. Separately, I need to be able to use those values in another Drop ...
Adrian Ursu
02/03/2018 16:32:59
Last post: 23/03/2018 13:01:34
Ensure unique values in a field on code-first ItemTypes
Hi guys, I was wondering if there is any way of making sure a field of the item type will have unique values when submitted. I have a field that I am using for uniquely identifying a page and it would be very useful to make sure the user cannot fill  ...
Adrian Ursu
22/03/2018 15:32:52
Last post: 23/03/2018 09:36:22
ItemPublisher with Product(s) in razor
Hello, I have made an Itemtype consisting of the following field types: product, dropdownlist and file. But I can't get it working in my razor template. The code i'm using is: @using Dynamicweb.Content.Items; @using System.Web; @{ var request = HttpC ...
Harald Brouwers
03/02/2017 09:32:43
Last post: 23/03/2018 08:48:49
CodeFirst ItemTypes use a combination of fields for display
Hi guys, I was wondering if there is a way to use a combination of fields for display in a Checkbox list. I have a checkbox list that is built based on the list of ItemTypes available for an area and from what I understand, I can only choose a field  ...
Adrian Ursu
08/03/2018 11:33:04
Last post: 22/03/2018 16:47:40
Products in Orderflow (cart)
I'm building an orderflow where step 1 is choosing your product, step 2 is choosing accessories (dependent on the chosen product) and step 3 is additional information, step 4 is confirmation. What is the best way to achieve this? I found that i need  ...
David Alexandersson
21/03/2018 16:43:19
No replies yet
Productlist NotificationSubscriber
Hi, I trying to create a NotificationSubscriber in DW9 to manipulate the productlist before its sent to frontend. I have tried the BeforeRender, BeforeSort and BeforePaging. None of these gives me the whole productcollection. They only give me the cu ...
Aki Ruuskanen
20/03/2018 11:36:08
Last post: 20/03/2018 12:02:10
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
Order Field Checkbox - Doesn't uncheck
Imar has been working on a project for Boxx, and one of the requirements is that the user can check whether they're international or not, and whether they want to display the discount on their quotes. We have Order Fields, which are check boxes, and  ...
Charles Johnson
15/03/2018 21:50:14
Last post: 16/03/2018 19:00:05
Filter multiple values ​​in one product field in the productlist
Hi Forum The customer wishes to be able to have more values ​​in one product field, while filtering the individual values. Is it possible and can you enter the values ​​in a particular way in the field, so the filter approves them as separate values  ...
Jacob Søndergaard
15/03/2018 21:58:05
Last post: 16/03/2018 10:32:15
Order of parameters in configurable add-in with base class
Hi there, I have a configurable add-in with a few parameters that serves as a base class. The parameters have AddInParameterOrder attributes with a value from 1 to 5 I then have a few concrete classes that inherit this base class. I applied AddInPara ...
Imar Spaanjaars
13/03/2018 21:01:07
Last post: 14/03/2018 22:17:20
Issue with product fields
Hello, I'm having an issue with the Ecom:Product:Field.[TagName] in a project we're working on. I checked the documentation for this and tried the following on PromotionProducts.cshtml page: var kampanj= Model.Item.GetBoolean("Ecom:Product:Field.Kamp ...
Bo Leanderson
09/03/2018 09:12:49
Last post: 13/03/2018 13:31:56
Eddit an order in the backoffice
I'm having some issues with edditing an order in the backoffice: 1 - When i try to add a product to an order in the backoffice i get this error message, "Edited orders total price must not be higher than original total price." This also happens when  ...
Cátia Torego
12/03/2018 15:27:15
Last post: 13/03/2018 11:57:07
Get Items by Page ID
Hi guys, Is there an easy way to get all Items of a specific type based on the PageID? I need to get all items of some paragraphs that are set on a page. Something like GetItemsByPageID(int PageId, string ItemSystemName). Or some other way to get all ...
Adrian Ursu
06/03/2018 12:02:41
Last post: 08/03/2018 10:56:15
Extending Admin
Hi, Is there any documentation for extending the admin with custom sections or nodes in "Settings". Regards / Aki ...
Aki Ruuskanen
07/03/2018 10:44:26
Last post: 07/03/2018 11:04:08
Impersonate by api
Hello, We are working on an app which are using the api of Dynamicweb and this app needs to use the impersonation logic. But how can we set the secondary user by the api? Can this method be used if it is not a "friend": Friend Sub LogOn(username As S ...
Anders Ebdrup
05/03/2018 21:14:42
Last post: 06/03/2018 09:28:40
Finding all indexes
Hi there, For a custom load balancing index updater I need to find all available indexes and their builds (full disclosure, we're using DFS which synchronizes files rather than share them; this means we need to exclude the index files which in turn m ...
Imar Spaanjaars
27/02/2018 19:04:10
Last post: 01/03/2018 20:54:10
Problem with Product.DefaultGroup when having multiple shops
Hi Dynamicweb, We see an issue with Product.DefaultGroup, when we are having multiple shops where a product is in multiple groups. Then it just takes the first related group without taking this into account: Me.PageView.Area.Value("AreaEcomShopID").  ...
Anders Ebdrup
17/02/2018 11:14:18
Last post: 27/02/2018 14:13:00
Obsolete warnings on 9.4
Hi there, I am in the process of upgrading a site to 9.4. I am getting lots of warnings on stuff being obsolete, such as Order.GetOrder and so on. The hint is recommending to use the services in Dynamicweb.Ecommerce.Services. However, many of those a ...
Imar Spaanjaars
19/02/2018 20:04:37
Last post: 26/02/2018 11:06:57
Failed on "Repositories > Files > Files.index"
Any clue how can I find out what the problem is? ...
Juan Sierra
23/02/2018 18:34:49
Last post: 23/02/2018 18:46:32