Highlighted

API not returning value for url field of WidgetItem

Explorer ,
Dec 29, 2015

Copy link to clipboard

Copied

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....



Topics

Bug Error, Feature Request or Idea

Views

189

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

API not returning value for url field of WidgetItem

Explorer ,
Dec 29, 2015

Copy link to clipboard

Copied

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....



Topics

Bug Error, Feature Request or Idea

Views

190

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 29, 2015 0
Adobe Employee ,
Jan 02, 2016

Copy link to clipboard

Copied

Hello Nathan,

Can you inbox me your email address so that I can check your account and API logs associated with this call?

Regards,

-Rijul

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 02, 2016 0