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
User | Count |
---|---|
228 | |
99 | |
95 | |
56 | |
33 |
User | Count |
---|---|
280 | |
110 | |
109 | |
64 | |
62 |