cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic models - no restart required ...

janv
Employee
Employee
We have recently added a new feature to the Alfresco Repository that allows custom models to be updated dynamically without requiring a server restart. Additionally, the Web Client UI can also be customised without a restart. This means for example that new types, aspects and properties can now be added dynamically. Also, new workflow task models can be deployed at runtime.

Here's a first-cut wiki page with more details:

http://wiki.alfresco.com/wiki/Dynamic_Models

This feature is available on HEAD and via nightly builds:

http://dev.alfresco.com/downloads/nightly/dist/

We would appreciate your feedback on this new feature. Please raise any bugs via JIRA.

Thanks,
Jan
22 REPLIES 22

janv
Employee
Employee
Can you please describe you use-case in more detail ?

What do you want to 'reload' remotely - messages or Explorer web client (Explorer) config or … ?

Dynamic models themselves do not need a reload as such (assuming they have been deployed and activated). Please refer to RepoAdminService … one option might be to wrap this in custom Java-backed web script(s).

Regards,
Jan

protanveer
Champ in-the-making
Champ in-the-making
Actually i am writing a small java tool to save custom models and context in Alfresco on the fly. After i save the model, i want to run 'reload':

reload : Re-load Web Client config from configured config sources (refer to web-client-application-context.xml)

Manually i can go to http://localhost:8080/alfresco/faces/jsp/admin/webclientconfig-console.jsp and run it. So is there a way to automate this?

Hi… Did you find any alternative to do this.. Because in recent version they have removed http://localhost:8080/alfresco/faces/jsp/admin/webclientconfig-console.jsp

So manually is also not possible.. Only way to restart tamcat…

any help..? Thanks…