Developer forum
Subject
Replies
Started by
Last reply
Reduction af database calls
Hi Dynamicweb, We have a solution with many order contexts and we experiende a lot of activity between Dynamicweb and the database. If the order id is not set it would be great not to try to get a nonexisting order. DECLARE @OrderID NVARCHAR(4000) = ...
Anders Ebdrup
26/08/2016 08:59:01
Last post: 02/11/2016 14:20:55
Assigning defaults to cart
Hi there, I am trying to set some defaults on a cart coming from an external system. I thought CartCreated would be a good idea, so I implemented the following: [Subscribe(eCommerce.Cart.Created)] public class AssignUserData : NotificationSubscriber ...
Imar Spaanjaars
25/08/2016 23:40:14
Last post: 28/08/2016 15:32:37
RE: Public method to get Products and Variants filtered
Hi, I'm currently using Product.GetProductByID(productID, variantID) inside an orderlines loop, but I want to optimize that to a single DB call. I've checked the method Product.GetProductsByProductIDs(productsIDs) but this retrieves all products and ...
Mario Santos
24/08/2016 13:37:31
Last post: 24/08/2016 13:49:04
add same product to a new orderline
I want to add certain same products to a new ordeline. Is there an observer where I can decide if a product is added to a new orderline? ...
Yung Yi Wang
24/08/2016 11:55:43
Last post: 25/08/2016 11:25:00
Disable stock remove after checkout
Is it possible to skip/disable/catch the stock remove after checkout is done and complete? I have a manual stock removal when I add a product to the cart and after checkout is done and complete it is removing the quantity from stock again:( ...
Yung Yi Wang
22/08/2016 11:35:41
Last post: 22/08/2016 14:37:08
Add item to itemlist on user
Hi, I'm working on a solution where I've added an itemlist to users, so we can create multiple contactpersons on the user. Is it possible to add items to this itemlist when creating a new user via the API? ...
René Poulsen
17/08/2016 16:10:51
Last post: 19/08/2016 14:51:12
How to get items from nameditemlist
Hi
Is it possible to retrieve all items in a nameditemlist by the API? If so how? ...
Lars Larsen
16/08/2016 16:31:10
Last post: 19/08/2016 10:09:05
Old carts and new fields/values.
Hello everyone We recently made a some changes and did some refactoring of our cart-implementation, and during that we added some new fields and values, which works just fine. We then started having some issues with some users that still had old cart ...
Jeppe Jakobsen
16/08/2016 16:01:53
Last post: 17/08/2016 10:53:53
Access to the current Cart context
Hi Dynamicweb, In our solution we rely on a lot of information on the current cart which depends on the OrderContext, but we have an issue getting access to the different carts based on the OrderContext. The only way to get access to the ordercontext ...
Anders Ebdrup
15/08/2016 13:10:13
Last post: 08/09/2016 09:54:00
Country is not set by Dynamicweb
Hi Dynamicweb, Can you please set the country on the order from the user in this method: SetUserDetailsOnOrder? Best regards, Anders ...
Anders Ebdrup
08/08/2016 18:30:40
Last post: 08/08/2016 20:33:11
Size of Statv2SessionExtranetUserID
Hi Dynamicweb, We have experienced a problem with the field: Statv2SessionExtranetUserID in Statv2Session which is defined as a smallint, but the AccessUserID in AccessUser is an int. Can the field: Statv2SessionExtranetUserID also be converted to an ...
Anders Ebdrup
07/08/2016 19:57:32
Last post: 08/08/2016 20:42:18
Reset password - with impersonation
Hi, I want to "Reset Password" for the secondary user without stopping impersonation - how do I do that? We have a few scenarios where we are using impersonation like this: I login as "Nuno" "Nuno" (auto) impersonates "Store A" The concept is that "N ...
Nuno Aguiar
29/07/2016 13:03:20
Last post: 09/08/2016 10:23:36
Handling external dependencies
Hi there, I have a custom Dynamicweb application that uses an external component. That component relies on Newtonsoft.Json version 7.x while Dynamicweb ships with version 6. This causes some issues when recompiling and/or upgrading the application as ...
Imar Spaanjaars
05/07/2016 13:44:52
Last post: 03/10/2016 13:48:23
Rediret on login for user groups
Hi Dynamicweb, I have a small change request for redirecting users on login when the redirect page is set on the user group. Right now it tries to redirect to the url set on the first group from the user no matter this actually has a redirecturl; cb ...
Anders Ebdrup
22/06/2016 17:34:25
Last post: 25/08/2016 01:30:49
Cannot find product with GetProductsById
I'm having trouble finding the product with Products.GetProductsById with a ProductId and VariantId. I get null response back. If I use GetProductsBySQL I also get null response back, but if I use the query in MSSQL management I can find the products ...
Yung Yi Wang
20/06/2016 09:32:27
Last post: 21/06/2016 12:55:55
Query Expression Operator Update
Hi, It there a way for me to override the operator on a specific query expression? For example: The setting is Product Number - [Match Any] - [parameter_q] Based on a specific query parameter we would change [Match Any] to [Match All] How could I do ...
Nuno Aguiar
16/06/2016 17:13:54
Last post: 17/06/2016 11:20:13
Encrypted email
Hi Dynamciweb, Using FormMailer (/Admin/Public/FormMailer.aspx) is it possible to send an encrypted email. I am aware it is not possible through HostNordic but changing SMTP, is this be possible? Best regards ...
Rasmus Andersen
16/06/2016 11:49:31
Last post: 22/06/2016 15:41:02
Caching
Hi, I use the below stuff to render som Items on solutions: var item = Dynamicweb.Content.Items.ItemManager.Storage.GetById(itemType, itemId); var template = new Dynamicweb.Rendering.Template(templatePath); var renderer = new Dynamicweb.Content.Items ...
Aki Ruuskanen
14/06/2016 09:42:26
Last post: 16/06/2016 08:56:06
Why is Server.Request not working?
Hi, I want to user Server.Request.webapid or Global.Request.webadid on this page: http://skanderborgkommune.prod.bleaudev.dk/borger/arbejde-og-ledighed/visning-af-ledige-stillinger?WebAdId=28714 but it is not working. I get this: <Server.Request.4 ...
Charlotte Mogensen
09/06/2016 11:50:30
Last post: 09/06/2016 12:07:45
Long initial loading time in Customer center
Hi Dynamicweb, We have a client who experiences very long initial loading time in the customer center and the integration customer center - do you have any clue? This is from debug=true: 07:37:49.481 Starting template.output (E:\Dynamicweb.net\Soluti ...
Anders Ebdrup
08/06/2016 23:08:16
Last post: 09/06/2016 19:04:39