Developer Blog

Webinar - Building a Custom App in Dynamicweb

Greatings everyone.

You'll find today's recording here:

We have two additional webinars coming up befor the summer vacation:

On 7 May 13:00 CET I'll host a webinar titled "Exchanging Custom Data between Dynamicweb and Business Central", and if you're intrigued by the title alone, why not hurry on over to the sign-up page to reserve a seat:

On 11 June 13:00 CET I'll host a webinar about Indexing and take it a bit beyond filtering Ecommerce items. The agenda is not completely decided upon yet, but the date is set, and you can sign up here, if you don't want to miss out:

Unnsteinn Garðarsson
Unnsteinn Garðarsson
16 April 2021 at 13:26

It would be highly appreciated if you could zoom a bit in when doing these webinars, since it is kind of hard to see what you are writing.

Unnsteinn Garðarsson
Unnsteinn Garðarsson
16 April 2021 at 13:50

Can we extend existing apps like for example the Product Catalog app ?

Lars Hejgaard Sørensen
Lars Hejgaard Sørensen
Dynamicweb Software A/S
16 April 2021 at 14:06

Thanks for the input, I'll remember that for next time:)

You can write extension methods for existing view model based apps to use in your razor templates or API extensions, but afaik that's it for now.

Unnsteinn Garðarsson
Unnsteinn Garðarsson
16 April 2021 at 15:02

Will the latest webinars not be available somewhere on the web? They are missing from here.

Lars Hejgaard Sørensen
Lars Hejgaard Sørensen
Dynamicweb Software A/S
16 April 2021 at 15:12

It will be available in the blog assiciated to the webinar as soon as it's done processing :)

Nuno Aguiar
Nuno Aguiar
Dynamicweb North America, Inc
19 April 2021 at 12:26


As requested on this session (and for the lack of better place), here a set of topics I believe would be interesting to see:

  • Working with Cache
    • And being able to clear it in Settings > Developer > Cache
  • Logging best practices
    • To leverage Monitoring tools as well
  • Adding items to Monitoring > Health
    • to existing topic
    • Create our own custom topic
  • Create a new UI for Global Setting
  • Create a custom Product Field type
  • Create a custom Item field type
  • Backend development cheatsheet


Some of these could be merged into a Tips and Tricks and potentially some "Do's and Don'ts"


Just some food for thought.

Nuno Aguiar

Lars Hejgaard Sørensen
Lars Hejgaard Sørensen
Dynamicweb Software A/S
20 April 2021 at 12:41

Thanks for the great suggestions, Nuno, and thanks for joining.

Just yesterday I was working on a feature with caching, so I'll write a blog about this some time soon.

About the control panel UI. You need a /CustomModules folder in your project/website, and it is good practice to have a subfolder named by the ModuleSystemName (this is a necesity, if you need a paragraph setup form for your app). In this folder, creae a webform for your controlpanel settings, and on the record for you app in the Modules table, add the path to your control panel page (/CustomModules/MyCustomApp/MyCustomApp_Cpl.aspx) in the ModuleControlPanel field. The page will loade inside a frame, so it can be anything you can imaging to load in a browser. The /CustomModules folder is protected by admin login, so it can only be accessed, when you're logged in.

To interact witl the GlobalSettings.aspx you can use the Dynamicweb.Configuration.SystemConfiguration.Instance namespace and use the SetValue for writing and Get[type] methods for reading, e.g. GetString(). The argument for key should be the xpath of the setting, e.g. /GlobalSettings/MyCustomApp/MySetting.

I think I mentioned my concerns about using global settings vs. website settings, so when considering adding global settings, it's always a good idea to consider, whether they should be added as settings on a website item. Also, remember, when you create a webform, it will need to be rewritten for DW10 when that time comes.


You must be logged in to comment