Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am tasked in developing a form which is going to record and store data into a SharePoint list (Office 365 online SharePoint) So far I have been looking into two different methods I am not sure if they are suitable given the requirements of the work scope. The requirement is that each form has to be assigned to a unique ID/serial number and the data in the form has to be passed to a SharePoint list.

What I have tried:

The first method that I have looked at is using Microsoft Forms to be the online form to collect the data and Power Automate to get the data and put it into a SharePoint list. The problem is I do not know if there is a way to assign a unique ID on the form itself before submitting the form. Is there a way or method where I can autogenerate a unique ID/serial number on a form before submitting it ?

I am also looking at using PowerApps to create a form which will be linked to the SharePoint list. Is there a way to autogenerate a unique ID/serial number and prepopulate it on the form?
Posted
Updated 28-Oct-20 4:27am
Comments
CHill60 28-Oct-20 11:04am    
As per your other question - not really. Why do you want the ID before filling in the form? PowerApps will generate a unique identifier in the table anyway
Member 15055827 25-Jan-21 14:26pm    
I have a similar question, and the reason we are looking for a unique identifier is because we are putting a Forms survey on news articles published on our SharePoint site and want to be able to distinguish the responses for each article vs. getting generic responses and not knowing which article the person is rating.
CHill60 26-Jan-21 4:31am    
I suppose you could try a 2-step process with PowerApps - when the form is opened create dummy data which is added to the sharepoint list - capture the unique identifier created and "give" it back to the PowerApps form. You'd need some sort of "tidy up" for when the form is abandoned without submission though

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900