Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Building Repository Indexes Manually
Hi We have a project where we build the index of a repository used for news items manually. The rebuilding code is run when a item of the type "news item" is saved. To avoid building both instances of the index at the same time, we have used a check  ...
Anders Ditlevsen
19/05/2017 09:03:17
Last post: 29/05/2017 10:52:20
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
How to check if user has access to a given page?
Hi, The permissions API in DW is not the easiest thing to work with :/ What is the correct way to programmatically check if a given user has access to a given page? I mean, it should be equivalent to what DW does when deciding whether or not to displ ...
Morten Bengtson
07/07/2014 13:56:25
Last post: 24/05/2017 16:20:23
System.IO.FileNotFoundException: Could not find file 'C:\Windows\TEMP\[xyz].dll'
Hi Guys, Yet another strange error. Just popped out on one of our test sites. https://www.screencast.com/t/y5Zz5J4Y Every time you refresh the page, it tries accessing another new random name .dll file. Things we tried: Restarting app pool. IIS reset ...
Dimitrij Jazel
23/05/2017 14:46:45
Last post: 24/05/2017 10:59:03
DW9 Wrap frontpage errors
Hi I have setup a new DW9 wrap of the newest stable version 9.2.12. However after setup, i am met with a couple of razor templates throwing errors on the front page. The setup is purely vanilla and is not modified in any way. I have attached the thro ...
Anders Ditlevsen
19/05/2017 09:10:41
Last post: 23/05/2017 14:08:50
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
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
Cancel email marketing send for specific user
Hi, How would i cancel an email marketing newsletter for a user if a specific conditional is not met? Etc. The page to send as an email is rendered per. recipient, and i would like to check wether or not the user meets some requirements before procee ...
Jonas Mersholm
17/05/2017 14:48:13
Last post: 17/05/2017 21:40:47
OnAfterSubmitSave in DW8
In DW9 it is possible to get notified, after contents of a form is saved, by using the OnAfterSubmitSave NotificationSubscriber. I cannot find it in DW8 though. Is this not possible in this version? Best regards Kurt Moskjaer Andersen ...
Kurt Moskjær Andersen
15/05/2017 15:02:16
Last post: 17/05/2017 12:54:03
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
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
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
Saving OrderState
Hi DynamicWeb when using the following code to save my OrderState on an order, it does not seem to update. Any suggestion on what i am doing wrong? Dynamicweb.eCommerce.Orders.Order order = Dynamicweb.eCommerce.Orders.Order.GetOrderByID(ord.OrderID); ...
Casper Andersen
05/05/2017 16:10:47
Last post: 10/05/2017 11:03:45
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