cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

What is the correct syntax for specifying multiple parameters in the url for a FileResource in a client side widget?

cdsouza
12-Amethyst

What is the correct syntax for specifying multiple parameters in the url for a FileResource in a client side widget?

I get the above error when trying to add the drawing library to a modified GoogleExtensions widget:

<FileResource type="JS" url="https://maps.googleapis.com/maps/api/js?key=MY_KEY&libraries=drawing" description="" isDevelopment="false" isRuntime="true" />

I've also tried:

<FileResource type="JS" url="https://maps.googleapis.com/maps/api/js?key=MY_KEY&libraries=drawing" description="" isDevelopment="false" isRuntime="true" />

In this case, the extension gets imported fine, but then it the drawing library is not really loaded.

Thanks!

Cletus

ACCEPTED SOLUTION

Accepted Solutions
cdsouza
12-Amethyst
(To:cdsouza)

Problem solved...  URL needs to be

<FileResource type="JS" url="https://maps.googleapis.com/maps/api/js?key=MY_KEY&amp;amp;libraries=drawing" description="" isDevelopment="false" isRuntime="true" />

Thanks!

Cletus

View solution in original post

1 REPLY 1
cdsouza
12-Amethyst
(To:cdsouza)

Problem solved...  URL needs to be

<FileResource type="JS" url="https://maps.googleapis.com/maps/api/js?key=MY_KEY&amp;amp;libraries=drawing" description="" isDevelopment="false" isRuntime="true" />

Thanks!

Cletus

Announcements


Top Tags