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?
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
View solution in original post
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand