Adobe Workfront · updated

How custom forms and custom fields appear in the Workfront API

In the Workfront API a custom form is a Category object and a custom field is a Parameter object. The values people enter in custom fields are read by asking for the field name with a DE: prefix, or for parameterValues to get all of them at once.

In plain words

The names differ between the screen and the API. What administrators call a custom form, developers must look for under Category; a custom field is a Parameter. Once you know that, custom data is read like any other field.

The mapping

In WorkfrontIn the APIObject codeSome fields listed in the API Explorer (v22.0)
Custom formCategoryCTGYname, description, catObjCode, groupID, isActive
Custom fieldParameterPARAMname, description, dataType, displayType, isRequired, isActive
A custom field's value on an objectDE:<field name>n/aReturned inside the object, or under parameterValues

Reading custom data

Adobe's API basics page shows two ways. Ask for one field with fields=DE:CustomText, and the response includes "DE:CustomText" with its value. Or ask for fields=parameterValues, and the response includes a parameterValues object with every custom value, such as text, numbers and arrays for multi-select fields. Objects that carry a custom form have a categoryID field in the API Explorer.

Events for custom forms and fields

Event subscriptions support both objects: Adobe's list includes Custom Form with objCode CTGY and Custom Field with objCode PARAM, so an integration can be told when a form or field definition changes.

We state only how custom data is read, because that is what Adobe's API basics page shows. We could not confirm on an Adobe page how custom field values are written through the API, so that is left out.

Adobe's examples for reading custom data

/attask/api/<supported-version>/project/search?fields=DE:CustomText

{
  "name": "custom data project",
  "ID": "4c9a954f0000001afad0687d7b1b4e43",
  "DE:CustomText": "task b"
}

/attask/api/<supported-version>/project/search?fields=parameterValues

How to find and read a custom field

  1. Search the Parameter object (param) by name to confirm the field's exact name and data type.
  2. Search the Category object (ctgy) to find the custom form; note its catObjCode field.
  3. Request the object with fields=DE:<exact field name>, or fields=parameterValues for all custom values.
  4. Treat field names as case sensitive, and URL-encode spaces and other characters in the name.

Related tools and pages on this site

Questions

Why can I not find 'custom form' in the API Explorer?

Because it is listed as Category, with object code CTGY. Adobe's API basics page notes that a custom form is a Category object and a custom field is a Parameter object.

Can I be told when a custom form or field changes?

Yes. Adobe's event subscription page lists Custom Form (CTGY) and Custom Field (PARAM) among the supported objects.

Can I get every custom value in one call?

Yes. fields=parameterValues returns an object holding all the DE: values for each result.

Sources

Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.

Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.

Surge Migrate

Moving the website itself

This page answers one Adobe Workfront question. Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →