Skip to main content
Inspiring
December 29, 2015
Question

API not returning value for url field of WidgetItem

  • December 29, 2015
  • 1 reply
  • 422 views

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



This topic has been closed for replies.

1 reply

Inspiring
January 3, 2016

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