I’m trying to search for ‘Tooltip’ by name and return a list of matching components. The name property on a variant lacks any correlation back to the main-component name, in this case Tooltip.
Looking for guidance on how to associate them, ideally not having to fill in a description with the name for each one.
I suppose I could search on the document children instead and walk the tree of COMPONENT_SETS and make some determinations
I ran into the same problem. I assumed that when doing a get file request you would have both the variant state name and the component set name “Tooltip”.
Did you find any way around it other then adding it to the description ?
@tank666
Thats what we ended up doing
the issue with that is having to do more API calls - when you have a big organizations it turn into a heavy thing to run across all teams.
It would be a great time saver to have the components set Key and name as part of the variant data structure on top of the componentSetId Or the other way around.