Developer forum

Forum » Development
Started by
Last reply
Difference Code-First and Model-First Itemtype FieldGroups
Hi, There seems to be a difference between Code-First and Model-First Itemtypes Fieldgroups. When using the show/hide fieldgroups based on other fields. This is not working properly on Code-First itemtypes. It only show hidden fieldgroups on change o ...
Jesse Bakker
21/02/2019 12:21:30
Last post: 22/02/2019 09:45:00
Make OnDownloadFile (more) useful
Hi Dynamicweb, We are trying to use this notification subscriber: Security.UserManagement.Notifications.Notifications.OnDownloadFile, but I do not think it is working as intended. The case is that we must handle user specific downloads. In the subscr ...
Anders Ebdrup
18/12/2018 10:37:26
Last post: 20/02/2019 14:27:05
Bypass GZip compression for a specific page
Hi there, I have a page based on an item with a custom Razor template that outputs data as a CSV file (along with the appropriate header and such). I also have GZip compression turned on in the Settings area. When GZip is turned on, my CSV becomes mu ...
Imar Spaanjaars
19/02/2019 16:53:01
Last post: 20/02/2019 13:03:37
Saved Cards in Cybersource - Not saving the card
Hi, I'm having some issues with saving cards using Cybersource. This is something that used to work and just soped recently, there was a DW version update so i'm thinking it might be related to that. When i try to save a new card i get the indication ...
Cátia Torego
23/01/2019 17:53:14
Last post: 19/02/2019 11:07:40
Index PDF content
I just came to think that building an index of PDF content is part of the T3 training. It's rather new, so I thought I'd just share it, in case you won't be visiting that part of our doc site. I found that the AbcPDF did a quite poor job, especially  ...
Morten Snedker
27/11/2017 08:54:27
Last post: 15/02/2019 10:37:27
Notification when cart is updated
Hi, Are any notifications triggered, when the cart is updated, besides the Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.Line.Increased and Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.Line.Decreased ? If the customer updates the quantity ma ...
Kurt Moskjær Andersen
13/02/2019 08:59:14
Last post: 13/02/2019 09:19:01
Delete page notification
When a page is deleted can it have the notification of page deleted fired for every subpage that get's deleted also. I've tried to get the subpages by using the PageService like this: var subPages = pageService.GetPagesByParentID(page.ID)?.ToArray(); ...
Rui Silva
11/02/2019 12:14:12
No replies yet
Forms for editors specific recipient from submitted form value
Hi guys We have a solution where we would like to sends email notifications to different recipients based on a "Select" list in forms for editors. A scenario could be, that the user submitting the form, selects "Option1", then that notification shoul ...
Jens Mouritzen
05/02/2019 21:01:45
Last post: 08/02/2019 08:04:12
ashx handler handler
Hey DW, I'm trying to implement a custom ashx handler, but it seems that nomatter how i register it with the IIS webserver dynamic web has some rewrites that takes precedence ? can you confirm if this is an issue or am I able to bypass this with a co ...
Claus Ørum-Petersen
06/02/2019 13:12:18
Last post: 07/02/2019 08:36:12
Read referral page
Hi guys, I was wondering if there is any way I can read the previous URL, basically, the URl that the user came from before accessing the current page. I mainly need to identify the page the user comes from when requesting a quote. Any idea? Thank yo ...
Adrian Ursu
31/01/2019 12:17:17
Last post: 01/02/2019 14:31:06
pageView.Layout is null
Hi DW! I have run into a problem after upgrading to DW9.5. (I dont know if 9.5 is the actual problem, but maybe you can lead me in the right direction). I have a TranslationHelper method, that does something like the following var paragraph = _dwPara ...
Ronni Hansen
01/02/2019 10:09:41
Last post: 01/02/2019 12:01:09
Saving Addresses issue
Hello! I am trying to save the AccessUserAddress that is also saved on the AccessUser in its Address-field. This information is, from what I can gather, only in the AccessUserAddress table as a row with empty fields, and then they are shown somehow a ...
Oscar Romin
30/01/2019 16:37:21
Last post: 30/01/2019 16:59:30
Custom order in productlist
Hi, We have a solution where we render the productlist using the repository. I would need to reorder the products before the paging is done based on some conditions of the current logged in user. The BeforeSort and BeforePaging gives me just one page ...
Aki Ruuskanen
29/01/2019 12:50:52
Last post: 29/01/2019 14:48:48
404 handler taking long time
Hi there, I am using the Standard.Page.NotFound subscriber to return a default image for 404 images. It goes like this (all pseudo code): var request = GetUrlFrom404Request(); if (!request.Image()) { return; } context.Response.Clear(); context.Respon ...
Imar Spaanjaars
07/12/2018 09:29:07
Last post: 27/01/2019 14:32:03
Acquiring information about how a product was added to cart.
Hi guys! I was wondering if it is possible to get information on, how / where a product was added to the cart, since i need that information when the customer has completed an order. Eg. So, what i mean is, the customer has the possibility to add the ...
Ronni Hansen
25/01/2019 09:35:03
Last post: 25/01/2019 10:51:15
FillProductPrices not working in Integration Framework v2
Hi Dynamicweb, After upgrading to Dynamicweb.Ecommerce.1.5.34 the property "Prices" in "Product" is readonly and a method in "ProductProviderBase" is not working anymore in this project: Dynamicweb.Ecommerce.LiveIntegration (2.0.1.BETA 2). The method ...
Anders Ebdrup
10/01/2019 10:10:41
Last post: 24/01/2019 14:15:27
Setting PageTitle on product page with Notification Subscriber
I am having difficulties setting the page title with the PageTitle Notification Subscriber when viewing individual product pages. It seems to work as intended on other pages, but it looks like the title gets overwritten on product pages. Has anyone e ...
Vincent Gercke
21/01/2019 19:09:27
Last post: 22/01/2019 08:53:10
Get page based on the friendly URL
HI guys, Is there any method to find a Page based on the Friendly URL? Thank you, Adrian ...
Adrian Ursu
16/01/2019 22:09:40
Last post: 21/01/2019 12:25:57
DLL Hell - Dynamicweb overwriting DLLs
Hi there, We have many custom solutions that use a component that has a dependency on Newtonsoft JSON 11. The site is set up as custom but has /Admin point to a shared Admin folder. Whenever I log in to the backend, Dynamicweb does an upgrade check a ...
Imar Spaanjaars
17/11/2018 11:31:46
Last post: 14/01/2019 13:37:42
ScheduledTask Execution Timeout
Hi Dynamicweb In the newer dynamicweb versions i am having difficulties with completing scheduled tasks that runs for longer than 1 hour. When i delve into the code of the runner, i stumble upon a hardcoded value of one hour, which aligns with my pro ...
Anders Ditlevsen
11/01/2019 11:46:30
Last post: 14/01/2019 09:01:37