Page 1 of 1

How to add Custom MetaData / Properties

Posted: Mon Sep 08, 2014 10:02 pm
by jeffp
I have a customer that would like to add some custom meta data fields to the PDF file.

Essentially, they want to go beyond the standard Title, Author, Subject, and Keywords fields and add some like Status, Deparment, etc.

Is this possible? Or do the just have to add all these say as name value pairs in the Keywords field.

I see in Adobe there is a "Custom" tab under document properties that looks to allow something like this.

Thanks in advance.

--Jeff

Re: How to add Custom MetaData / Properties

Posted: Wed Sep 10, 2014 12:42 pm
by Tracker Supp-Stefan
Hello Jeff,

I am not sure if that is at all possible, but I've forwarded this to a colleague from the dev team (Vasyl) that should be able to help, and we will post back here when we have some further news.

Regards,
Stefan

Re: How to add Custom MetaData / Properties

Posted: Wed Sep 10, 2014 5:28 pm
by Vasyl-Tracker Dev Team
Hi Jeff.

It is impossible currently with Viewer ActiveX SDK but I can suggest one other way - for get/set custom values you may use our different PDF-Tools SDK API:
https://help.pdf-xchange.com/DEV/de ... entinfoexw
https://help.pdf-xchange.com/DEV/de ... entinfoexw

With new Editor SDK you will be able to do it as well..

HTH.

Re: How to add Custom MetaData / Properties

Posted: Sat Feb 16, 2019 4:03 am
by jeffp
Can you point me to where I can learn how to add custom meta data in the latest PDF Editor SDK.

--Jeff

Re: How to add Custom MetaData / Properties

Posted: Mon Feb 18, 2019 12:54 pm
by Tracker Supp-Stefan
Hello Jeff,

I asked a colleague from this office for help with the latest enquiry, but it turns out we will need the advise of a colleague in the Canadian office as well! I've now passed your request to the correct person, and we will post again here as soon as possible!

Regards,
Stefan

Re: How to add Custom MetaData / Properties

Posted: Wed Feb 20, 2019 12:06 am
by Ivan - Tracker Software
In the Editor SDK/Core API you can work with XMP using interface IPXC_XMPMetadata. This interface provides only basic features to get/set XMP properties. For advanced handling, you have to get XMP metadata stream using GetXMP method, work with it using XMP SDK (for example, Adobe XMP Toolkip), and set it back, if necessary, using SetXMP.

Having a document (IPXC_Document), you can get its metadata using IPXC_Document::GetXMPMetadata method.

Re: How to add Custom MetaData / Properties

Posted: Wed Feb 20, 2019 12:46 am
by jeffp
I see the calls but I was looking for a simple example. Would that be possible?

I have a cases where I want to add a few receipt items to the XMP like

SubTotal
Tax
Total

Thanks.

--Jeff