Developer forum
Subject
Replies
Started by
Last reply
How to disable single-sign on?
I can see that users are automatically logged in url's query strings "username" and "password" are set. How can I disable this? We are working on a third-party OCI login, where we need to do some preproccessing and validation before we login a user. ...
Evaldas Raisutis
31/08/2017 09:14:00
Last post: 01/09/2017 08:59:03
DW8 ItemPublisher And Creator
Hi On a solution we have setup 2 pages that links to each other, one with an item creator, that creates item onto an itemlist on the page. And one the lists them all out. Standatd templates are being used, and you are able to create items on one page ...
Anders Ditlevsen
24/08/2017 14:36:28
Last post: 30/08/2017 13:21:36
ProductCategoriesLanguageControl, Language and Variant are saved in GlobalSettings
When checking a Globalsettings file of one of our projects, I noticed that the ProductCategoriesLanguageControl was stored in the file. With 4 languages this gives 1700 !! lines of code. We are running DW9.2.17 <ProductCategoriesLanguageControl> ...
Harald Brouwers
28/08/2017 12:30:15
Last post: 28/08/2017 15:34:20
BeforeRenderArgs and product list
Hi, When a customer in Ecom makes a product search, I would like to intercept it. If no result is given in the current productgroup, I would like to make a search on all groups. To achieve this, I'm trying to hook into the NotificationSubscriber, to ...
Kurt Moskjær Andersen
25/08/2017 12:52:05
Last post: 28/08/2017 10:39:50
Ajax add to cart - error management
Hello, I am adding several products to the basket via an ajax call : var postData = { 'cartcmd': 'addmulti', 'ProductLoopCounter1' : 1, 'ProductNumber1' : 1234, 'Quantity1' : 1, 'ProductLoopCounter2' : 2, 'ProductNumber2' : 12345, 'Quantity2' : 1 // ...
Gaëtan Di Caro
18/04/2017 09:49:46
Last post: 24/08/2017 13:18:02
11
Subscribe
Caching in DW9?
Hi Dynamicweb, After upgrading to DW9 I can see a lot of extra calls to the database on each page load. Most of the calls seems to be related to Pages e.g.: GetFirstPageForArea GetFirstModulePageForArea (for both search and cart) GetPageForItem (and ...
Anders Ebdrup
23/08/2017 16:16:43
Last post: 24/08/2017 09:32:22
Code first approach
Is it possible to use the code first approach on other areas than item types? Lets say product fields, and product categories? ...
Martin Grønbekk Moen
21/08/2017 15:21:32
Last post: 21/08/2017 16:25:19
Code first item inherit
I'm trying to use code first item creation, but cant get the inheritance working. [Item(Name = "Paragraph", Description = "Root paragraph, in which all other paragraphs inherit settings from.")] [Category("Example")] [Icon(Dynamicweb.Core.UI.Icons.Kn ...
Martin Grønbekk Moen
18/08/2017 10:05:27
Last post: 21/08/2017 08:19:05
Code first default view item page
Hi Guys, I'm trying to set the default view of an item page to 'paragraphs' . It's a code first itemtype but can't find the correct setting. It's running on 9.2.16. What am I missing? [Item(Name = "Detail page", Description = "")] [AreaRule(92, 93)] ...
Jesse Bakker
18/08/2017 10:46:27
Last post: 21/08/2017 06:51:54
User.GetCurrentUser() not working in 9.2.16
Hi Dynamicweb, After upgrading to 9.2.16 the function User.GetCurrentUser() is not working as intended anymore as this will only return a Backend user. Please see the change here: https://www.screencast.com/t/RBFeAXNW4U Is this an intended change and ...
Anders Ebdrup
12/07/2017 14:58:59
Last post: 18/08/2017 17:32:34
11
Subscribe
Code first item drop down list
I have tried to use the examples available, but cant get it working. I'm trying to create a drop down list with static options like this. https://www.screencast.com/t/2jXvPrntL But it ends up like this. https://www.screencast.com/t/dnhSTY8W ...
Martin Grønbekk Moen
18/08/2017 12:50:10
Last post: 18/08/2017 12:56:10
Code first item field group visibility rules
Can anyone please post a code first example on how to use the visibility rules for field groups inside an item? https://www.screencast.com/t/MEOoA4RT ...
Martin Grønbekk Moen
18/08/2017 11:27:16
Last post: 18/08/2017 12:50:31
ViewModelBase example source files
Hi Dynamicweb, Any chance you could send or publish the source files from the <code></code> attributes below. Best regards, Rasmus ...
Rasmus Andersen
08/08/2017 08:34:30
Last post: 15/08/2017 10:07:54
In cshtml, list all subpages based if they are published or not
Hi I'm using version 8.6.1.30 In my project I'm listing all subpages of a page in cshtml with a foreach loop using var reports = Pageview.Page.Children; @foreach (var report in reports) Using this method the foreach loop list all the pages published ...
Andreas Hunderi
15/08/2017 08:28:50
Last post: 15/08/2017 09:56:25
Custom URL Provider
Hi, i am messing around with making a custom URL provider. I have read the PDF about making custom url providers and have made this so far: [AddInName("Image Alias Redirect"), AddInDescription("alias to image name redirect mapper"), AddInActive(true) ...
Anders Ditlevsen
10/08/2017 11:18:30
Last post: 10/08/2017 12:41:04
Get all orders by API, including impersonated
Hi, I need to get a collection of all orders, completed within a certain period of time, by the customer himself or by impersonation. If I use the CustomerOrderCollection, loading it with the customers ID, I will not get the ones completed by imperso ...
Kurt Moskjær Andersen
03/08/2017 11:43:45
Last post: 03/08/2017 13:05:10
BeforeQuery subscriber
Hi, I am looking for a subscriber triggereing before a query when using a query publisher in DW9. So far I have found one for ecommerce: [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Querying.BeforeQue ...
Mikkel Ulstrup
01/08/2017 14:08:40
Last post: 03/08/2017 01:06:09
Notification before product added to cart
Hi, On my ecommerce-solution, a customer is not allowed to order more than a specific quantity of a product, over time. In order to achive this, I've added a custom product field, which holds the maximum quantity allowed for each product. I already c ...
Kurt Moskjær Andersen
02/08/2017 08:48:08
Last post: 02/08/2017 13:49:26
CheckoutDone being run twice per order
Hello. I have a scenario where i have a NotificationSubscriber: Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.CheckoutDone, which is being run twice, whenever i complete the checkout. I am using a DW9 Wrap, where i have added the above described ...
Anders Ditlevsen
01/08/2017 12:13:05
Last post: 01/08/2017 12:52:11
PriceProvider infinite loop
Hello, I'm trying to implement a simple custom price provider (users have a fixed discount percentage on top of the regular price, including other discounts). I tried the example here : http://doc.dynamicweb.com/training-certification/t3-platform-dev ...
Gaëtan Di Caro
26/07/2017 09:12:55
Last post: 31/07/2017 10:39:21