LinkedIn
Copied!

Table of Contents

Creating paragraph rules

Version:

Only available versions of this content are shown in the dropdown

Improve the maintainability of your application by creating a single source for crucial application text. By using a paragraph control or directly referencing a paragraph rule, you can add long-form rich text to your interface. Paragraphs contain up to 1,000 characters of rich text, which you can reuse in many contexts in your application.

For example, your business might involve a disclaimer statement that you want to include in the footer of your page, in a form, and in emails to users. You can set up a single paragraph rule to hold the disclaimer and reference it in your interface, and when you want to change the disclaimer text, you only need to edit the paragraph rule.

  1. In the header of Dev Studio, click Create User Interface Paragraph .

  2. On the New tab, define the record properties:

    1. In the Label field, provide a meaningful name for your application.

      legalDisclaimer
    2. In the Context section, select the ruleset and case to which you want to apply the paragraph.

      Select the Customer service option, and then, in the Apply to list, select the customer service case layer option to make the paragraph available to all cases in the application.
    3. In the Add to ruleset field, define the ruleset in which you want to create the paragraph rule.

    4. Click Create and open.

  3. On the Paragraph tab, in the text editor, enter the text that you want to include in the paragraph.

  4. Optional:

    To reference a property in the paragraph text, in the text editor menu, click the Insert property icon, and then define the property parameters.

    In the Name field, enter .pyYear to include the current year in the disclaimer.
  5. Optional:

    To reference a rule in the paragraph text, in the text editor menu, click the Insert rule icon, and then define the rule type and parameters.

    In the Type field, select Rule-HTML-Paragraph, and then in the Name field, enter companyFooter to include a paragraph with a standard company footer in the disclaimer.
  6. Click Save.

Related Content

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.