This is my first portal power app so please bear with me.
I have a table which uses GUID as a primary key. Now in portal app I have a form and when a new record is created I want to automatically assign a GUID to it.
Earlier I had a canvas app so I was generating a GUID on submit of the form which used to get saved in the backend.
I want to do the same in portal apps as well.
Kindly help me in getting this.
Hi, is there any reason why you would want to generate the GUID yourself?
The best practices is not to generate GUIDs manually, unless you really need for very specific scenarios
The OOB code will leverage the NEWSEQUENTIALID SQL function that will help with indexing and performance
Take a look at these articles for additional info:
Thanks Oliver, but I was generating means I was using GUID() function to generate GUID , but that was in CANVAS app. I want the same to be done behind (on select property) a Button in PORTAL POWERAPP
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.