ConditionalFormat

From Zymonic

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>