Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Notifications in DW8
Hi guys, I am trying to convert a notification subscriber development from DW9 to DW8 and I have some hard time trying to find the closest equivalent. In DW9 I am using Dynamicweb.Notifications.Standard.Page.OnBeforeRenderParagraphs. What would be th ...
Adrian Ursu
25/02/2019 23:12:22
Last post: 26/02/2019 00:09:09
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
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
Data Integration: repeated table and column names
When setting up a Dynamicweb provider data integration job I noticed that the drop down list in "Source Table" contains multiple instances for the same table (see attachement di.png) when selecting any of the AIContactDetails (a table that contains 4 ...
Hafsteinn Hjartarson
10/01/2019 10:46:40
Last post: 11/01/2019 15:21:12