This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Question Editor API


Used to set the metadata of a widget. It only has an effect if called before setWidget. Instead of calling setMetadata and then setWidget, you can call setWidget with the widget's json and metadata as arguments.


  • metadata object

    Metadata object of the widget.

Return value


If metadata is an object, true is returned, otherwise false

Was this article helpful?