API not returning value for url field of WidgetItem
I'm working on creating a widget; when I upload a widget through the admin, and then run a getMyWidgets method using the API, I get the following:
object(stdClass)#814 (6) {
["documentKey"]=>
string(97) "[DOC KEY]"
["reusableDocumentStatus"]=>
string(7) "ENABLED"
["javascript"]=>
string(212) "<script type='text/javascript' language='JavaScript' src='[WIDGET URL]'></script>"
["modifiedDate"]=>
string(25) "[MOD DATE]"
["name"]=>
string(25) "[WIDGET NAME]"
["url"]=>
NULL
}
The actual widget url is part of the javascript code, but is not populating in the 'url' field - which we would use to create a personal widget. Not sure what the point of excluding it from the 'url' field but including it in the 'javascript' field....