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

Super User Rank
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