For this app, we need to keep track of the first admin who opens a submitted form. There is a field that will display the name of the admin.
We have an Open Request button which is only visible to the admin members.
When an admin member view a form and click on the Open Request button, the status will change to "Open".
Currently we used the function User().FullName. So, it displays the name of any current user who is viewing the form and will keep changing across users.
Is there a way to declare that allows us to capture and display the name of only the first admin who opened the form upon clicking Open Request button?
It went blank only when I refresh the page.
and PICopen is a text box.
So, with the Patch i'm still unable to store current user name in the datasource. I tried using this but it seem to not work?
Copy and paste the formula
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
For the Patch part:
Patch('Request For Quotation', Defaults('Request For Quotation'), {PICopen: {'@odata.type':"#microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
DisplayName: User().FullName,
Claims:"i:0#.f|membership|" & Lower(User().Email),
Department:"",
Email:"",
JobTitle:"",
Picture:""},'PICopen Date':SharePointForm1.LastSubmit.'PICopen Date'});
User | Count |
---|---|
221 | |
99 | |
94 | |
55 | |
36 |
User | Count |
---|---|
273 | |
105 | |
104 | |
60 | |
60 |