Announcements
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!
@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
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
@timl Thank you so much, this means I would use an API service?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 355 Most Valuable Professional
11manish 209 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2