Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
DataSource null in PIM RibbonBar
I'm trying to make a ribbon bar addin for PIM, using DW 9.15.7. Followed the code examples for products, and started out with this code: The ribbon bar addin is showing, but I do not get any data from the data source. It is always null. What migh ...
Martin Moen
26/05/2023 09:23:01
Last post: 02/08/2023 12:58:29
Feed file export scheduled task not adding user to price context
Im having a proplem where, when trying to generate my PIM feed using the Feed file export scheduled task, i am not getting a user passed to me through the PriceContext. I do have the language and currency, but not the user. This is only when the feed ...
Lasse Larsen
02/06/2023 15:46:15
Last post: 02/08/2023 12:54:40
Where is Version in System\Manage Versions stored
Hi, My site is running on 9.15.9 as configured in IIS, but the manage versions screen still shows 9.15.8. I suspect it could have something to do with deployment of config files? ...
Justin Sjouw
25/07/2023 15:46:31
Last post: 26/07/2023 14:32:22
'>System.MissingMethodException: Method '....' not found.
Hey guys, I have a schedule task that executes a method in a custom class. The process works fine in development and on staging server, but it doesn't work on the production server. The error message is not too descriptive, it just says that Meth ...
Alexandru Aliu
03/07/2023 09:44:27
Last post: 20/07/2023 15:20:37
reordering an order via dwapi
Hi, It seems like there's no way to "reorder" an order via the dwapi. Right now if you were to "reorder", you would have to loop every orderline from the old order and add them one by one to your current cart. Is it possible t ...
Mikkel Hammer
04/07/2023 15:10:25
Last post: 17/07/2023 12:08:12
Get AccessUserCartID via dwapi on /dwapi/users/info
Hi DW, Looking at this post, we got some changes to how the current cart in the webshop is set when you manipulate the cart via the dwapi. But there is still no way to access that info via the dwapi. Is it possible to get some information about the u ...
Mikkel Hammer
30/06/2023 14:15:15
Last post: 17/07/2023 11:35:15
Completeing order in Dwapi doesnt trigger cartbeforesave
Calling ​/dwapi​/ecommerce​/carts​/{secret}​/createorder through the DWAPI doesn't trigger her Ecommerse.Order.BeforeSave NotificationSubscriber. ...
Theodor Perrier
12/07/2023 08:02:11
Last post: 12/07/2023 10:06:15
Render Navigation for a specific User context
Hi guys, I have a solution that becomes more and more challenging because of the large number of Users, User groups, and Assortments. Navigation rendering is becoming a real issue, even with the new approach. I understand that our setup is rather far ...
Adrian Ursu
11/07/2023 13:00:29
Last post: 11/07/2023 14:14:05
Handle custom font family/styling inside titles
Hi guys, I have a situation where I need to accommodate something like this: This means that I have to add some custom styling to a piece of text inside a heading. I can define a reliable separator that would identify the segment to be customized. St ...
Adrian Ursu
07/07/2023 13:47:31
Last post: 10/07/2023 12:40:55
Range price facet
Hi: I have to implement a range price facet. This range has to contain the maximun and minimun price of a set of products. For example , if i have a set of bikes the minimun is 100 and the maximun is 10000. So if i want to get only the white bikes by ...
Jose Caudevilla
20/02/2020 10:37:42
Last post: 05/07/2023 12:51:45
Check if user has ordered product
Hi guys, We have to build a functionality to allow posting product reviews only for users that have purchased the product. What would be the most efficient way to check if the current user has a specific (current product) in his order history? Thank  ...
Adrian Ursu
04/07/2023 12:01:03
Last post: 04/07/2023 13:52:29
Getting to a "Clean" version of GlobalSettings.Config
I'm working to produce a "clean" version of GlobalSettings.Config, so that I can use it as a generic baseline for new solutions. On top of that I will then add GlobalSettings.Database, .CommonInformation, .MailServer etc The version on  ...
Justin Sjouw
28/06/2023 09:48:58
Last post: 30/06/2023 15:01:38
Accessing assets
Hello I want to be able to add, edit and delete assets (both documents, images and video links) via code in the back end. How do I do that? (Version 9.) Thanks in advance, Fredrik ...
Fredrik
28/06/2023 20:11:06
Last post: 29/06/2023 15:28:20
Convert Item into ItemVIewModel
Hi guys, What is the best approach to convert an Item into an ItemViewModel? Is this even possible? Thank you, Adrian ...
Adrian Ursu
28/06/2023 11:28:54
Last post: 29/06/2023 03:29:23
Error in razor template
Hi guys, When I look at live site Event viewver I see "Error in razor template", but cannot understand where error happend. How can I find out where erro is? This is Log content: 2019-04-07 05:28:55.513: Error in razor template. System.Threading.Thre ...
Ivan Marijanović
07/04/2019 08:39:35
Last post: 23/06/2023 09:13:33
Payment retry on a failed order
Hey guys, On my project I need to give users the posibility to retry a payment on some orders . What is the best approach to do this? The context is like this: - the orders are completed, but capture state is Not Captured - Users should have a link i ...
Alexandru Aliu
21/06/2023 19:16:44
Last post: 22/06/2023 16:35:38
Issue with Nuget 9.15.8
Hi, I have been working with a partner to get a solution up and running. Image processing was not workingm which was caused by missing DLL's. Can someone from QA or dev please check if it is a general issue with the NuGet package? Message from pa ...
Justin Sjouw
20/06/2023 15:10:46
Last post: 22/06/2023 09:30:15
SMTP Server is reset after deployment
For some reason the SMTP settings are being reset after deployment. I thought this was a database setting, but maybe I am overwriting it by deploying some file? Thanks, Justin ...
Justin Sjouw
21/06/2023 15:39:46
Last post: 22/06/2023 09:28:14
DialogBuilder in custom RibbonBarAddIn
Is it possible to use DialogBuilder in a custom RibbonBarAddIn? If yes, can I please get a code example? I'm using var dialog = new Dialog() and AddWindow(dialog) now, but the DialogBuilder looks nice. ...
Martin Moen
25/05/2023 12:51:03
Last post: 21/06/2023 14:14:06
Set StateId in CreateOrder
Isn't it possible to set the order state when creating order from webapi? Ex.: /dwapi/ecommerce/carts/{secret}/createorder If I set this in the body of the post: {"StateId":"OS10"} I get this back: "StateId": "O ...
Martin Moen
16/06/2023 14:22:34
Last post: 20/06/2023 12:27:40