Available in: Logi Info | Source code name: PassedSharedElement | Introduced in: 12.2.116 |
PassedSharedElement passes an element from the calling definition into a SharedElement definition.
In a SharedElement, add an IncludeSharedElement which will get content from the calling definition. For the IncludeSharedElement, set the DefinitionFile attribute to "PassedSharedElement". In a calling definition, add an IncludeSharedElement with a PassedSharedElement to indicate where the content goes. Then be sure to have Shared Element ID in a SharedElement definition set to the ID of the Passed Shared Element from the calling report.
Example calling definition: <IncludeSharedElement DefinitionFile="mySharedDefinitions" SharedElementID="mySharedElement" > <PassedSharedElement ID="passedID" > <Label Caption="This is passed to the shared element." /> </PassedSharedElement> </IncludeSharedElement>
Example called definition: <SharedElement ID="mySharedElement" > <IncludeSharedElement DefinitionFile="PassedSharedElement" SharedElementID="passedID" /> </SharedElement>
|