web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set Value of a hidden ...
Power Apps
Unanswered

Set Value of a hidden column on a SharePoint list within PowerApp

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

  • I have a PowerApp which has a form to populate a SharePoint list.
  • I have a hidden column on this SharePoint list.
  • I want to populate this hidden column with a value from another column that is not hidden and the user will be populating.

How can I do this? Ideally I would populate it before submitting the form, but I don't have to, I'm not fussed.

 

Thanks

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Goochy13 

    You could put a patch in the OnSuccess property of the form.

    Patch(Splist, Form1.LastSubmit, {hiddencolumn: Textinput.Text})

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@Goochy13

    Do you want to populate the hidden column with the current user name?

    Could you please tell me that is this hidden column a read-only column generated automatically by SP list?

    Combine that with your description, I assume that this hidden column is 'Created By' , you want to modify the user within the 'Created By' with another column value and this unhidden column is populated with a certain user name, right?

    If my understanding is correct, I am afraid that there is no way to achieve this currently in PowerApps.

    The 'Created By' column is generated automatically by SP list that will be populated with the user who created this record when submitting the form. This kind of column(generated automatically by SP list) is read-only that we could not modify it.

    As an alternative solution, I think you could consider creating a new column to achieve this.

    I assume that another unhidden is a Person column containing users display name.

    Create a Text column and add this field into your form, set its Default property as below:

    DataCardValue8.Selected.DisplayName

    Note: DataCardValue8 represents the Combo Box corresponding to the unhidden Person column.

    This will help you populate it before submitting the form.

    If I misunderstand your needs, please feel free to contact me.

    Regards,

    Qi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard