Developer forum

Forum » Dynamicweb 10 » Add a custom settings page for app

Add a custom settings page for app

Martin Moen
Reply

Lets say I would like to create my own DW10 app, and need a settings page to save a few details.

Where do you think it would be approriate to add such a settings screen?

Would it be possible to add it to the apps section?

Or would it be better to add it here:

Or what other placements would you recommend?

Lets say I would like to add a new navigation link under "App settings". How would I go ahead and do that?
Any code examples?


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
This post has been marked as an answer

Hi Martin,

There are different ways to go about this. Basically, it depends on the kind of extention, you're adding. Most likely, the best place for this is in the Settings area somewhere. To add a new element to the trees in Settings, take a look at our presentation project from Summit 2022 on GitHub (https://github.com/dynamicweb/Summit2022_ExtendingTheUI/tree/step4), specifically the Tree namespace.

Alternatively, you can add your own Area if that makes more sense for your usecase.

- Jeppe

Votes for this answer: 1
 
Martin Moen
Reply

And just to add to this for later reference.
If you wonder what area reference you need to add in order to add a tree section, you can see it here.

And add a reference like this.

And it will appear like this (if you also add a tree section node).

 

You must be logged in to post in the forum