cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Knguyen94
Frequent Visitor

GetItems doesn't retrieve all lookup field in OData

Hi, 

 

I set a view "Recensement"  of 7 columns which contains 3 lookup up fields based on 2 other lists. 

-  ["Unite"] from  List 'A'

-  ["Situation"], ["Situation:title"] from List 'B'

 

I set my GetItems to limit the field to "Recensement" view

http://prntscr.com/rjnap7 

 

However, I'm able to retrieve ["Unite"] but not the 2 other columns in my Odata

http://prntscr.com/rjndck 

 

I tried to create another list with same view and it works. 

http://prntscr.com/rjnkg5

 

Do you have an idea why ? 

 
 
 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Knguyen94
Frequent Visitor

Hi,

 

I found the solution

 

Fields which are not populated, are not retrieved in the "Get Items" actions. 

 

So I have to check first with this condition if(not(empty(item()?['Situation']))) to see if the field is in the Odata.

 

Thanks.

View solution in original post

2 REPLIES 2
abm
Super User III
Super User III

Hi @Knguyen94 

 

Are there any custom security for List A and B?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
Knguyen94
Frequent Visitor

Hi,

 

I found the solution

 

Fields which are not populated, are not retrieved in the "Get Items" actions. 

 

So I have to check first with this condition if(not(empty(item()?['Situation']))) to see if the field is in the Odata.

 

Thanks.

View solution in original post

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,519)