AnsweredAssumed Answered

Dynamic UI change - alfresco-share-modules-refresh ?

Question asked by giridharan on Apr 3, 2015
Hi,

I am creating aspects dynamically, and for the UI form change I am adding the visibility as following

share-config-custom.xml:
< visible >
<aspect name="ct:newaspect" />
</visible>
……………………
<config evaluator="node-type" condition="cm:content">
<forms>
<form>
<field-visibility>
<show id="ct:newfield" />
</field-visibility>
</form>
<form id="doclib-simple-metadata">
<field-visibility>
<show id="ct:newfield" />
</field-visibility>
</form>
<form id="doclib-inline-edit">
<field-visibility>
<show id="ct:newfield" />
</field-visibility>
</form>
</forms>
</code>

Now, I am trying to get these UI changes dynamically without restarting tomcat.

Is it possible through https://github.com/frederikheremans/alfresco-share-modules-refresh ?

Because I added and tried this, when I access this URl http://localhost:8081/share/service/reload-module-deployments after my change
It is responding with the msg "webscript is deployed successfuly"… But the values in UI "Manage Aspect" did not have the change..

But however after tomcat restart, Ui got the changes.

Is there any other way to get the changes dynamically?

Thanks,

Outcomes