Eiko Willemsen

Using more than one context in one display

Discussion created by Eiko Willemsen on Mar 2, 2012
Latest reply on May 29, 2012 by Eiko Willemsen

Hello,

 

I'm working on a project where we realy want to use Processbook and element relative displays.

 

I'm talking about a lot of levels where the same display should be used to show parent and child attributes in the same display.

 

The AF structure looks like this:

 

Building 1
       |
       ----- Unit 1
                   ---- Meter1
                   ---- Meter2
       ----- Unit 2 
                   ---- Meter1
                   ---- Meter2
Building 2
       |
       ----- Unit 1
                   ---- Meter1
                   ---- Meter2
       ----- Unit 2 
                   ---- Meter1
                   ---- Meter2

Every meter has a number of attributes but also the units have attributes
In the display there is an overview of a unit with meter 1 and meter 2.
With an element relative display I can switch between the meter 1 and meter 2 and the values of the attributes are changing.
However if I want to show the values of the Unit attributes I cannot use the element relative values but I have to use tags if I want to get the values.
I also want to be able to use the same display for Building 2.

 

Is there any way to show both levels of an element relative display using a minimum of code ?

 

When using the Unit as element, Can I programmatically change the element relative context path of the child values?

 

Or Is there a way to create a subDisplay with a different context?

 

Regards,

 

Jeroen Gelderman (Atos)

 

 

 

 



 

 

 

 

Outcomes