I have uploaded document to Alfresco using Apache Chemistry php client. The documents is uploaded successfully but (I think it is not indexed), content based search is not working on this document. whereas If I upload the same document from alfresco share it is also indexed and content based search works on it. Kindly tell me about cmis service to index document or propose me some solution for it. Thanks in advance!
I was unable to figure out issue with Apache chemistry php client. so I shifted to java version i.e. alfresco-api-examples. link https://github.com/jpotts/alfresco-api-java-examples and following its CmisCreateDocumentExample the file is now successfully uploaded and indexed.
Related
I am using alfresco-5.2.I have enabled the FTP in alfresco,and able to upload the files successfully.but those are coming without type can anyone tell me how to set doctype and metadata for file.
FTP allows you to upload the file and that's about it. Similar to copying via WebDAV or CIFS. If that is your only option you will have to follow Gagravarr's suggestion and add a folder rule to the folder that specializes the type and sets the properties as you see fit (in Share, go to the folder and click "Manage Rules").
If code is an option then you should use CMIS to upload the documents because CMIS will allow you to set the document type and set custom properties. There are CMIS clients for a number of languages including Java, Python, .NET, and others. The most widely-used client libraries can found at the Apache Chemistry project.
I don't really see the difference between the "repository" and "my files". They seem to have exactly the same functionalities
My Files is a unique area in Alfresco where you can create and store content, and no other Alfresco users can access it.
So rather than saving content on your laptop or tablet, you can save it in Alfresco and still keep it private until it's ready to be shared.
You can access the My Files area from anywhere in Alfresco by clicking My Files at the top of the screen.Refer this Documentation
The Repository displays all the Alfresco Content Services content that you have access to, including content of all sites that you're a member of. Refer this Documentation
Adding more : Check the same thing without admin user.You will get to know the difference.
I am using Azure CDN, where i have published all my images,css,js files.Now I would like to get all the assets from CDN instead of DAM.
Could you please suggest me?
Thanks in advance.
Actually I would suggest to just add extra step to your publishing process that, when publishing resources from dam will also publish them to azure CDN using their API. Similarly when unpublishing, you remove resources from there too.
You should do that as a first step in publishing, and upon receiving identifier for the resource from CDN, you should store that in assets metadata and only then pass it over to the next publishing step to have dam resource published to your Magnolia public instance.
Then on the public instance, you would need to replace LinkTransformers (and also LinkTransformerManager) and/or maybe just Asset implementation (if you use that exclusively for assets) with a custom implementation that when requesting link to dam asset will use CDN identifier in the assets metadata to construct correct link pointing to the CDN rather than back to Magnolia.
HTH,
Jan
See the Creating a custom content app trail in the documentation - it shows how to integrate images from Flickr, you can customize it to integrate Azure.
I am using Apache Tika with Solr to search nodes with attachments (zips, pdfs, etc), in the DB we have indexed nodes with files. looks as if it all is configured correct with Solr (Tika too) but the results are empty. I am only getting results for one PDF file that I created to test, It contain one word ‘MyTestNew’.autocomplete shows it but not after submit.
search works by title but not by file contents. http://screencast.com/t/lhSvs0iJS
We think maybe it’s a problem in the code. Maybe module_invoke_all() for the apache search integrated module. But not sure for now.’
I really wanted my form to have an attachment field wherein a user can browse a file. I came to read the documentation but cannot find an example on how to create an attachment field. Does anybody know how to do that?
unfortunately, devexpress does not provide the capability to upload files, my recommendation is to use phoneGap API instead.
PhoneGap File API
PhoneGap Media API
Also Check FileTransfer Object to upload or download files to and from the server.
You will find full examples in the link I provided.