Skip to main content
5-Regular Member
September 3, 2015
Question

What's the syntax to access a widget's property (e.g. Panel > Visibility) from a Thing javascript service as well as from REST?

  • September 3, 2015
  • 1 reply
  • 1094 views

I want to to control Panel widget's visibility from javascript service but I donot know the syntax to access the widget's property (the widget is a part of home mashup).

I would like to know how to use REST API to access (get,set,update) widget properties.

Thanks

    1 reply

    1-Visitor
    September 3, 2015

    Since Widgets are pieces that run client side, I don't think it will support REST API calls.

    Is there a reason for you to need to control this externally vs. from within the Mashup itself? Since Visibility is a bindable property it is easy to control that within the mashup.