Contextually Aware Content

Table of Contents
You can use macros in a Library Countermeasure to populate items that you want to be visible in all instances of the Countermeasure in every project.
Prerequisites:
  • Users must have the permission Global Roles→Customization→Customize content.

Available placeholders

The following placeholders are available for creating contextually aware content:

Placeholder

Renders in Project As

Applicable Library Form

${addl_rqmt_id}

SD Elements Additional Requirements identifier

  • Additional Requirement Text

${application_id}

ID of the application associated with the SD Elements project

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

  • Weakness Text

${business_unit_id}

ID of the business unit associated with the SD Elements project

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

  • Weakness Text

${howto_id}

SD Elements How-To identifier

  • How-To Text

${problem_id}

SD Elements Weakness identifier

  • Countermeasure Text

  • Weakness Text

${project_id}

ID of the SD Elements project

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

  • Weakness Text

${task_id}

SD Elements Countermeasure identifier

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

${user_email}

Email address of SD Elements user currently logged in

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

  • Weakness Text

${application_attribute_X}

The value of a Custom Attribute for an Application where X is the slug of the Application Custom Attribute

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

${project_attribute_X}

The value of a Custom Attribute for a Project where X is the slug of the Project Custom Attribute

  • Countermeasure Text

  • Additional Requirement Text

  • How-To Text

Example

Add metadata placeholders to Countermeasures.

Steps:
  1. Open the Library→Countermeasures page.

  2. Search for a Countermeasure to edit, or create a new Countermeasure.

  3. Add one or more metadata placeholders to the Solution field.

    library metadata placeholders

  4. Click Save.

Within the context of a project, the Countermeasure’s solution will render appropriately:

library metadata render

results matching ""

    No results matching ""