Transfer personnal medatas to Alfresco

cancel
Showing results for 
Search instead for 
Did you mean: 
Grammi
Member II

Transfer personnal medatas to Alfresco

Hi and thank you for your help in advance,

I'm a begineer in Alfresco so i'm sorry if someone post it somewhere but i didn't really find what i was looking for.

I will try to explain my problem with my own words. I want to transfer my personalized meta data from my own application (whose read and write documents) to Alfresco but i don't find the correct topic speaking about it. It should be good if when an user upload a document (for exemple a bill), my app read metadatas (for this it's good) then when i put this document on Alfresco, Alfresco keep the personalize medata mentionned before (like invoice number or customber number) and display them.

I tried to use models parameters but i don't really understand how use it and if it could be usefull for my case.

Thank you.

12 Replies
sufo
Established Member II

Re: Transfer personnal medatas to Alfresco

Hi Grammi, this should be your first tutorial to read: https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
As alternative to CMIS, you can also use REST API to upload documents: https://docs.alfresco.com/community/pra/1/concepts/pra-rest-api-explorer.html

Grammi
Member II

Re: Transfer personnal medatas to Alfresco

Hi, thank you for your answer, i will try your solution.

 

 

Grammi
Member II

Re: Transfer personnal medatas to Alfresco

Hello and thank you for your documentation that i read and used @sufo ! 

I'm block at the end of the project when i use command : "./run.sh build_start" .

All content is download but my machine stay block and still wait (for no reason) on the following step. I don't know if i need to wait some hours (i still waited above 30-40 min and no results). Is it normal that i need to wait a very long time or there is a problem ? 

Screenshot_grammi.png

Thank your for your answer.

EddieMay
Alfresco Employee

Re: Transfer personnal medatas to Alfresco

Hi @Grammi 

Are you using Docker? If so, how much memory have you assigned it? When running Alfresco using Docker Desktop I give it about 12GB.

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Grammi
Member II

Re: Transfer personnal medatas to Alfresco

Hi @EddieMay ,

I followed all the details for the install from a new Virtual Machine with documentation (https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#creating...). I am using docker and docker compose. When i'm searching on differents forums, they explain that it's about http and https in the xml.server of Tomcat.

My problem (if it's this issue) is that i can't find tomcat-server and this file (xml.server). Anyway i upgrade my memory to be sure that's it's not the reason.

 

web1.pngweb2.pngweb3.png

Grammi
Member II

Re: Transfer personnal medatas to Alfresco

If i understand well the documenation Tomcat Server is already embedded with Maven SDK so do i need to find server.xml in a specific file or Maven SDK use another file ? I'm a bit confused ...

Thank you by advance.

EddieMay
Alfresco Employee

Re: Transfer personnal medatas to Alfresco

Hi @Grammi 

Let's take a step back. Can you get Alfresco up and running ok at all? If you go to http://localhost:8080/alfresco do you get the Alfresco UI? Or http://127.0.0.1:8080/alfresco or http://127.0.0.1:8080/share ?

Thanks,

 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Grammi
Member II

Re: Transfer personnal medatas to Alfresco

Hi,

I cant' connect to both of the links. if i follow the documentation  from sufo (https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#creating... i will can connect to this ports when i will have sucessfully pass " :

./run.sh build_start

 

EddieMay
Alfresco Employee

Re: Transfer personnal medatas to Alfresco

Hi @Grammi 

I'm not sure what the issue is to be honest. If you just want to get a working installation of Alfresco Community 6.2 working, you might do the following.

This week I tried @jpotts latest tutorial and I found it a quick way of spinning up a fresh Alfresco installation. I'm on a Mac, using Docker Desktop, with 12GB RAM assigned to Docker. If you follow the tutorial to step01, and then from the command line enter./run.sh build_start, this should get you a working Alfresco instance - just go to http://localhost:8080/alfresco and Alfresco will load in the browser - there you will see a link for Share. Login with admin/admin

Try this and let us know how you get on.

Cheers,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!