Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Relative product bidirectional reference?
Hi everyone, Today customer asked me, if I could ease a process of managing related products. For example: I have 3 relation groups (Color Size and Material) Than, users goes to product details, and pressed "Related products" button, he chooses the g ...
Dmitrij Jazel
19/08/2014 16:06:09
Last post: 20/08/2014 09:22:55
Razor: try-catch in IE
Hi. I've experienced a problem. When I try to execute this piece of code via Razor where 1234 is ID of the defunct page, my IE browser crashes: ​try { var key = "UK"; var value = SearchEngineFriendlyURLs.GetFriendlyUrl(1234); pages.Add(key,value); }  ...
Denys Ubizskyy
15/08/2014 13:29:08
Last post: 18/08/2014 10:28:01
Event Subscription Custom Module
Hi Im currently working on a Event Subscription module, but i have encountered some problems and after trying for hours and searching the forum i haven't got it to work properly. 1. Problem In the _edit.aspx i want to have something similar to the Ne ...
Kevin Krämer
08/08/2014 15:35:12
Last post: 18/08/2014 16:02:36
Shopping cart becomes empty after new user created
Hello DW guys, After you create new user - Shopping cart becomes empty. Is there any way to persist the content of the shopping cart to that new user? User gets logged in right after creation, and his cart is empty. Any suggestions? Dmitrij ...
Dmitrij Jazel
06/08/2014 14:47:54
Last post: 07/08/2014 10:11:45
Update Item with Notificationsubscriber
Hi. I would like to update a field on a item, when the item is being saved. Im using the Saving Notification Subscriber, and i can access the ID and Sort. My problem is, that i dont know how to access the data fields in the item. I can see them in th ...
Per Jensen
06/08/2014 12:14:52
Last post: 11/05/2017 13:31:35
Ecom based navigation items not in rootNode?
Hi, when I look in NavigationProvider -> ProcessTree and the rootNode object, I don't see any items from my Ecom based navigation? but only the items from the page based structure in dw. Does anyone knows why? My goal is to alter the ecom groups p ...
Kim Søjborg Pedersen
01/08/2014 12:16:56
Last post: 08/08/2014 16:18:32
Custom Subscriber removes Discounts after updating to 8.4.1.8
Hi DW, We have this code running on a site to set VAT to 0% if a specific country in EU is selected, and a VAT/EAN number is supplied. [Dynamicweb.Extensibility.Subscribe( Dynamicweb.Notifications.eCommerce.Cart.BeforeRenderingNewStep )] public class ...
Martin Nielsen
23/07/2014 14:14:50
Last post: 24/07/2014 14:50:58
'Expression must evaluate to a node-set' error after updating
Hi DW, I just updated a custom solution to Application(8.4.0.21) from 8.4.0.7, and now i get this error: Server Error in '/' Application. Expression must evaluate to a node-set. Description: An unhandled exception occurred during the execution of the ...
Martin Nielsen
21/07/2014 13:42:37
Last post: 21/07/2014 15:22:16
Only cart v2 uses this log system.
Hello. I am logging events in a Checkout Handler, and when I try to look at the messages for the cases when there are errors it showns none, it only shows a message that says "There are no entries. Only cart v2 uses this log system.". The messages do ...
Marco Santos
17/07/2014 19:41:51
Last post: 08/08/2014 15:37:29
How to Debug Razor code in templates?
Hi DynamicWeb, Is there a way to Debug Razor code in templates? I tried to Attach to proccess (w3wp) but with no success (this was working for template extenders). Thanks, ...
Davor Zlotrg
11/07/2014 16:17:37
Last post: 15/01/2021 16:04:09
Ribbonbar Extension and items?
Hi DW, I'm playing around with ribbon extenders and items, and it seems that it isn't completely supported yet. But i did some hacking around anyway, and i found a few quirks, that i hope theres a workaround for. Here are my findings: Dynamicweb.Cont ...
Martin Nielsen
09/07/2014 22:27:02
Last post: 10/07/2014 09:52:45
Is there any way to avoid indexing of certain custom product fields?
Is there any way to avoid indexing of certain custom product fields? Sometimes we might store some metadata in product fields which shouldn't affect the search results (free text). ...
Morten Bengtson
07/07/2014 18:25:19
Last post: 08/07/2014 21:37:40
Is it true that rows in items table are not deleted?
Hi, I have come across a scenarie where I am extracting items from itemtable. It seems that rows (items) in the itemtype_itemTypeName are not deleted if you delete the page or paragraph to which they are related? Is that true? Why? Med venlig hilsen/ ...
Sten Hougaard
06/07/2014 10:38:23
Last post: 06/07/2014 17:22:03
Unable to locate Xml License file.System.Exception
Hi, since our customer upgraded from a version 7 to version 8.3.1, in some occasions, this error occurs: Unable to locate Xml License file.System.Exception: Unable to dynamically locate license file. The license file can loaded manually by calling Em ...
Ton Martens
03/07/2014 15:41:37
Last post: 03/07/2014 15:45:09
Custom Editor for Items - One that opens in a new window
Hi Guys, Have any of you created you own Editor for Items yet? I'm looking for inspiration/sample code for creating a new EditorField that works much like the standard File selector, eg.: - you click a button - you browse aroud a new window - you cli ...
Martin Nielsen
21/06/2014 21:39:17
Last post: 23/06/2014 15:32:44
Enable searching in news
Hi, We're using the News v2 module, is it possible to include news items in search results? (Example on site: I want to get news items listed here in addition to pages: http://www.dof.no/en-GB/Search-page.aspx?q=subsea+7) I saw a similar thread on th ...
Joakim Tønnesen
20/06/2014 12:39:15
Last post: 23/06/2014 10:01:55
Is code-first items broken in 8.4.1.5
Hi DW, I just downloaded a 8.4.1.5 and DefaultEmptyData8SQL, and wanted to play around with Code first items, but it doesn't seem to work. I created a project with only the class below, and built it into my solution bin folder. using Dynamicweb.Conte ...
Martin Nielsen
19/06/2014 23:40:34
Last post: 19/06/2014 23:46:48
Product index Groups filter performance issue.
I have a shop with 3500+ groups. When loading the catalog the groups filter is delaying(3s) the load of the page. Groups filter is configured by "Current Subgroups". Initially the catalog is loaded without a groupid and then we only render the top gr ...
Remi Muller
17/06/2014 16:52:20
Last post: 24/07/2014 14:14:04
Proceed to next step in cart
Hi there, Is there a way to programmatically load the next step of the cart? I have a custom field called "Is Quote" that a user can set on the first step. If the order is a quote indeed, I would like to skip the step for payment and shipping. Thanks ...
Imar Spaanjaars
16/06/2014 14:41:30
Last post: 16/06/2014 17:12:25
Error when running Price.SavePrices();
Hi guys, I'm getting this SQL error when updating prices: Incorrect syntax near ')'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConne ...
Lars Sørensen
13/06/2014 15:43:16
Last post: 24/06/2014 19:21:06