SP.SOD.registerSod(key, url) Method

Applies to: SharePoint Foundation 2010

Registers the specified file at the specified URL.

SP.SOD.registerSod(key, url);

Parameters

key

Type: String

The name of the file to register.

url

Type: String

The relative (to the server root) URL of the file.

Remarks

You must call this method before you can call any functions within the file.

Applies To

SP.SOD Class

See Also

Reference

SP.SOD Methods

SP Namespace

Other Resources

SP.SOD Properties