Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to set the default value for a managed metadata field

Posted on by 1,594

On a SharePoint list where the form has been customized with PowerApps:

  • I have a managed metadata field called scCountry plugged to a termset that lists all countries
  • When I create a new item in the list, I would like the scCountry field to have the default value France (which GUID would be for instance cfbda370-ce29-4033-a110-948a0cc3f948)

When I manuallyt select France in the listbox of that field and I look at the datacard value for that field, I see it is formatted as France|cfbda370-ce29-4033-a110-948a0cc3f948.

 

How can I set this listbox to have the default value France when I the NEW form shows up for my list ?

Categories:
  • johndpalmsd Profile Picture
    johndpalmsd 18 on at
    Re: How to set the default value for a managed metadata field

    @v-zhta-msft :

    Unfortunately, the article about setting default values for SharePoint does not include managed metadata columns.  Do you have an example for setting managed metadata field (combobox) default values?

  • Verified answer
    v-zhta-msft Profile Picture
    v-zhta-msft on at
    Re: How to set the default value for a managed metadata field

    Hi @R3dKap,

     

    In current, “Managed Metadata” is a read only field and it’s impossible to configure the default value of it.

     

    Here is the reference link:

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-sharepoint-online

     

    Check the following link for how to set default value of share point field:

     

    https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

     

    Hope this helps.

     

    Regards,

    Zheng

     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard