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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,933)