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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,562)