<-- Back

How to specify widgetType for Combo Box when creating design properties using the Model SDK

Introduction

Pluggable widgets, such as ComboBox, are identified by their widget ID, not by a namespace reference. This is why the Combo Box cannot be found under the pages namespace when creating the design properties API.

Environment

Combo box (all versions)

Instructions/Procedure

To target the Combo Box, use its widget ID from the package file by following the steps below:

  1. Locate the ComboBoxWidget.mpk package file.
  2. Extract the .mpk file (it is a ZIP archive).
  3. Open the package.xml file from the extracted contents.
  4. Find the widget ID in the id attribute of the <widget> element associated with the Combo Box widget.
  5. Use this widget ID as the widgetType when creating design properties in Model SDK.

The following screenshot shows the id attribute inside the package.xml file for the Combo Box widget:

Outcome

Upon completing these steps, using the Design Properties API to customize the ComboBoxWidget will be possible.

Internal information related

  • 241970

Additional information

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.