# Index Number

Phoenix keywords can reference items on a sheet. Many times, there will be multiple possible items, but you only want to select the Nth item. For instance, you want to return the 1st ink on a product. If Phoenix had a smartname for each individual possible ink, the list would be enormous. Instead, Phoenix uses a placeholder '#' symbol that you can replace with the index that you want to use. So for the ink example above, you would choose the keyword <ink.#.name> and replace the # with 1:

<ink.1.name>

Similiarly, for finding the number of times the 2nd product is placed in a project, you would use <project.product.#.placed> and then replace the # with 2:

<project.product.2.placed>

Any time you see a hash symbol in a keyword in Phoenix, that is a representation of a number that you can replace to find the Nth item.

Last Updated: 2/16/2022, 11:54:03 PM