I'm trying to add an if statement to the onedit action formula that if the current user is the creator of the item they get the createform screen and not the editform screen.
I'm trying to say:
If( Office365Users.MyProfile().DisplayName = 'List Name'.Author, Set(SharePointFormMode, "CreateForm")...
But Author is a people picker field therefor its a table not text. I can't figure out the syntax to select DisplayName from the sharepoint Author field.
Is this possible?
Solved! Go to Solution.
I ended up working around this by doing an updatecontext on author change to a variable and using my variable.displayname in my formula
I ended up working around this by doing an updatecontext on author change to a variable and using my variable.displayname in my formula
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
200 | |
185 | |
69 | |
42 | |
34 |
User | Count |
---|---|
346 | |
274 | |
124 | |
80 | |
64 |