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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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,487 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 69

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard