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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Hiding SelectedRecordT...
Power Apps
Answered

Hiding SelectedRecordTitle when submitting a new request

(0) ShareShare
ReportReport
Posted on by 11
Hi all,
 
I have an app that displays requests on the left-hand side (SideBarContainer), and a new form to submit a new request on the right (MainContainer & RightContainer).  Included in my MainContainer are the fields required to submit a new form.  In the RightContainer/SelectedRecordTitle, by default is showing the request number depending on what I have selected in the SideBarContainer (which is correct).  However, when I go to submit a new request, I want that SelectedRecordTitle (which is Request #) to be hidden.  Note:  I can hide it all together by using the visible property, but I do want it to be shown when the "new request" option is selected.  I've tried to use an IF with editMode in the visible property, but it completely hides it as well. I feel like I am close but just can't seem to get it.    
 
Any help would be appreciated.  Thanks!!
Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,685 Super User 2025 Season 2 on at
    Hi
     
    You wrote I've tried to use an IF with editMode in the visible property, but it completely hides it as well. I feel like I am close but just can't seem to get it.    
    but didn't actually share the code. Since an IF doesn't do anything alone you should share and explain what you are doing an IF on.
     
    You would use the EditMode
     
    So essentially in the visible. Just make sure you are setting the forms mode properly
     
    Switch(EditForm.Mode,
     
         FormMode.Edit,
           false,
         FormMode.New,
           true
          FormMode.View,
            false
    );
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 408

#2
WarrenBelz Profile Picture

WarrenBelz 382 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 328 Super User 2025 Season 2

Last 30 days Overall leaderboard