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 / Custom Sharepoint Form...
Power Apps
Answered

Custom Sharepoint Form /if isblank then User().Email, if already E-mail then no action

(1) ShareShare
ReportReport
Posted on by 254

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. 

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    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)
  • Verified answer
    Applicable88 Profile Picture
    254 on at

    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 

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 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard