Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Use translation outside template
Hi, I'm creating an addin to create a couple of PDF-files for download. Is it possible to use the Dynamicweb.Rendering.Translation.Translation.GetTranslation without a design template, as my addin won't have any frontend, but will only run as a sched ...
Kurt Moskjær Andersen
15/11/2018 08:59:19
Last post: 15/11/2018 15:30:04
Get ecom product groups (tree) sorted on relations sorting
How do I get the product groups sorted by the relations sorting defined in the tables EcomShopGroupRelation and EcomGroupRelations? I basically want to retrieve the same tree that's displayed in the admin ecommerce tree from a template. I looked thro ...
Sander
13/11/2018 09:52:28
Last post: 23/11/2018 13:47:02
Limit the use of the image handler
Dynamicweb has a nice image handler for manipulating images on the fly (Admin/Public/GetImage.ashx). But how do I limit the use of this handler to only allow a predefined set of values? The reason I ask this is because someone who want to do harm, co ...
Martijn van Tongeren
06/11/2018 17:23:54
Last post: 06/11/2018 17:45:26
Disable ?debug=true
How do I disable the ability to render debug info when providing a debug querystring parameter? Because this contains alot of sensitive information. ...
Sander
06/11/2018 16:55:26
Last post: 07/11/2018 08:28:36
Convert quote to order
Hi guys, I have a situation where I need to convert a quote to an order and checkout. Basically, I need to move from Quote to completed order withour an intermediary step. For a very complicated reason, I am listing the quotes with Data list, so no C ...
Adrian Ursu
06/11/2018 15:31:34
Last post: 06/11/2018 18:56:02
Implementing a custom PriceProvider using different units
I'm trying to implement a custom price provider that calculates the price according to a specified unit. We have a custom table containing the information how to calculate from one unit to another: ProductId FromUnit ToUnit Factor 1 piece m2 278 1 pi ...
Martijn van Tongeren
06/11/2018 14:05:51
Last post: 06/11/2018 15:01:38
Implementing a custom DatabaseConnectionProvider
We've implemented the IDatabaseConnectionProvider interface to create a custom database connection provider which reads the connection string from the web.config. All seems to be working fine for regular requests, but when building a repository index ...
Martijn van Tongeren
01/11/2018 09:52:49
Last post: 01/11/2018 11:25:32
Major performance issues by "After DwNavigation"
Hello! I'm experiencing major loading times on every page on my site, and after putting ?debug=true in the url I see that the events 'After DwNavigation(navbar)' and 'After: BeforeSort' takes about 21 seconds to load. 'After: BeforeSort' is used on p ...
Oscar Romin
29/10/2018 16:42:42
Last post: 07/11/2018 08:51:24
GetItemList in DW 8
Hi guys, I know it's a bit old school, but I need a decent way to get the content of an ItemRelation list that is set on the PageItem. I can get the ID of the page, I can probably get the Item for that page but I don't know how to get the ItemRelatio ...
Adrian Ursu
25/10/2018 22:06:57
Last post: 03/11/2018 06:51:04
Nuget restore
Hi Is it posible to install all nuget packages without the admin content folder, so we can handle all dll's via nuget instead of adding them to source control or manual add to the website? Br. Mads ...
Mads Kold
24/10/2018 08:52:55
Last post: 24/10/2018 23:12:39
Programmatically create SQL table
Hi Is it posible to create SQL table programmatically in dw. Br. Mads ...
Mads Kold
16/10/2018 09:19:06
Last post: 16/10/2018 09:51:33
Get access to code-first item object in paragraph template
I've created a code-first ItemType and now I'd like to create a paragraph template for it. Now I'd also like to use that object strongly typed in my template. At the moment I'm inheriting from Dynamicweb.Rendering.ViewModelTemplate<ParagraphViewMo ...
Martijn van Tongeren
12/10/2018 09:36:54
Last post: 22/10/2018 16:21:42
Recover password with multiple websites
I have two websites and some users are duplicated for both of them. This keeps the recover password from working. The "Include shop id in extranet log in" is active and the shop is set for the users. I also added the shopid the the recover password f ...
Cátia Torego
09/10/2018 17:42:03
Last post: 25/10/2018 12:40:42
Query index error
Hi I'm getting this error when we trying to get the product list out, we are using 9.5.1 with rapido System.ArgumentException: The given field name does not exist in the given index schema. Field: 'ProductRelationGroup_RELGRP8', Index: 'Products.inde ...
Mads Kold
09/10/2018 09:16:24
Last post: 09/10/2018 10:02:36
Extra shipping field on order
Hi Is it posoble to add an extra shipping field field to the order, or another field there is included in the order total calculation? Br Mads ...
Mads Kold
08/10/2018 09:15:27
Last post: 08/10/2018 09:37:06
Permissions
Hi Is it posible to create custom permissions and use them with the Permision class? I can't find it in the doc's! Br. Mads ...
Mads Kold
01/10/2018 13:10:18
Last post: 03/10/2018 13:22:58
Deployment of DynamicWeb
Hi Do you have any recomendations/best practices to how we can automate deployment solutions by CI/CD? //Mads ...
Mads Kold
25/09/2018 12:56:19
Last post: 02/10/2018 09:01:24
Could not load type 'Dynamicweb.Ecommerce.Feeds.FeedContextConfiguration' from assembly 'Dynamicweb.Ecommerce, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Hi, I have set up a blank new Dynamicweb 9.5.1. from the ZIP file from the doc site. It works, but as soon as I build the project in Visual Studio with no edit to the projekt, I get this error: Server Error in '/' Application. Could not load type 'Dy ...
Marie Louise Veigert
21/09/2018 14:07:57
Last post: 24/09/2018 09:03:03
RenderBackend dosen't render
Hi DW I'm trying to create a ShippingProvider, i have ran into a problem with RenderBackend, it dosen't render anything into the backend (I'm expecting it ro render out on the order page?) I'm using this code public override string RenderBackend(Orde ...
Mads Kold
19/09/2018 15:46:56
Last post: 20/09/2018 10:16:48
Find string in content from api
Hi, I need to search all content from within the api, for a specific text-string. By content, I mean both pages, paragraphs and items. There is a lot of different item-types, so I would rather not iterate through each and every item-type, if it's not ...
Kurt Moskjær Andersen
19/09/2018 13:15:43
Last post: 20/09/2018 07:55:36