cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bahalzamon
Advocate II
Advocate II

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
Pstork1
Dual Super User
Dual Super User

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

View solution in original post

6 REPLIES 6
Pstork1
Dual Super User
Dual Super User

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

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

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

@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

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

@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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,113)