cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

keep track of admin opening a form

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?

 

12 REPLIES 12
Anonymous
Not applicable

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?

 

tempsnip4.png

 

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.

Anonymous
Not applicable

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'}); 

 

 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (11,966)