DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • SelfService HR Dashboards with Workday Extend and APIs
  • How We Reduced LCP by 75% in a Production React App
  • Shipping GenAI Into an Existing App: How to Integrate AI Features Without Rewriting Your Stack
  • Modernizing Applications with the 7 Rs Strategy – A CTO's Guide

Trending

  • From Data Movement to Local Intelligence: The Shift from Centralized to Federated AI
  • Why Pass/Fail CI Pipelines Are Insufficient for Enterprise Release Decisions
  • LLM Integration in Enterprise Applications: A Practical Guide
  • 11 Agentic Testing Tools to Know in 2026

Iframe PCF Control Used in MS Power App

To open a third-party Website from the Power app, we found the option of using Iframe PCF Control instead of dealing with the launch command function error.

By 
Ethan Millar user avatar
Ethan Millar
·
Sep. 20, 21 · Tutorial
Likes (1)
Comment
Save
Tweet
Share
9.9K Views

Join the DZone community and get the full member experience.

Join For Free


Currently, we have a requirement to Open Third-party Website from the Power app. In the Power app, we have the function Launch command to open a website from the power app. But when we used this Launch function,  got one error/issue “Cross-origin” in the chrome browser.

So, to resolve these issues we found one option using Iframe PCF Control for opening a third-party website. Iframe PCF control works the same as Iframe in HTML. It will display a web page within a web page. This article will teach you how to used Iframe PCF control in the Power app.

1. Go to the PCF control website, Search Iframe PCF control tools and click on the download icon.

Iframe PCF

2.    It will go to github.com and download Iframe Solution and Dynamics Solutions managed one. 

 Download Iframe Solution


3.    Once the download is completed then import it into your Environment and click Publish all customizations.

 Publish All Customizations


4.    Go to PowerApps and create a blank Canvas App save that app with your name.

In this example, we are using “Iframe APP”.

 Creating Iframe APP


5.    Open the iframe app and click on components. Select the Import components button. 

We do not see the canvas, code option import screen. To enable that feature, we need System administrator privilege to enable the Power apps component feature in that environment.

i)    Navigate to Power Platform Admin Center.

ii)    Go to the Environments-> Settings->Product->select Features -> Switch ON.

 Power Platform Admin Center


6.    Once the power app component framework feature is enabled then we can see the code option into the import component. Select IframePCF control into App and put URL in Src properties 

 

IframePCF Control


Unit-Testing

7.    Go to PowerApps and select the Iframe app and play it.

 

Unit Testing

That’s it from this blog.

app IFrame (video format)

Opinions expressed by DZone contributors are their own.

Related

  • SelfService HR Dashboards with Workday Extend and APIs
  • How We Reduced LCP by 75% in a Production React App
  • Shipping GenAI Into an Existing App: How to Integrate AI Features Without Rewriting Your Stack
  • Modernizing Applications with the 7 Rs Strategy – A CTO's Guide

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook