cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Englishweb
Post Patron
Post Patron

Problem when 2 apps are sharing the same SharePoint list data

Has anyone experienced a problem when sharing data between 2 apps from the same SharePoint list?

I’m having problems populating a dropdown control in the 2nd app from a sharepoint list which is being written to by the first app.

What could I be doing wrong  wrong ? (I've checked the obvious permissions levels and other dropdown controls are working fine)

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @Englishweb ,


That sounds like the users don't have enough permission to read items created by other users?

Could you go to check the Item Level Permissions in SharePoint?

1. go to List Settings > Advanced Settings.

2. check Item Level Permissions section.

itemlevelpermission2.png

3. check 'Read all items' and 'Create and edit all items'.

 

Best regards,

Sik

View solution in original post

5 REPLIES 5
LRVinNC
Resident Rockstar
Resident Rockstar

I have multiple apps which access the same SP lists with no issues.  Please share more specifics of the problem you are having, including screen shots if possible, and we'll try to provide further assistance.

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Englishweb
Post Patron
Post Patron

Hello @LRVinNC 
Thanks for the quick reply - I should add that the dropdown works perfectly for ME but not for other users.
In the first app patch to sp list "StudentsList": Patch(StudentsList,Defaults(StudentsList),{Title:S1EmailConcat.Text,CurrentStudents:S1StudentNameConcat.Text});

In the 2nd app: Dropdown 1= 
Sort(Distinct(StudentsList,CurrentStudents),Result)

dropdown.png

Other users who are sharing both apps don't see anything in the top dropdown, however the second dropdown works fine for everyone (data from a separate sp list)

What could be blocking the first one?

Thanks

Hmmm... the fact that it does work for you does sound more like a permission issue than anything else.  I don't see any obvious issues with your dropdown and if it is working for you that would indicate the syntax is correct.    

 

To debug, you might simplify the dropdown (no sort, or no distinct, or neither) temporarily or try using a different column on the same list.  Or you might try putting the same data into a gallery (first just the field, then add distinct and sort) to see if they can see the data at all.  That would help further isolate the cause.

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
v-siky-msft
Community Support
Community Support

Hi @Englishweb ,


That sounds like the users don't have enough permission to read items created by other users?

Could you go to check the Item Level Permissions in SharePoint?

1. go to List Settings > Advanced Settings.

2. check Item Level Permissions section.

itemlevelpermission2.png

3. check 'Read all items' and 'Create and edit all items'.

 

Best regards,

Sik

hello @v-siky-msft 

Your suggestion was perfect THANK YOU!

All working now

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,692)