cancel
Showing results for 
Search instead for 
Did you mean: 

A little problem with conversion to PDF

fselendic
Champ in-the-making
Champ in-the-making
I've put a rule on a Space to convert any document to PDF in Alfresco 2.0 preview. Conversion works fine, however, newly created PDF file has Description and Author missing, although they are present in original document.

I actually somehow managed to get Description in PDF file, however, once and never again, and I can't remember how. Is this a bug, or there's some setup option?
4 REPLIES 4

dnind
Champ in-the-making
Champ in-the-making
I think it is the default behavior to add the properties from the document where they exist.  I created a rule to convert from a word document (created in Word 2002) and this worked fine (using Alfresco 2.0 - complete installation on Windows XP).

fselendic
Champ in-the-making
Champ in-the-making
I think it is the default behavior to add the properties from the document where they exist.  I created a rule to convert from a word document (created in Word 2002) and this worked fine (using Alfresco 2.0 - complete installation on Windows XP).

Thnks. Yeah, I also think this should be default and desired behavior. However, somehow doesn't work for me.

Actually, it works when properties are imported from existing .doc document. If you upload document without Author and Description in its properties, and then add Author and Description during second upload screen, you'll notice that your .doc file WILL have Author and Description in Alfresco, and coresponding converted PDF file will not have them.

Can you please check that behaviour? Adding doc file without properties?

Thanks, Filip

rbelisle
Champ in-the-making
Champ in-the-making
Where are you converting to PDF, on an inbound rule?

If that is the case, you can see the following behaviour:

1. Select Add content while in the folder.
2. Select file and upload.
3. The next screen is General Properties. When you click Ok on this screen, the rule fires, therefore, it doesn't matter if you update 'All Properties' on the next screen to add Author/Description etc, because the conversion to PDF has already taken place.

Could this be your scenario?

fselendic
Champ in-the-making
Champ in-the-making
Where are you converting to PDF, on an inbound rule?

If that is the case, you can see the following behaviour:

1. Select Add content while in the folder.
2. Select file and upload.
3. The next screen is General Properties. When you click Ok on this screen, the rule fires, therefore, it doesn't matter if you update 'All Properties' on the next screen to add Author/Description etc, because the conversion to PDF has already taken place.

Could this be your scenario?

Yep. Exactly that scenario. Thanks. Rule fires a bit to early Smiley Wink I'll se what I can do to avoid it.