I have a situation where I'd like to create an item in a SharePoint list and then associate that with a document in a document library (Since we can't do attachments natively yet). However, with the way the workflow is, we need to create the item first, then upload the photo. As such, I would like to create an item, get the ID, and associate the ID to the document library in a lookup column.
Is there a way to get the ID of a newly created item in SharePoint?
Solved! Go to Solution.
Hi @mdannemiller,
You can get the ID of the new item after calling the SubmitForm function using the LastSubmit form property.
SubmitForm(FormName); FormName.LastSubmit.ID
-Oleks
Hi @mdannemiller,
You can get the ID of the new item after calling the SubmitForm function using the LastSubmit form property.
SubmitForm(FormName); FormName.LastSubmit.ID
-Oleks
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
272 | |
257 | |
87 | |
39 | |
34 |
User | Count |
---|---|
348 | |
249 | |
130 | |
68 | |
48 |