AnsweredAssumed Answered

Admin Tools' pages become empty (maybe related to share-config-custom.xml?)

Question asked by sunquanbin on Oct 6, 2014
Latest reply on Jul 27, 2017 by plean
Hi everyone,

I have encountered a quite strange issue in Share. In the custom share amp, I have the following config in share-config-custom.xml:


    <config evaluator="string-compare" condition="WebFramework">
        <web-framework>
            <!– Autowire Runtime Settings –>
            <autowire>
                <!– Pick the mode: development, preview, production –>
                <!– development allows for js controller debugging in the browser –>
                <mode>development</mode>
            </autowire>
        </web-framework>
    </config>


I then found in the Share website, all the pages of Admin Tools become empty (the menu in the left panel still rendering but the right panel is blank). If I removed the above config, everything reappears.

However, this settings exists in my previous developed share AMPs and the Admin Tools was working as normal. <strong>Only in this current share AMP</strong>, it turns out I need to remove this config to make the Admin Tools work.

Can anyone please tell me how this config work and where I go wrong?

Regards,

Sun

Outcomes