Hello,
I'm using a customized sharepoint form via PowerApps. Normally users making inputs via a PowerApp. There is a grayed out field
where I automtatically pulling the users email in a input field: User().Email
Now I also have a customized form in Sharepoint where users can manage their old items or correcting mistakes. Since every person in the department can correct the items of others, using the same User().Email function would overwrite the actuall creator of that entry.
So I want something like : If (!isblank(DataCardValue1.Text); User().Email)
Which means: When I'm editing a existing record of a collegue don't overwrite email, in case I'm making a new item via customized form then automatically input my email.
Hope somebody has an solution to this.
Best.
Solved! Go to Solution.
Actually in my case its the DataCardValue which is working, but the Parent.Default not.
I wrote wrong when I added .Text or .Value at the end.
Still thank you very much to lead me to the right result @iAm_ManCat
Hi, yes you want to reference the Parent.Default for that item, not the value of the textbox:
// if Parent.Default (the edited value) is blank then user UserEmail, otherwise use the existing value
If (IsBlank(Parent.Default); User().Email; Parent.Default)
@iAm_ManCat |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
Actually in my case its the DataCardValue which is working, but the Parent.Default not.
I wrote wrong when I added .Text or .Value at the end.
Still thank you very much to lead me to the right result @iAm_ManCat
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
203 | |
45 | |
45 | |
45 | |
39 |
User | Count |
---|---|
279 | |
81 | |
79 | |
79 | |
69 |