The Resource List widget is used to display various types of Foundry resources:
This type of list is used to display collections of Files and Projects resources, either fixed statically or generated dynamically for every user viewing the widget, in accordance with existing Files and Projects hierarchy and permissions.
When the Files and Projects resources option is chosen from the Type of the Resource list dropdown menu in the widget's configuration, you can also select a subtype of resources using the Content of the Resource list menu:
This type of list is used to display collections of object types, either fixed statically or generated dynamically for every user viewing the widget, in accordance with existing Ontology permissions and settings.
When the Object types option is chosen, you can choose one the following subtypes from the Content of the Object type list menu:
This type of list is used to display a statically fixed collection of object sets, where each item is backed by a Workshop object set variable. To create an Object set list, choose the Object sets option from the top-level dropdown in the widget's configuration.
Below is an example of a module that contains multiple Resource lists. Files and Projects resources are located on the top of the module displayed horizontally. Below them, the section titled Your favorite object types contains object types, and the column next to the object types contains object sets.
The Resource list widget also supports a number of interactions and display options, including:
For each of the list types, if the list is statically fixed then each item can have its display customized. By default, the widget will show the item's display metadata identical to the ones a resource has in Files and Projects or in the Ontology. For example, a Slate dashboard will display a Slate icon the title that appears in the Slate app. Similarly, an object type will show its Ontology icon and title. In some cases it might be desirable to provide different values for these display metadata, or, in case of image card list format, to provide a specific image called a thumbnail for each item.
To customize an item's display, select that item in the widget's configuration editor and toggle on the Display Overrides section. The following metadata can be specified or overridden:
Each item on the Resource list is interactive. The action performed will depend on the type of the list:
For all types of the Resource list, you can override the default action when the widget displays a static list of items. In widget's configuration editor, select the item and add any number of standard Workshop Events. Use the On selection of resource for Files and projects resources, On selection of object type for object type resources, and On selection of object set for object set resources.
You can reference the selected object type item or object set item itself in the Event configuration if the Selected object type or Selected object set variable is set in the main widget configuration for the correct type. Refer to Workshop Events for more information on using variables in Events.
In the Selected object type or Selected object set section of the main widget configuration, you can set the variable that will contain the value of the selected object type or object set.
Navigate to the configuration of a specific item by selecting that item in the Content of the resource list section. Then use the configured Selected object type or Selected object set variable in the Event configuration. In the example below, the variable is a parameter for the Open Object explorer Event.