SP.SOD.registerSod(key, url) Method

SharePoint 2010

Last modified: April 18, 2011

Applies to: SharePoint Foundation 2010

Registers the specified file at the specified URL.

SP.SOD.registerSod(key, url);


Type: String

The name of the file to register.


Type: String

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

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