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 / Filtering Edit Form
Power Apps
Unanswered

Filtering Edit Form

(0) ShareShare
ReportReport
Posted on by 4

Hi,

I have a Power Apps ,Data Source is Dataverse.

In the Canvas App, there are two Screens. In the first Screen I am able to select trough a gallery a Worker.

After selected, in Screen two, if the User has a column in Dataverse it should show a couple of textfields.

Dataverse there are two Tables, first Contact and second OnboardingInterview.

I want to look if the Edit Field isBlank and if true make DefaultMode = FormMode.New else FormMode.Edit.

I've tried it with If(IsBlank(Form2);FormMode.New;FormMode.Edit), but didnt worked so im a little bit clueless.

Categories:
I have the same question (0)
  • Anchov Profile Picture
    1,986 on at

    Based on what I could gather from you your description, I think you will want to do something like won the OnSelect item in your Worker Gallery:

    If(IsBlank(ThisItem.EditField), NewForm(Form1), EditForm(Form1));

     

  • i_hate_it_404 Profile Picture
    4 on at

    It wont work with the solution u have given.

    The issue is that in my Gallery i filter all Worker from my table in Dataverse.

    In a list i can select one of the existing worker. After i selected one, im forwarding to the next page where i gatter all the infos of the Users. I also have textfields where the Users can fill information, for example training measuers. If the information is filled or one of the existing columns are filled, im trying to gatter the existing information and put them out on the screen in the textfields. But if the columns are empty it wont show any textfields. Therefore I'm trying to make the DefaultMode to FormMode.New so they see empty textfields to fill in the Information. So thats why i try to lookup if there is a information or not to change the DefaultMode from New to Edit or otherwise.

    I don't know if there is a easier way to do it because it's my first time working with Power Apps. Everything works fine, exept the one where i try to change the DefaultMode from Edit to New.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#2
11manish Profile Picture

11manish 186

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 105 Super User 2026 Season 1

Last 30 days Overall leaderboard