Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: No kidding

...

  1. Create screen by name "main-decorator" in CommonScreens.xml file.(Take reference from CommonScreens.xml file of Example component.)
    Code Block
    <screen name="main-decorator">
            <section>
                <actions>
                    <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
                    <property-map resource="PracticeUiLabels" map-name="uiLabelMap" global="true"/>
                    <set field="layoutSettings.companyName" from-field="uiLabelMap.PracticeCompanyName" global="true"/>
                    <set field="activeApp" value="practice" global="true"/>
                    <set field="applicationMenuName" value="PracticeAppBar" global="true"/>
                    <set field="applicationMenuLocation" value="component://practice/widget/PracticeMenus.xml" global="true"/>
                </actions>
                <widgets>
                    <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>
                </widgets>
            </section>
    </screen>
    
  2. Now include this decorator in CommonPracticeDecorator screen which you are already having . What file is that and how the syntax looks like?(see above Part 2 - Point 1: "Doing Some Advancements To User Interface")
    Now run it again and see the difference.

...