cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Sharepoint integration help

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

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

1 REPLY 1
New Member

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

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,450)