Jump to content

UnimHTMLFrame Custom Script (I would assume same for non mobile)


andyhill

Recommended Posts

Although I can use UnimHTMLFrame.HTML.Add to accomplish this, as a learning piece can I have help to do this via the UnimHTMLFrame aftercreate Event as well.

I have been having intermittent API Key Registration Failures (iPhoneX) with Google Map API (initialised in ServerModule CustomFiles) so I am trying to simulate the adding of CustomFiles with the  UnimHTMLFrame aftercreate Event in order to execute the following URL (API Key Registration) but I get the following error (see attachment) - please advise - thanks in advance.

 

function aftercreate=aftercreate(sender)
{
window.location = "https://maps.googleapis.com/maps/api/js?key=mykeygoeshere&callback=initMap";
}

Errors-2.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...