I have a powerapps form linked to Sharepoint List. The powerapps form has a created by field the system generated author field which is of type Person/ Group in list and a combobox type in Powerapps form. On creation of new item, i need this to be populated by the logged in user and then that user will fill in the details and SAVE/ Submit form. Therefore, the Created By field is the one who was logged in . Now, when the list item is opened in Edit Mode i need the Created By field to be populated in the same field.
Kindly help.
Solved! Go to Solution.
You can easily display the name of the current user in a field on the new Form. You just can't Submit that field when creating the record. Just add a Text field and set the Text value to User().FullName. But as you've noted the system doesn't set the Created By field until after the record is saved and there is no way for you to override the system and set it yourself.
The Created By field is a system field and its very difficult to make any changes to it. But if a logged in user uses a PowerApp to create a new item then they will be listed in the Created By field because they created the item. When they edit it then their name will be listed in the Modified By field and the Created By will remain the original createor of the list item. That's the way SharePoint is designed to work.
The Created By field will be stamped only after Save / Submit. I need the name to be displayed when the user clicks on New also.
You can easily display the name of the current user in a field on the new Form. You just can't Submit that field when creating the record. Just add a Text field and set the Text value to User().FullName. But as you've noted the system doesn't set the Created By field until after the record is saved and there is no way for you to override the system and set it yourself.
Hi @cyberco01
If @Pstork1 's suggestion fix your issue,please accept it as solution.
And more information:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-current-user
Best Regards.
Yumia
User | Count |
---|---|
134 | |
131 | |
97 | |
75 | |
74 |
User | Count |
---|---|
206 | |
197 | |
70 | |
60 | |
52 |