Developer forum

Forum » Development » Create a deep link to a module form

Create a deep link to a module form


Reply

Hi,
 

Is it possible to create a deep link from a frontend page to a backend module form?

Example:


I have a module with a form that is used to edit an entity.
I have a frontend page presenting the entity.

On the frontend page I would like to add a "Edit entity" button.


Pressing the button should
1. Present the user with the backend login screen.
2. Once logged in, the user should be directed to the right form & module and thus able to edit the entity.


Regards,
René
 


Replies

 
Nicolai Høeg Pedersen
Reply

Well - security is the issue here.

Dynamicweb will not let you open any forms (.aspx) placed in /Admin or /Custommodules if you are not logged in to the backend.

So in order to accomplish this, you would have to place the form in another location which is not a problem - then you just have to make your own security check if needed.

 
Nicolai Høeg Pedersen
Reply
Uh - did not read all of your post - sorry.

You cannot link to a form and let Dynamicweb handle login.

You can make your own backend login like this:
Dim login As New Dynamicweb.Login("username", "password")
login.StartLogin()

Only problem is, that it will redirect the user to /Admin after login... Don't know if that can be solved somehow.

 

You must be logged in to post in the forum