I need to create a project view that has a column showing which tasks are listed in the "Task Default Custom Forms" section on the project. Is there a collection for that? I couldn't find anything in the API explorer.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi Adina,
Task Defaults is a referenceable object for the project object.
Within the Task Defaults object, the custom forms associated are listed as a collection (objectCategories).
Since the Original object you are reporting on is the Project, you can "reference" the Task Default object while referencing the custom form collection in two ways:
displayname=Default Categories
listdelimiter=<p>
listmethod=nested(taskDef).nested(objectCategories).lists
textmode=true
type=iterate
valuefield=category:name
valueformat=HTML
or
displayname=Default Categories
listdelimiter=<p>
listmethod=nested(taskDef.objectCategories).lists
textmode=true
type=iterate
valuefield=category:name
valueformat=HTML
Hi Adina,
I did some snooping in the API on this. Sections are called "Parameter Groups" internally, and although we think of them as "enclosing" the Parameters within a particular Section, technically, the Section is treated just like any other Parameter, ordinally positioned in the definition of the Category (e.g. as you drag Sections and Parameters up and down), and at run time, Workfront then interprets the Section as the logical divider we expect.
In other words, the 1:many you (and I) were expecting doesn't exist; so instead, you'd need to:
So, pretty icky....not to mention throwing multiple custom forms each with their own Default Custom Forms into the mix.
Perhaps you could leverage the new Parameter Label and manually put a * Prefix on the parameters you're interest in, by convention.
Regards,
Doug
Views
Replies
Total Likes
Here is a screenshot of the section I am talking about (it is not part of the custom form, but in the project details)
Views
Replies
Total Likes
Ah! That's quite different, Adina; but a shorter answer.
I suspect that would be found under the Queue objects somewhere in the API, and as such, doubt it would be natively reportable.
Regards,
Doug
Views
Replies
Total Likes
Hi Adina,
Task Defaults is a referenceable object for the project object.
Within the Task Defaults object, the custom forms associated are listed as a collection (objectCategories).
Since the Original object you are reporting on is the Project, you can "reference" the Task Default object while referencing the custom form collection in two ways:
displayname=Default Categories
listdelimiter=<p>
listmethod=nested(taskDef).nested(objectCategories).lists
textmode=true
type=iterate
valuefield=category:name
valueformat=HTML
or
displayname=Default Categories
listdelimiter=<p>
listmethod=nested(taskDef.objectCategories).lists
textmode=true
type=iterate
valuefield=category:name
valueformat=HTML
Thanks Dan, this worked perfectly!
Views
Replies
Total Likes