Different ways of retrieving(read and display the content of document ) Alfresco uploaded document using any API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2014 10:02 AM
Hi,
Would like to know what are all the different ways of retrieving Alfresco uploaded document.
Here are my particular scenarios:
I have uploaded the documents using the Alfresco(Community Version 4.e) provided SDK Web Services.
I know we can construct the uploaded document URL using UUID and can access it from the SDK Web Services.
01. Are there any other ways of retrieving Alfresco uploaded document using any other APIs.
02. Can we retrieve using Sys DB Id.
03. Can we retrieve using custom aspect if(I created a customd aspect to provide unique id for each uploaded document)
04. Are there any other ids that I can use to retrieve using any APIs.
Please guide or point to any link or document that provides the information.
Would like to know what are all the different ways of retrieving Alfresco uploaded document.
Here are my particular scenarios:
I have uploaded the documents using the Alfresco(Community Version 4.e) provided SDK Web Services.
I know we can construct the uploaded document URL using UUID and can access it from the SDK Web Services.
01. Are there any other ways of retrieving Alfresco uploaded document using any other APIs.
02. Can we retrieve using Sys DB Id.
03. Can we retrieve using custom aspect if(I created a customd aspect to provide unique id for each uploaded document)
04. Are there any other ids that I can use to retrieve using any APIs.
Please guide or point to any link or document that provides the information.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2014 12:50 PM
1.You can also retrive document using opencmis api or webscript api through uuid or path
2. sys db id is for internal use only.
3.you can retrieve custom aspect using opencmis api or webscript api.
4.you 'd better retrive document just through uuid or path
2. sys db id is for internal use only.
3.you can retrieve custom aspect using opencmis api or webscript api.
4.you 'd better retrive document just through uuid or path
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2014 12:51 PM
Yes. There are a large number of interfaces and APIs.
The most obvious is Alfresco Share and Alfresco Explorer.
The remote APIs are the REST PublicAPI, CMIS (Atom, WebService, WebScript), The REST Private API, RMI, CIFS, FTP, WebService, IMAP, SPP, WebDav, JMX
The local APIs are Java, JCR and Alfresco Script. There are probably others like php, groovy and scala.
The most obvious is Alfresco Share and Alfresco Explorer.
The remote APIs are the REST PublicAPI, CMIS (Atom, WebService, WebScript), The REST Private API, RMI, CIFS, FTP, WebService, IMAP, SPP, WebDav, JMX
The local APIs are Java, JCR and Alfresco Script. There are probably others like php, groovy and scala.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2014 01:40 PM
Hi Thanks for all the information.
I have created an aspect(through web scipt) to assign a unique id to each document. Is it possible to retrieve the document using just the above unique id aspect.
If we migrate from Community version 4.0 to any latest versions of alfresco community versions, will UUID remain same or will be changed?
Is there anyway to retain the same UUID in case of migration?
I have created an aspect(through web scipt) to assign a unique id to each document. Is it possible to retrieve the document using just the above unique id aspect.
If we migrate from Community version 4.0 to any latest versions of alfresco community versions, will UUID remain same or will be changed?
Is there anyway to retain the same UUID in case of migration?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2014 02:23 PM
To retrieve by your aspect you will need to search first and then get the document in a second call.
Your NodeRefs (uuids) will be preserved on upgrade and migration.
Your NodeRefs (uuids) will be preserved on upgrade and migration.