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

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

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

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

Pstork1
Dual Super User III
Dual Super User III

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.

@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

Pstork1
Dual Super User III
Dual Super User III

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.

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

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.

Users online (2,722)