Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
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
product.GetCategoryValue throws NullReference in 8.7
Hi, When I inside product list template extender or product template extender try to get product category values with fx product.GetCategoryValue("<product category>", "<field name>"); it throws me a NullReference error of this kind: Syst ...
Kevin Steffer
18/11/2015 15:00:30
Last post: 09/05/2017 12:26:09
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
Anyone has any experience with search services such as Algolia or Searchly?
We are looking at the posibilities for implementing complex search functions with a large dataset, and have come across services such as Algolia and Searchly. Anyone has any experince in using such services? Br Hans ...
Hans Ravnsfjall
03/05/2017 13:47:21
No replies yet
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
Code first item: how to control indexing?
Hi, How can i control indexing of a field in a code first itemtype. I have some fields in my item type that should not be indexed. In the interface there is a property you can set on a field to indicate it should be searchable. However I cannot find  ...
Ben Doorn
20/02/2017 11:52:35
Last post: 28/04/2017 08:52:56
Change VAT when changing country
Hi DW. Is there a way to change to VAT in the basket/checkout when changing the Ecom Customer Country? I've got multiple countries with different VAT's and I found a way to update the Ecom Customer Country but the VAT is still the same. I noticed it  ...
Christian Hansen Nørgaard
26/04/2017 17:15:08
Last post: 27/04/2017 13:06:03
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
No valid SMTP host found. Please specify a valid SMTP host in Control Panel
Hi guys, I am getting this error here: https://www.screencast.com/t/o8LKl0ZSkT It is pretty obvious what is the issue - SMTP settings. But the problem is that they are correct. + on the same IIS server, thre is another same copy application, that use ...
Dimitrij Jazel
21/04/2017 17:01:12
Last post: 24/04/2017 08:44:52
Custom sorting of productlist
I am trying to create a custom sorting of productlist using Index that have pagination. When i try to use BeforeSortObserver, BeforePagingObserver or BeforeRenderObserver i only get the 15 products that is shown on each individual page. Is there a wa ...
Emil Ryberg
21/04/2017 12:44:00
Last post: 21/04/2017 14:41:13
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
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
Single Sign-On
A costumer has asked ud to find out if DW supports SSO (Single Sign-on). The request from the costumer: "If you want to do SSO between different companies, there are some other technologies you need. SAML 2.0 is the standard typically talked about, o ...
04/03/2011 13:17:48
Last post: 04/04/2017 16:21:41
OptionItem in Code First
Hi, I have an News Item where one field is a Dropdown with values from an another Item. The dropdown field in News Item: [Name("Kategori")] [Field("NewsCategory", typeof(DropDownListEditor<NewsCategory>))] [OptionItem("NewsCategory", "Name", "I ...
Aki Ruuskanen
26/01/2017 15:42:03
Last post: 27/03/2017 09:15:03
Cart looks empty on back button click
Hiya. Does anyone have a solution to the cart looking empty when you click the browsers back button? I've already checked "Keep cart in context after checkout step" but this did'nt help. Solution is running 8.8.1.23. ...
Christian Hansen Nørgaard
24/03/2017 11:36:19
Last post: 24/03/2017 14:17:01
Loop itemrelationslist in itempublisher
Hi DW. Is it not possible to loop an itemrelationslist inside an itempublisher? When I loop my itempublisher I can get the fields directly from the item (like the Field.Id) but the looping of the itemrelationslist returns an exception "Object re ...
Christian Hansen Nørgaard
14/03/2017 13:16:12
Last post: 23/03/2017 12:05:30
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
Indexbuilder null object reference on getPageById
Hi Dynamicweb, We've got an IndexBuilder where we want to get the Page by the PageID. However the method 'GetPageById' returns a null object reference when we pass an existing pageID in the method. Here's our error: Object reference not set to an ins ...
Justin Breg
10/03/2017 17:31:59
Last post: 20/03/2017 14:55:25
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