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 / Can PCF Component take...
Power Apps
Unanswered

Can PCF Component take values from hidden fields?

(0) ShareShare
ReportReport
Posted on by 13

I have a field named "URL" in my form. The field is hidden in the form. The value in the field gets auto populated through a workflow. I have a PCF Component that must take the url from "URL" field (which is hidden in the form) and open the url in a new window. Is this possible?

  • Hemant Gaur Profile Picture
    Microsoft Employee on at
    Haven't checked as such but I believe hidden fields are not attempted to render whether OOB or custom PCF. You can hide label and not render anything and place these at end of some section so that visually it does not take space (there are some borders etc because of field section item). On the control init you can use the open URL method to launch the url.

    Alternatively same openURL client API can be used and attached to form load event.

    Hemant
  • Ben Thompson Profile Picture
    1,400 on at

    Why does it need to be a PCF? Given the fact the URL will be opened in a new browser window, surely it's better for that logic to be in a Javascript function attached to the onchange trigger of the hidden field.

     

    This seems to be a case of creating something for the sake of it while adding weirder potential support issues.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard