i want to display 2 sharepoint lists(connected by lookup field) in a common datatable on a page using rest api. The functions for retrieving data from both the tables should be different
i want to display 2 sharepoint lists(connected by lookup field) in a common datatable on a page using rest api. The functions for retrieving data from both the tables should be different
Hi @Mahi-9844 ,
We can retrieve all datas connected from one of the list by rest api. I created two list. Table 'CompanyTest01' has a column 'Company' look up table 'Address' with two columns : 'City' and 'State'.I tested the following code and successful retrieve all datas.
133452-sample.txt
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @Mahi-9844 ,
I am checking to see if the problem has been resolved.
Hi @Mahi-9844 ,
If there's anything you'd like to know, don't hesitate to ask.
8 people are following this question.
Hide lists for the Sharepoint site: Limit access to PowerApps only
Sharepoint Online Search error with CSOM
Sharepoint online - copy files programmatically
Sharepoint - Unable to Filter Views Based On Responsible Party (Email)
Error deploying SPFx Library component solution package with webApiPermissionRequests