Create and populate a new global list
The Create and populate a new global list
recipe can be used to create a new global list in PIM and populate it with items. The global list will be based on the PString
datatype.
You can execute the recipe in the chat by writing /recipe create-and-populate-a-new-global-list
or through the recipe tab, finding the "Create and populate a new global list" item, and pressing play.
The recipe will ask for a system name, and if the global list is not already present, it will create the list:
When the list is created, you can provide a comma-separated list of items (like Red, Blue, Yellow
), or ask BAIA to create items based on a prompt (like All primary colors
):
After approving the API call, the items will be created: