web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to store user spec...
Power Pages
Unanswered

How to store user specific data which is required in all pages

(0) ShareShare
ReportReport
Posted on by 78

Hi All,

Once user logged-In into power pages portal, user will be redirected to Select Plan page.

In the Select Plan page, user will select the plan. This selected plan should be available for all pages.

All pages will use this plan to load data in all pages using Fetchxml.

We dont want to use query params for passing data from one page to another.

I thought of storing this information in the sessionstorage or localstorage but i cannot access this within liquid code.

 

Can you please suggest any solution to this problem? 

Is it okay to add a custom property to user table as it contains user authentication context information. I am thinking to store Selected plan also in the user plan.
Is it possible or correct way to do?

Categories:
I have the same question (0)
  • Abhishek Bihani Profile Picture
    45 on at

    @argeraju I suggest, while user selecting plan system should add/modify against logged in user & portal can view this plan(selected plan) in all required pages. In this way you need not required to pass any parameter & it will always show updated list of plans. 

     

     

  • argeraju Profile Picture
    78 on at

    Thanks for quick reply, you mean to store selected plan within user table. Can you please clarify and elaborate it?

  • Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    You would store the info against the Contact Table (your portal/power pages user is a Contact), and yes you can create your own fields etc that will be exposed in the Liquid user object.

     

    However, just be aware that your portal user may potentially have multiple browser Tabs open, and if so, you could get them switching the value stored against the Contact record mid process in one tab (so now its an invalid entry in one tab, but correct in the other).

  • Abhishek Bihani Profile Picture
    45 on at

    @argeraju As portal supporting contact based login.. you can store in Contact entity. On each login you can get that field in Liquid to filter your pages.

  • Verified answer
    argeraju Profile Picture
    78 on at

    Hi All,

     

    I am using Cookies for storing information which is required for all pages. Cookies can be accessed from liquid code.
    Available Liquid objects | Microsoft Learn

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard