cancel
Showing results for 
Search instead for 
Did you mean: 

More than one web-client-config-custom.xml

khinendra
Champ on-the-rise
Champ on-the-rise
Can I have more than one web-client-config-custom.xml file ?

I updated web-client-config-custom.xml in tomcat\shared\classes\alfresco\extension for creating custom content model for custom metadata and it was working fine. Againg I created one more web-client-config-custom.xml  in WEB-INF\classes\alfresco\extension for creating custom advance workflow. Now I have 2 web-client-config-custom.xml  files, but changes are being reflected from second one and my custom metadat is not working.

Please confirm me that can we have more than one web-client-config-custom.xml or I am doing something wrong.


Thanks
Khinendra
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
You are doing something wrong.

You are doing something right when changing the file in tomcat\shared\classes\alfresco\extension
but should never touch the contents of the WEB-INF folder.  
As you have seen, the one in the "extension" folder wins.

khinendra
Champ on-the-rise
Champ on-the-rise
Now I have put all the files in tomcat/shared/classes/alfresco/extension folder and merged both web-client-config-custom.xml, but again it is working for advanced workflow and not reading custom content model related information.

Any idea??

Thanks
Khinendra

norgan
Champ in-the-making
Champ in-the-making
Hi,
you have to ways to influence what is happening.

a) if a property is listed multiple times (e.g. one for node-type="mytype", one for "node-type=cm:content" ), it should only use the first one
b) if you use "replace=true" the prior definitions (from parents) are overruled instead of inherited.

So it might be that you are interfering wiht your own defintions.

BTW, I never tried mixing aspect with nodetype though, try that out and give us feedback, please Smiley Happy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.