cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
HollyHugo
Level: Powered On

Get Sharepoint list field value and assign to a variable in the OnStart or Edit Mode ?

In Powerapps I'm trying to set a variable in the OnStart of my app which is a sharepoint-integrated app, so that I can edit or change the currently “assigned to” person, and then only send an email when the “assigned to” person an email.

I have a SP column that is a people picker called “Assigned To”.   I need to get the current value of ”Assigned to” person and populate into a variable so that I can check at the start who the currently assigned person of the SP list Item is !

Then when the form is in edit mode if I change the assigned to person, I can do a compare of the current to previous and send an email only when the assigned to person has changed.

I have tried to use the set var command with no luck.   Not sure how to go about this.

I would prefer to bring the complete record that needs to be edited, so I was wondering if I should use a collect function to bring the record being edited into PowerApps, then assign that field to the variable.. ?

1 REPLY 1
ChrisHartmann
Level: Powered On

Re: Get Sharepoint list field value and assign to a variable in the OnStart or Edit Mode ?

Did you ever find a solution to this?

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 42 members 3,951 guests
Please welcome our newest community members: