cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R3dKap
Super User
Super User

How to set the default value for a managed metadata field

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhta-msft
Resolver II
Resolver II

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-onlin...

 

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

 

View solution in original post

2 REPLIES 2
v-zhta-msft
Resolver II
Resolver II

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-onlin...

 

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

 

View solution in original post

@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?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,242)