How to Set Subtypes in Composer

Last updatedView as Markdown

In Arc XP Composer settings, you can configure which Arc XP Native Specification (ANS) meta fields appear on your tabs in Composer. ANS is the schema we use to save and store your data. You can find ANS meta field configuration at the bottom of Composer settings. Drag any field from the Available option list section to the Planning options or Meta options section. For example, some users like subtype to appear on the Planning tab and others on the Meta tab. Where you choose for it to appear is up to you. For more detailed information about each available setting, see Managing Composer settings.

When to use subtype

We recommend using subtype as a way to give a classification to the type of content that is in a story, which should be paired with how this story appears to your readers on your front end. For example, you can set an Opinions subtype that you use to identify opinion pieces. Other common examples of subtype that you might use include categorizations like Politics, Coronavirus, and Long_form.

In short, subtype lets you indicate which page template type you want this article to use to render the content. Subtype is typically used to distinguish between news and opinions, or breaking news and blog article formats, and so on. You must configure Arc XP PageBuilder Editor with the appropriate resolvers to match the article subtype to the corresponding page template. To learn how to create a content-mapped template, see Creating a content mapped template.

Because subtypes are typically paired with front-end templates in PageBuilder Editor, subtypes are different from a few other ways you might choose to classify your content. The following list provides other common classification ANS fields and when you might use them instead of subtype:

  • Kickers/Labels - Kickers or labels represent different buckets of content types, called label types. Think of these label types as being a type descriptor that applies to a whole story. Each label type can have one value (called a label) that you select from a fixed set that you preconfigure, or you can also allow free entry. You can also use this information for external purposes (for example, to show readers Coronavirus labels on relevant stories) or as internal markers. You can also associate a URL with each label so that when a user clicks the label, you can direct traffic to a specific destination. Learn more at How to Use Kickers and Labels.
  • Tags - Tags are a lightweight, flexible option for categorizing your content in Arc XP. Think of them as a way of indicating that a piece of content has a relationship, even a weak one, to a broader topic. They are less formal than the sections you can manage in Site Service. Learn more about tag management in Managing tags.
  • Sites (including Site Service custom fields) - You can use several fields in Site Service to populate the custom features and blocks on the front end. For more on Site Service, see Site Service.
  • Syndication - The Syndication fields designate whether you received this content from a certain syndication or whether it’s set for use in an outbound syndication.
  • Sponsored Content - Sponsored content indicates the content is from a third-party advertiser. Use this field to designate content that is paid for by an advertiser and intended to promote the advertiser’s product.
  • Paywall status - Mark your content’s paywall status manually (or use Composer templates to mark it automatically) to determine its accessibility by readers inside and outside your website’s paywall. Paywall statuses are customized to match your integrated paywall provider’s categories.

All of these fields can overlap in terms of how they apply metadata to the document or in terms of how this metadata flags the document with respect to the front end or other downstream publishing channels. To learn how you can use ANS fields to correspond to front-end display, see Configuring resolvers.

Setting up subtypes

To get started, configure the Subtype field in the ANS meta field configuration section of Composer > Settings. Here you can make the field Required to publish or click Edit picklist. Edit picklist opens a new tab where you can create and configure the various subtypes you want to have for your organization.

After you set up your subtypes in the picklist, the Subtype field appears on the tab you chose in the Composer story editor. The drop-down options are limited to the options you set in your Subtype picklist.

Remember, subtypes are most powerful when they are paired with specific templates in PageBuilder Editor to determine a uniform way for these subtype articles to be displayed on your front end. To do so, you must set a resolver configuration in PageBuilder Editor. To learn more, see Configuring resolvers.