cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
simonjhudson
Advocate IV
Advocate IV

Is there a way to use Flow to change the Content Type of a SharePoint item

We do clever things with Content Types, to cotrol the fields seen at various steps of a process. 

 

Is there a Flow action to update the Content Type (as we do to metadata)?

If not can we have we please?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @simonjhudson,

 

Could you please share a bit more about the Content Type of a SharePoint item that you mentioned?

Do you want to change the Content Type property of an item within your SharePoint library?

 

I suppose that you want to change the Content Type property of an item within your SharePoint library, is it true? If you want to change the Content Type property of an item within your SharePoint library, please make sure that you have enabled "Allow management of content types" option within Advanced Settings of your SharePoint library settings (I think you have enabled this option😞8.JPG

 

More details about enabling Content Types option ("Allow management of content types") and how to add Content Types to your SharePoint library, please check the following article:

https://support.office.com/en-us/article/add-a-content-type-to-a-list-or-library-917366ae-f7a2-47ad-...

 

After you enable Content Types option, you could consider take a try to update the Content Type property using "Update file properties" action of SharePoint connector. My flow's configuration as below:9.JPG

 

 

More details about the "Update file properties" action, please check the following article:

Update file properties

 

Best regards,

Kris

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @simonjhudson,

 

Could you please share a bit more about the Content Type of a SharePoint item that you mentioned?

Do you want to change the Content Type property of an item within your SharePoint library?

 

I suppose that you want to change the Content Type property of an item within your SharePoint library, is it true? If you want to change the Content Type property of an item within your SharePoint library, please make sure that you have enabled "Allow management of content types" option within Advanced Settings of your SharePoint library settings (I think you have enabled this option😞8.JPG

 

More details about enabling Content Types option ("Allow management of content types") and how to add Content Types to your SharePoint library, please check the following article:

https://support.office.com/en-us/article/add-a-content-type-to-a-list-or-library-917366ae-f7a2-47ad-...

 

After you enable Content Types option, you could consider take a try to update the Content Type property using "Update file properties" action of SharePoint connector. My flow's configuration as below:9.JPG

 

 

More details about the "Update file properties" action, please check the following article:

Update file properties

 

Best regards,

Kris

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks for this. I eventually figured this out myself, but it's great to see this as a capability.

We use Content Types a lot, so already have them turned on in most libraries.

It wasn't obvious that the Update action coudl do this when I looked and it was even less obvious that the label Content Type ID actually just means Content Type (there is a lot of poor choice of label for actions and fields in Flow at present). But it works a charm once used.

 

I really appreciate the reply.

npettijohn
Regular Visitor

I am replacing a SharePoint Designer 2010 workflow that changed the content type from "New List Item" to "Submitted List Item" on item creation.  This method allows the default Newform.aspx to display five fields, then the default Editform.aspx shows many more fields.  Because it is not necessary for users to be aware of the content type, we have turned off "Allow management of content types".  This worked perfectly in the old WF, but Power Automate appears unable to update the content type after I turn off management.  Can Power Automate flows not manipulate content types with management turned off?  I realize I can now use Power Apps forms instead of the Flow approach -- this is really more of a question for future reference.  Thank you.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA 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 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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (10,085)