Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to pre-populate the boolean field into the Portal management?

(0) ShareShare
ReportReport
Posted on by 2,051

Hi,

I am a newbie to Power Portal, and I created one Boolean field but it has by default value is False,

I want to prepopulate it to True on my Advance Form metadata page. I had tried different values in the Value field, i.e. true, TRUE, 1, Yes, yes but still it did not work.

Can anyone please give the solution for it? How can I populate a default value to true? 

pastedimage1654765101604v2.png

Thank You.

  • Suggested answer
    Haritha222 Profile Picture
    120 on at
    RE: How to pre-populate the boolean field into the Portal management?

    Hi,

    Here we have 2 options to achieve.

    Step 1:

    1. Edit the field and set default value is "True".

    Step 2:

    2.Go to Advanced forms ----Metadata

    3.Create a new metadata

    4.Prepopulate field

    5.Type: value

    6.Value: "option set field value should take "ex:1200010"

    7.Save

    Now automatically when we open a form that Boolean field should show "true".

    Try this one and if is is helpful means please mark it as verified.

  • Suggested answer
    RodRodriguez Profile Picture
    on at
    RE: How to pre-populate the boolean field into the Portal management?

    Howdy!

    What you are looking for is to edit the field and then set the default Value.  In the legacy view, this is where you find it:

    pastedimage1655127925908v1.png

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari 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 > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans