FUSION: Searching for Projects missing a specific Project form (category). Or listing all project forms in Fusion.
Searching for Projects missing a specific Project form (category). Or listing all project forms in Fusion.
I'm creating an automation to add a specific project form to any project that doesn't already have it. I have a search module that searches all active projects and returns:
ID
Category ID
Name
Status
References:
Category
Collections:
objectCategories
Since projects can have more than one form, I included objectCategories from Collections.
In the return bundle, everything makes sense except the objectCategories. There are 2 and neither are the form listed in the CategoryID section. In fact, I can't find these IDs anywhere. What are they, where did they come from? None of my forms of any kind have these IDs.
I went and looked at the project and it has 2 forms. The form IDs are: 58b6fe780027736f3c7dc222dc334979 and 5ed7c604024fe585b29e5894d8da05a9, neither of which are in the objectCategories section.
I created a project report with columns for name, Category ID, Category Name, objectCategories (ID), and objectCategories (category.name).
If the objectCategory references the form, why do the IDs NOT match? Should I reference the Category ID or the objectCategory ID?
For example:
Is the ID of "Project Form | Project" 5ed7c604024fe585b29e5894d8da05a9 as in the Category ID?
or is it 6102ee5c0004298052d658bf37d89a41 as in the objectCategories?
This is pretty confusing.
