cancel
Showing results for 
Search instead for 
Did you mean: 

add property in alfresco

biswajit
Champ in-the-making
Champ in-the-making
hi,
I am new in alfresco.I want to do that
"when i import pdf file a supporting index file is loaded as a property of that pdf file."
please tell me how this thing is possible in alfresco??
Thanks
6 REPLIES 6

mrogers
Star Contributor
Star Contributor
Please don't cross post in future.

When content is uploaded into alfresco you can configure so called "meta data" extractors which will extract properties from the content of the PDF.

Also alfresco supports various transformers between various mime types.    For PDF text it may be possible to transform the content into plain text which can then be full text indexed.      I say possible because some PDFs (which have been produced by a broken PDF generator just contain a scanned image rather than anything that can be transformed.

biswajit
Champ in-the-making
Champ in-the-making
Thank u
But the question  how to link index file data with pdf file  because when i search using this index data particuler pdf will display.

vikrasharma
Champ in-the-making
Champ in-the-making
I am assuming when you say "link index file data with PDF file" you mean adding custom properties/ Meta-Data to the PDF files. 
If this is what you want to accomplish then you have alteast two options:
    Aspects
:  Create custom aspect to capture these properties and add it using rules to the space
    Custom Model
:  You can extend out of the box content model and add custom properties you want the user the enter.

Thank u
But the question  how to link index file data with pdf file  because when i search using this index data particuler pdf will display.

vikrasharma
Champ in-the-making
Champ in-the-making
Here are the steps to create a custom aspect to capture additional properties
http://alfrescokb.blogspot.com/2009/07/custom-aspect-to-capture-additional.html

biswajit
Champ in-the-making
Champ in-the-making
Thank u for giving me suggestion but i want to create a situation where 'when a pdf file is uploaded it read data from its similer idx file (which store information of that pdf) and add  them as a property of this pdf automatically' .Please tell me how this is possible in alfresco.

vikrasharma
Champ in-the-making
Champ in-the-making
Is this a content migration project?
The reason to ask this is cause you are saying properties in a separate file.  For bulk content upload with properties in a separate file you can use ACP bulk upload utility generator:

acpGeneratr <path and fileName of a custom model> <path to directory where ur PDF's r located> <destination path> <content type> <CSV file with property values>

If you don't want to do a bulk upload then look into rules and scripts and you should be able to accomplish this.

Thank u for giving me suggestion but i want to create a situation where 'when a pdf file is uploaded it read data from its similer idx file (which store information of that pdf) and add  them as a property of this pdf automatically' .Please tell me how this is possible in alfresco.