Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

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

Posted on by 1,638

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.

Categories:
  • Suggested answer
    Haritha222 Profile Picture
    Haritha222 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.

  • Verified answer
    RodRodriguez Profile Picture
    RodRodriguez 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans