Close popover
Prasanna Tuladhar (toytownt)
Allianz Germany

Allianz Germany
toytownt Member since 2017 5 posts
Allianz Germany
Posted: November 17, 2017
Last activity: November 27, 2017

Best approach to share Data between Org and Framework layer

When One creates Data on Org Layer what is the best approach when one needs to access or reference Work Objects coming from FW or Impl layers.

This is because in some situation one might need to access the FW layer work object (pyWorkPage) in the Data classes in Org Layer. For example when one displays Data Items from Org layer in the Section having Grid Layout in FW layer and invoke some Data transform then in such case, the Primary page defaults to the Data Class of the Org layer. But Org layer cannot see the Work Object Class from FW layer and has no visibility to the FW ruleset or FW layer.

I see several approaches to get this work or how its used in real life

1. Use Editable data Page to share data between 2 layers (FW and Org)

2. Use Ruleset Restriction in the Advanced setting of the Class in Data layer so as to include FW layer ruleset in the Class MyCo-Data-ClassA

( Also done in LSA exercise - although not a good practice but easier to achieve)

3. Extend Data class to FW layer . Create MyCo-FW-Data-ClassA ---(direct inheritence) --> MyCo-Data-ClassA. Once extended Data transforms can be created here (requires more work and additional classes)

4. Polymorphic pattern ( Not sure if the would work on different Ruleset)

Org Ruleset : --> Org Ruleset


|--DataTransform needs to access pyWorkPage (MyCo-FW-Work-WorkClass ) ?

FW Layer: --> FW Ruleset


Can someone suggest best approach to achieve this ?

Low-Code App Development Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.