cancel
Showing results for 
Search instead for 
Did you mean: 

location of web-client-custom,xml

hagitok1
Champ in-the-making
Champ in-the-making
Hi all,

I'm trying to figure out the web-client-custom.xml issue.

Is it necessary to include web-client-custom.xml  file within a jar file of a custom dialog, if so where (in META-INF or exension folders)?

Can anyone explain why we cannot add all extentions to the web-client in tomcat\shared\classes\alfresco\extension ?

How do I configure the web-client-custom.xml  in case that I would like to add multiple dialogs ?

I was trying some of the above options and each gave me other results, I'm really confused and would like to know what is the right way to go
Hagit
2 REPLIES 2

dmihelj
Champ in-the-making
Champ in-the-making
Are you referring to "web-client-config-custom.xml" file? If so, that file should exist or be placed in "alfresco\tomcat\shared\classes\alfresco\extension" folder. Regarding your other questions you should provide more information, what are you trying to do.

hagitok1
Champ in-the-making
Champ in-the-making
Thank you,

After a lot of trial and error I came to the conclusion that the only place to put the web-client-config-custom is in alfresco\tomcat\shared\classes\alfresco\extension exactly as you wrote.
The thing that misled me before, is the instructions in http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions that shows the required structure of the jar file as follows:
> custom-dialog.jar
          > alfresco
            > extension
               > web-client-config-custom.xml      
            > META-INF
            > faces-config.xml
            > MANIFEST.MF
         > org 
            > alfresco
               > sample
                  > AddAspectDialog.class
     
From that I concluded that there must be a web-client-config-custom.xml within the jar file of the custom dialog and this had not worked properly in case of few jar files each with another custom dialog