Including screen doesn't include transitions inside file

including screen doesn’t include transitions inside the file that we are trying to include.

Is this the expected effect, and if yes, why?
<include-screen location="component://erp-hr/screen/HR/Standalone/TheTargetFile.xml"/>
the above in my opinion should include everything inside that screen by default

in addition, there is an extra attribute “share-scope” inside the tag that has no description. What does it do?

1 Like

I’m facing exactly the same issue trying to extended EditRequest screen with below code (CallCustomer transition routes to a subscreen), share-scope attribute set to true or false does not seems to have any efect:

<?xml version="1.0" encoding="UTF-8"?>

<parameter name="requestId" required="true"/>

<widgets>

    <container> <dynamic-dialog id="CallCustomer" button-text="Llamar cliente" transition="CallCustomer"/> </container>

    <include-screen location="component://SimpleScreens/screen/SimpleScreens/Request/EditRequest.xml" />

</widgets>

I expected this be a popular topic but this thread is 2 years old with no replies, will appreciate any feedback guys.

1 Like

This is the expected behavior. <screen-include> instructs the screen renderer to render the specified screen starting at the root section. Transitions cannot be rendered. If you want to import transitions from another screen XML file then use <transition-include>.

1 Like