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

Community site session details

Session Id :
Power Pages - General Discussions
Answered

Hiding a field in Power Pages that I need to be visible in Power App

(2) ShareShare
ReportReport
Posted on by 143
I have created a Feedback table which is then incorporated into a Powerpage as a form. I have included a lookup column in the Power App called "related contact" which I want to use to tie the feedback to the Contact manually (using postcode and other data to compare). I cannot find a way to hide this field in the Power Page form though. There surely must be? Any guidance will be very much appreciated. 
Categories:
I have the same question (0)
  • Suggested answer
    DP_Prabh Profile Picture
    21 on at
    Hiding a field in Power Pages that I need to be visible in Power App
    Hi,
    To hide the "related contact" lookup field on the Power Page form (without affecting the Power Apps form), use JavaScript on the Power Page. Inspect the form to find the field’s HTML ID (e.g., relatedcontact_d) and add JavaScript to hide it using style.display = "none". This keeps the field on the form (so it can still be used programmatically) but hides it from the user interface.
  • CD-28031715-0 Profile Picture
    143 on at
    Hiding a field in Power Pages that I need to be visible in Power App
    @Michael E. Gernaey I sorted it by using 2 forms as @Fubar suggested. Works a treat and I don't know why I didn't think of it sooner! It's a continuous learning process isn't it?
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Hiding a field in Power Pages that I need to be visible in Power App
     
    Were you able to resolve this? Did any of the suggestions help? If not can you post what you did to help others.
     
    Cheers
  • Verified answer
    Fubar Profile Picture
    8,058 Super User 2025 Season 2 on at
    Hiding a field in Power Pages that I need to be visible in Power App
    Because you have details for internal processing that you do not want on the portal, use 2 separate Dataverse Forms (one with the fields for internal use the other without) - this is common practice, very rarely would I use the same form for the Model Driven App and the Portal.
     
    Also, if you set a field properties on the dataverse form to hidden (visible no) it will not be present on the portal (and in the model driven app you could set it visible with a Business Rule) - but as mentioned earlier I would do 2 forms.
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Hiding a field in Power Pages that I need to be visible in Power App
     
    Create a View that doesn't have that column in it and use the View. again since I cannot see anything it would still be better to understand.
     
    Also, to see how you build the PP itself, as its definitely possible to essentially "hide" a column if you will by not adding controls that show it, or by using views to only show that, or to write custom PFX that only uses certain columns.
  • CD-28031715-0 Profile Picture
    143 on at
    Hiding a field in Power Pages that I need to be visible in Power App
    Many thanks @Fubar and @Michael E. Gernaey for replying. Sorry Michael, I created a form in my model driven app and it's this form that filters through to power pages (not the table as such!). I have a lookup column in the model driven app that I don't want to be visible in the power page, as it's for internal use only to link the feedback to a Contact internally once the feedback has been received. 
     
    Fubar, the users will be anonymous users rather than logged in, however they will likely have a Contact record in the model driven app, hence the reason for having a look up column to link them manually once the feedback has been received. I have had a look at the form metadata options, but can't find anything that allows me to hide a column. I believe this can be done using Javascript, but I'm doing my best to avoid that if possible!
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Hiding a field in Power Pages that I need to be visible in Power App
     
    My apologies I am a little confused(too easily lol)
     
    Can you please share pictures to make it super clear what you are saying, as you went from Power Pages, then talking about an App which you hadn't mentioned before and I am not sure how you made a Table a form.
     
     
  • Suggested answer
    Fubar Profile Picture
    8,058 Super User 2025 Season 2 on at
    Hiding a field in Power Pages that I need to be visible in Power App
    The answer may depend on how you are intending to use the Lookup on the portal. I suspect what you need is to use a second Dataverse form (so you have 1 for the App and a different one for Power Pages) - this is common practice as it is more secure than hiding things with JavaScript/JQuery (e.g. copy the existing form, then remove the field in question or mark it as not visible)
     
    If you need to set the lookup to the currently logged in portal user, then on the basic form you can associate the contact either on the Power Pages Form definition or using a Metadata record for that form both these options are available in the Power Pages Management App (the first under Additional Settings on the form definition, and metadata as a related record to the form).
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2