Adding Lists

Use this task to develop one or more lists that you can use to create selectable options for a combo box or list control on your card. The list can include ties to other controls on the card or can trigger an add-in that provides selection.


Before you begin:
  • Create or edit a card. If you want your list to include a tie in with another control, create the other control. For example if you want one of the options on the list (RANGE) to be tied to date field control entries, your card needs to include the two date field controls.
  • If your list is to specify add-ins, install the add-ins on the Connector for SOLIDWORKS server.
See Also
Adding a Combo Box or List
List Dialog Box

Context: You must have one or more lists to use the Standard text option when you create a combo box or list control. Likewise, lists are required to select a card type for the Controlled by attribute option when you create a combo box or list control.

Note: If you need lists for more than one customized card, you must create new sets of lists for each card.

  1. From the Card Editor menu, select Card > Lists.
  2. From the card's Lists dialog box, click Add.
  3. From the List dialog box, type a name for your list in List name.
    For example, for a list based on one or more date field controls, you could type, DateList.
  4. From Data type, select the type of list to control with the List feature. Do one of the following:
    • To select an add-in, select Add-in (User Exit) and select an Add-in CLSID (Class ID).

      Add-in CLSID (Class ID) only provides options for add-ins installed on the Connector for SOLIDWORKS server.

    • To enter values, select Text and type values in Data, one value per row.
    • To create dynamic date entries, select Text with Alias and:
      1. In the Displayed Value column, click Click to Edit.
      2. Type in the text box a value.

        For example, appropriate values for DateList include Today, This Week, and Range.

      3. Select or type an appropriate alias for your Displayed Value.

        For example, an appropriate selection for Today is TODAY, whereas for Range, you could type RANGE.

  5. To add language translations for Text or Text with Alias entries:
    1. Click the + tab.
    2. From Language, click and select the appropriate language.
    3. In Data, enter the translations.
  6. Click OK.
    Your list appears in the card's Lists dialog box.

You can now select your list in the Standard text option of a combo box or list control. Your list then determines the selections available to users for that control when they complete your customized card.