ConditionalFormat

From Zymonic
Revision as of 11:54, 11 October 2018 by Jbree (talk | contribs) (Changed XML example to make it simpler)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A way of applying formatting to an object, only conditional if a condition is added to it. This page explains several classes than can be applied to it.

Classes[edit]

OpenFOP[edit]

Opens a filter or process when a button that appears by the field is clicked.

Filter

  <ConditionalFormat class="OpenFOP">
    <ZName>ts_cf_custaccfilter</ZName>
    <DisplayName>Show All Customers</DisplayName>
    <ClassOptions>
      <Filter>
        <ZName>ts_fil_customeraccounts</ZName>
      </Filter>
    </ClassOptions>
  </ConditionalFormat>

Process

  <ConditionalFormat class="OpenFOP">
    <ZName>ts_cf_customeraccount</ZName>
    <DisplayName>Show Customer Account</DisplayName>
    <ClassOptions>
      <Process>
        <ZName>ts_pro_customeraccounts</ZName>
      </Process>
      <FieldMap>
        <ZName>ts_fm_customeraccount</ZName>
      </FieldMap>
      <ParameterMap>
        <DestinationParameter>process_id</DestinationParameter>
        <SourceField>
          <Field>
            <ZName>ts_f_customeraccountppid</ZName>
          </Field>
        </SourceField>
      </ParameterMap>
    </ClassOptions>
  </ConditionalFormat>