Accessing Script Libraries from Forms

Hi,

Im running Designer 6.0 and am having difficultly accessing a javascript file located in folder Shared Code/Script Libraries from a web based Designer 6.0 form.

I tried accessing the script by file name as:

This was unsuccessful, and I couldn’t figure out the correct path to access the script file from the web.

Anyone have any ideas?

Subject: Accessing Script Libraries from Forms

Paste the following in the html head section of your form:DBurl := “/” + @ReplaceSubstring(@Subset(@DbName;-1);“\”;“/”);

“<script type='text/javascript' src="” + DBurl+ “/">” + @NewLine

let me know if this helps

Subject: Accessing Script Libraries from Forms

Open the form, open the JS Header event and click in to the programmer’s pane as if you were going to write some text. Go to Create…Resource…Insert Resource… in the menu. You can select your JS library from there.

Emily.

Subject: See Designer Help

Index: Script Libraries > creating > Using Script Libraries.Click the link "Incorporating a JavaScript script library.

Subject: Accessing Script Libraries from Forms

there’s another way which works in r5 (and i assume in r6). You can add a js file as an image resource. then reference as…

where is…

@Subset(@DbName;-1)