Developer forum

Forum » CMS - Standard features » Extranet app page does not render after creation of user

Extranet app page does not render after creation of user

Andreas Rundgren
Reply

Hi,

I have an offcanvas with an extranet app for create users. 
On my page i have this: @RenderParagraphContent(11802) which are the paragraph that includes the extranet app.
But after creation of user the page refresh and the url changes to CreatedProfile=true.

Now the @RenderParagraphContent(11802) does not render my offcanvas again. So when i click add user again it cant open the offcanvas because it does not exists.

Why does not my renderparagraph which has my extranet app not work when url has CreatedProfile=True? 
So now i cant create multiple users in a row.

My app:

Start off CreateExternalAccount.cshtml

Regards

Andreas


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

When you create a new user, a receipt is shown based on the "After creation, redirect to" setting

See what that is - a solution for you could be to redirect to the page you have your create profile on - instead of rendering a template?

BR Nicolai

 
Andreas Rundgren
Reply

I have set to Template and "no template".

 

The problem is i can add users from 2 different pages. So if i set a redirect here to one of those pages it sometimes would be correct and sometimes not.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I think you need to set it to "Page" and redirect to the page you have create user on. In this way the flow is reset each time you create a user.

No template is what will be rendered after you have created a user. Which is nothing which might be the reason it does not work.

 
Andreas Rundgren
Reply

And thats the problem that i have "create user" functionality on 2 pages. But maybe i can create 2 different pages with my extranet app so i can set different redirects for them.
I think that would be the simplest approach after I have thinked about a solution.

 

You must be logged in to post in the forum