Developer forum

Forum » Dynamicweb 10 » RE: Custom Module

RE: Custom Module

Klumpford
Reply

Hi 

How to create an custom module and invoke them in the currrent repository. 

Any sample project are available.

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi

You can read about it here:

https://doc.dynamicweb.dev/documentation/extending/index.html and a sample app that can be inserted on a paragraph can be found here: https://doc.dynamicweb.dev/api/Dynamicweb.Modules.ContentModule.html

There is a sample project here: https://github.com/dynamicweb/Samples

I do not know what it means to invoke it current repository? Do you mean index repository? Git repository? Please add more context on what you are trying to achieve so we can be more clear in our answers.

BR Nicolai

 
Klumpford
Reply

-

 
Klumpford
Reply

Nicolai Pedersen Thanks for sharing the response.

Currently I am working on My orders Screen (orderviewlistviewmodel.cshtml), In another thread you shared the code to invoke when adding custom filters.

I have implemented the changes shared, but I am facing two problems in that one. 

1. Once the form is submitted, system is filtering the data and return as Order-Viewmodel which i ignore. But I am using the query filters which i passed to custom code to do the filters and load the screen the based on filtered data. This is creating multiple DB calls which will slow the data fetching. Either i need to avoid the inbuilt call and replace with code shared or override the inbuild call. Please suggest.

2. In that thread you mentioned we need to do in Custom module - can you suggest how to do it? Is custom module and content module are different.

 

You must be logged in to post in the forum