Link to home
Start Free TrialLog in
Avatar of Dorinda Reyes
Dorinda Reyes

asked on

Populate Popup Modal with information matching from list to user signed into SharePoint

I have a custom list that has a custom edit.aspx form which is attached to a modal popup form.  My issues is I need to be able to find the matching record in the list of 1300 people that is associated to person who is signed into the SharePoint site.  I do not want then having access to the main list we just want them to click a button on the home page it populates the information with the person authenticated and they fill out two fields and click save and it returns them back to the home page.  They never go to the main list at all.  I have everything working as expected up to pulling the information from the list into the form.

Is this possible?

Thanks
Dorinda
Avatar of Walter Curtis
Walter Curtis
Flag of United States of America image

You can apply a filter to the list view that users the parameter [ME] that will filter items to show only items that match the user name.

Good luck...
Did you try using rest apis to get data from the list.  With rest api and J query you can retrieve all the data from the list then you can filter it with your logic and pick the values you want.  Here is one link to get you started.
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.