Timeline View Overrides

As we saw in the previous section, we can define a ".tlvs" file in the tlvs/ directory to define views that display time-phased data. But often, higher-level modules want to "override" the behavior of TimelineView(s) defined in lower-level modules.

To override the behavior of a public TLV from a lower-level module, you can define a ".tlvoverrides" file in the tlvs/ directory of a module, dataset, or EPT.

Sample TLV Override:

<TimelineViewOverrides xmlns="http://www.onenetwork.com/Platform">
<TimelineViewOverride>
<TimelineViewName>ZBKS.SampleTLV</TimelineViewName>
<RoleTypeRef>
<IntrinsicRoleType>ZBKS.SampelRoleType</IntrinsicRoleType>
</RoleTypeRef>
<FilterOverrides>
<CustomFilterField>
<FieldRef category="PDF" levelType="Undefined">
<FieldName>TestOverrideFilter</FieldName>
</FieldRef>
<Type>STRING_ENUMERATION</Type>
<EnumerationValuesSql>
select 'Sample String Value' value from dual union all
select 'No Match' value from dual union all select 'Another Value' value from dual
</EnumerationValuesSql>
<SimpleMapping sqlName="TEST_OVERRIDE_FILTER"/>
</CustomFilterField>
</FilterOverrides>
</TimelineViewOverride>
</TimelineViewOverrides>