• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using Element Values to Apply Text Format Rules

Community Beginner ,
Nov 09, 2018 Nov 09, 2018

Copy link to clipboard

Copied

Is it possible to write context rules in an EDD in such a way that Text Format rules are different based on the value of an element? I have an element in a list and I want to change the numbering format based on the value of a parent element.

Comparable structure might be:

FirstName

LastName

List

     ListItem1

     ListItem2

I want to change the Autonumber format of ListItem1 and ListItem2 depending on whether the <TEXT> of FirstName="Sam" or FirstName="Dave"

Thanks for any help,

Brian

TOPICS
Structured

Views

224

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Nov 09, 2018 Nov 09, 2018

Copy link to clipboard

Copied

LATEST

No, text format rules cannot query the content of an element. Alternatives include:

1) If you are using XML, and if the element content does not have subelements, you could use XSLT to switch the content to an attribute value and then use read/write rules to querty the attribute value.

2) Use a script or plugin to format the element. An easy way to do so is use the automation to set an attribute and define the formatting for the attribute.

        --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines