cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Frequent Visitor

Re: GetItems doesn't retrieve all lookup field in OData

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

Re: GetItems doesn't retrieve all lookup field in OData

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 blog

Power Automate Video Tutorials
Highlighted
Frequent Visitor

Re: GetItems doesn't retrieve all lookup field in OData

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,227)