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

Notifications

Announcements

No record found.

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,100

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.

I have the same question (0)
  • Suggested answer
    RodRodriguez Profile Picture
    on at

    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

  • Suggested answer
    Haritha222 Profile Picture
    120 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans