Developer forum
Subject
Replies
Started by
Last reply
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
Cannot debug Swift_Master?
Hi, I'm running a local solution in IIS, and I can debug all templates in the Paragraphs folder fine by attaching to the w3wp process. When I try to set a breakpoint in the Swift_Master.cshtml, VS tells me no symbols are loaded. Same for Swift_Pr ...
Justin Sjouw
08/06/2023 14:03:11
Last post: 09/06/2023 11:52:18
OrderListViewModel - order total prices is empty
Hi Dynamicweb, When using Customer Experience Center and OrderListViewModel for rendering Model.Orders each order is missing total prices. This error occurs in some of the latest version of Dynamicweb (9.15.5 and 9.15.6). Best regards Niels Foldager ...
Niels Foldager
11/05/2023 11:17:16
Last post: 08/06/2023 16:17:47
DWAPI /dwapi/ecommerce/orders/ bugs and request for OrderBy to be added
Hi DW, (Testet on 9.15.7) When calling "/dwapi/ecommerce/orders/", we're experiencing some bugs. First of when looking at the "dwapi docs" site, it doesn't say PageSize is required. But when you call without any parameters ...
Mikkel Hammer
27/05/2023 13:41:20
Last post: 07/06/2023 10:30:51
How to detect if Logged in user is using External Authentication
Hi, I need to validate if the logged in user has logged in using external authentication (i.e. OKTA) so that we can remove some features (i.e. Change password link). What is the best way to check for that? Would Context.Current.Session["DW_extra ...
Nuno Aguiar
31/05/2023 10:30:31
Last post: 31/05/2023 20:04:28
Extending password requirements
Hi DW, I have a question regarding the password requirement. As part of security measures, our customer is looking to implement some new password requirements to ensure the safety of user accounts. Our customer wants to ensure password security that ...
Daniel Hollmann
19/04/2023 13:42:20
Last post: 31/05/2023 19:30:53
Handling different Product Detail pages for products in the same group
Hi guys, The new feature in Swift/DW for handling Detail page for products in various groups was very interesting and very useful. However, we have situations where products in the same group have to have different ProductDetail pages. I have used a ...
Adrian Ursu
09/03/2023 12:32:56
Last post: 31/05/2023 17:45:58
NullReferenceException of the module eCom_Catalog
Hello, We have an error of type eCom_Catalog NullReferenceException. The error fires frequently, and also at nighttime when nobody is working on the solution, so it may come from an automated task. We don´t know why it happens, nor how to reproduce t ...
Tomas Gomez
06/08/2020 12:58:48
Last post: 30/05/2023 12:30:01
Create orderline by API - but missing orderline total
Hi I'm trying to create an order line by the API. I have done this: var product = Dynamicweb.Ecommerce.Services.Products.GetProductById("95764469898", string.Empty, Context.LanguageID, false); var ol = Dynamicweb.Ecommerce.Services.Orde ...
Lars Larsen
26/05/2023 11:49:15
Last post: 26/05/2023 14:44:48
Notification subscriber on Extranet App
Hi, Are there any subscriber when create profile gets posted from extranet app on a page? I need to do some custom code when a new user get posted from the extranet create profile app. I have tried this but it does not seem i get here: Dynamicweb.For ...
Andreas Pettersson
26/05/2023 10:12:12
Last post: 26/05/2023 14:23:26
Repositories and indexing custom-indexes from Code-behind
Okay, I've already been told not to go this way, as it can't be done, but I'm curious anyway. I have created a custom index on the table AccessUserAddress and I need to update the index from code-behind or a workaround so that the index i ...
Kim Søjborg Pedersen
17/05/2023 14:22:04
Last post: 24/05/2023 15:14:36