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

How to assign Sharepoint list field values on Submit that are not on the Form

Hello all,

 

I am new to PowerApps. I have a form with bunch of fields from SharePoint list. Since those fields are on the form in various cards, onsubmit it saves the data into respective fields.

 

I have additiional fields in the list (i.e. Logged in User Name, Current Users Email etc.).

 

I want to assign values to these fields using some logic or hard-coded value as user submits the form.

i.e. When user submits - I want to save the form fields data + following

- in Logged in User Name = Current SharePoint User,

- in Current Users Email = Current SharePoint Users Email Address

- in Date Submitted = Today's Date

- in Status = "Submitted" 

 

Please help.

 

Regards,

Nick

1 REPLY 1
Super User
Super User

Re: How to assign Sharepoint list field values on Submit that are not on the Form

Hi @Nick2020,

The place for saving these values is in the Update property of the card on the form. The first two can be submitted with the User() function.  This function provides the User name, User().FullName and the User email, User().Email 

Check it out by putting a label on a blank screen and User().FullName as the Text property. You can do the same for Today() and for Status put "Status", you will need the double quotes for Status.  Screenshot_1.png

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

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!

Users Online
Currently online: 45 members 4,458 guests
Please welcome our newest community members: