cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbanda
Level: Power Up

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
bbanda
Level: Power Up

Re: Sharepoint integration help

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
bbanda
Level: Power Up

Re: Sharepoint integration help

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,589)