Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Access to the portal through a code

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

I have a new requirement about Power Pages website. My client would like to send a code for their customer (two types : accounts and contacts). Demand is, we are sending a code to ou customer with a link to Power Pages web site. They open the link and have to put the code on an interface to be transfered to a form to fill.

This behavior is possible with Power Pages ? I was thinking use anonymous authentification. I juste need to detect the code in my backend and redirect is the code is known otherwise block others pages.

 

Thanks for your answer and have a nice day ! 🙂

Categories:
  • Missel18 Profile Picture
    14 on at
    Re: Access to the portal through a code

    Hello, I was thinking about it. If an id is written in that url then I can redirect to the right form. And if someone try to fill my form without an existing id in the url, sbumit button will raise an error. 

    Somthing like that, and with captcha, spam form will not be possible.

  • Fubar Profile Picture
    7,960 Super User 2025 Season 1 on at
    Re: Access to the portal through a code

    There is no 'backend' redirection available, redirects have to be done via JavaScript.  

    If the user is clicking a url that contains the value, then you can get the parameter either in Liquid or in JavaScript.  If you need to validate it you would either do it by using the Portals Web Api, or on Form submission (most likely with a Plugin doing the work)

  • Atmaram90 Profile Picture
    125 on at
    Re: Access to the portal through a code

    you can try using client side code (jquery/javascript) or liquid code to achieve this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >