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 powerapps run scri...
Power Apps
Unanswered

Can powerapps run scripts so far?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hello all:

 

That is my question, can a canvasapp run a script in a HTML text control? this source is for track a vessel from here https://www.vesselfinder.com/es/embed

 

 

<script type="text/javascript">
 // Map appearance
 var width="100%"; // width in pixels or percentage
 var height="300"; // height in pixels
 var names=true; // always show ship names (defaults to false)

 // Single ship tracking
 var imo="9506291"; // display latest position (by IMO, overrides MMSI)
 var show_track=true; // display track line (last 24 hours)
</script>
<script type="text/javascript" src="https://www.vesselfinder.com/aismap.js"></script>

 

 cheers!

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    @Anonymous 

     

    Do you mean you want to run the app in the HTML Text control?

    I am afraid this is impossible in PowerApps, If you want this, please submit an idea to PowerApps Idea Forum.

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas 

    Sik

  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    From what I'm inferring here, you'd like to use the service from Vesselfinder to display a map on your screen that indicates the location of a vessel. You might optionally want to pass the ship tracking number from your app to Vesselfinder. 

    If this is the case, one way to do this is to write a PCF control. A good place to start is to look at this example. This example works against Google maps, but you could adapt it to work with Vesselfinder because the methodology would be very similar. 

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/map-control 

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @timl Thank you so much, this means I would use an API service?

  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    It's not necessary to use an API service.

    If you have some web hosting somewhere, another option would be for you to use the Iframe component. If you can host a page that points to Vesselfinder, you can display this on your PowerApps screen with an Iframe.

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/iframe-control 

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard