cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Content Type/Non-Required Fields

Hello All,

 

I have a custom list with about a dozen different content types on this list.

When an item is created/edited I have a Flow trigger.

 

My issue is that I cant seem to access any of the data within the item itself beyond the fields that are shared between all of the content types.

Meaning if I have a field called "Appraisal Value" on 4 of the content types I cannot access the data within a Flow.

 

Am I going to need to use a SharePoint Designer Workflow?

Thank you for any assistance. 😃

 

-Bahalzamon

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Content Type/Non-Required Fields

What trigger are you using and are you limiting the columns returned using a view?  I just tried a test on a list with two Content Types.  I have access to all the columns when using a Get Item action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
Highlighted
Dual Super User II
Dual Super User II

Re: Content Type/Non-Required Fields

What trigger are you using and are you limiting the columns returned using a view?  I just tried a test on a list with two Content Types.  I have access to all the columns when using a Get Item action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Advocate I
Advocate I

Re: Content Type/Non-Required Fields

@Pstork1 Yup, that was it, it was the view, I cant believe it was somethign so small. lol

 

I am now running into another issue, the reason I had the view changed was due to there being too many look up columns and the error that goes along with that.

Is there a way to bypass this in some way or possibly break it up in some way?

Highlighted
Dual Super User II
Dual Super User II

Re: Content Type/Non-Required Fields

Probably the best thing to do would be to set the trigger to pull a base set of columns that you will need and then after finding out which content type it is you can use a switch to do a get item to retrieve the specific columns you need by creating a view for each content type.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Advocate I
Advocate I

Re: Content Type/Non-Required Fields

@Pstork1 True, but then i get to deal with the fun part of anytime I use those getItems it makes me do a for each even though there is no way to get more than one item using ID, ugh lol

 

Thanks for the assistance. =D

Highlighted
Dual Super User II
Dual Super User II

Re: Content Type/Non-Required Fields

Since the Trigger provides the ID of the Item you can use the Get Item action instead of the Get Items.  That way you only get the one item to use the fields for.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Advocate I
Advocate I

Re: Content Type/Non-Required Fields

@Pstork1 Yup, been one of those days lol

Thanks again, I ended up making a view for each content type as well as a couple that required 2 due to the number of look ups and all is functioning properly.

 

I appreciate the assistance. =D

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,416)