cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Development

subhajit
Champ in-the-making
Champ in-the-making
I have downloaded the Alfresco source code. I imported the project in eclipse but unable run or see the webpage as I can see while I install Alfresco in my machine. Is this source code is only for making SDK purpose or I can see the webpage if I run it in eclipse? Where I can found "Alfresco share", "Alfresco Explorer" in the source code, that is available in svn?

Please help me.
28 REPLIES 28

amitabhandari1
Champ in-the-making
Champ in-the-making
There is problem in deploying of custom model in alfresco 3.4 .
Try to make changes as suggested below:
Go to tomcat/webapps/alfresoc/WEB-INF/classes/alfresco/extension/quickr-model-context.xml. Make the highlighted change there.
<beans>

<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/quickrModel.xml</value>
<value>alfresco/extension/model/Mymodel.xml </value>
</list>
</property>
</bean>
</beans>

Start your server again.This time your model will be deployed.

Thanks,

subhajit
Champ in-the-making
Champ in-the-making
I didnt find any such xml file. My Tomcat folder structure is like,
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\alfresco\WEB-INF\classes\alfresco\extension\bootstrap and under bootstarp I found only remote-api-context.xml.

Thanks

amitabhandari1
Champ in-the-making
Champ in-the-making
Go to tomcat/webapps/alfresoc/WEB-INF/classes/alfresco/extension/quickr-model-context.xml

Please check the path properly.

subhajit
Champ in-the-making
Champ in-the-making
Nops, in this location C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\alfresco\WEB-INF\classes\alfresco\extension there is not file only one folder named "bootstrap" is there.

Meanwhile I have modified "core-services-context.xml" and write the following line,
"<value>alfresco/model/LICModel.xml</value>" and the error changed to "org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 5; column 24 due to error: Definition {LIC.model}Policy_number is not valid; cannot find in Repository dictionary
"

Thanks.

amitabhandari1
Champ in-the-making
Champ in-the-making
I can see 6 files inside extension folder. I am not sure  if you are doing it correctly.
Please check if you have  all files in place.
Try to search "quickr-model-context.xml" this file  in alfresco.

Thanks,

subhajit
Champ in-the-making
Champ in-the-making
Can anybody help me? I didnt find any file called "quickr-model-context.xml". Right now I can upload .acp file without any errors, but the custom properties are not showing. Only the default properties have been shown.

Thanks.

subhajit
Champ in-the-making
Champ in-the-making
Thank for your help. I have solved the problem. I think its basically a problem with alfresco version 3.4, cos there is no file in Tomcat 6.0\webapps\alfresco\WEB-INF\classes\alfresco\extension. I have created 3 files in that folder named 1. quickr-model-context.xml 2. webclient.properties 3. web-client-config-custom.xml and one folder named "model" where I have put the model file. After that I have restarted my server and everything working fine.

Thanks.

subhajit
Champ in-the-making
Champ in-the-making
In my local machine I have installed Tomcat6.0, now I want to install database into another machine and connect that database from local machine. But can you please tell me how to change the connection string of alfresco. I have already change "alfresco-global.properties" file and copy that file into "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\alfresco\WEB-INF\classes", but no luck.

Please help me out.

Thnaks.

subhajit
Champ in-the-making
Champ in-the-making
Hi,

How to make alfresco community installer? Is there any software to make that? I want to say that if I change something in alfresco code and then how I make installer from that? Like can I use XAMPP to make the installer?

Thanks,
subhajit.