In Acrobat, select Properties from the File Menu. The Document Properties dialog is now showing. Select the Custom tab. Here I am able to add/delete "Custom Properties". This is nice because it allows me to store information in the PDF that I can then refer to on a later date (problematically that is).
I'm at a loss of how to do this with the Viewer SDK or even the Viewer itself.
If not doable then maybe you can help me solve this problem -- I need to store Key/Value information in a PDF such that I can reference it at a date. I will not always be on the same machine or in the same universe. The information must be stored in the PDF. Storing something in a hidden annotation is not appealing for obvious reasons. Ditto for using Form Fields for storage.
Any ideas?
How to set/get document Custom Properties?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to set/get document Custom Properties?
Hello DSSavant
I believe I have seen this question before, but I think the answer then was that it is not possible with our Viewer (or SDK for it).
I will ask the dev guys again today, and see what they can say on the topic.
Best,
Stefan
I believe I have seen this question before, but I think the answer then was that it is not possible with our Viewer (or SDK for it).
I will ask the dev guys again today, and see what they can say on the topic.
Best,
Stefan
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to set/get document Custom Properties?
Anything from the Development team on this item yet?
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to set/get document Custom Properties?
Hello DSSavant,
Asked again, and will try to get the answer in the next hour.
Best,
Stefan
Asked again, and will try to get the answer in the next hour.

Best,
Stefan
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to set/get document Custom Properties?
Hi DSSavant,
Got the answer directly from the project leader, and I am afraid that it was:
"There is no way to achieve this with our products"
Best,
Stefan
Got the answer directly from the project leader, and I am afraid that it was:
"There is no way to achieve this with our products"
Best,
Stefan
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to set/get document Custom Properties?
I understand. I will figure out a nasty hack to work around this.
Please consider this a request to add it. The ability for document systems to store metadata in a PDF for auditing, history, security, etc., is huge.
Please consider this a request to add it. The ability for document systems to store metadata in a PDF for auditing, history, security, etc., is huge.
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to set/get document Custom Properties?
Ok 
And please don't forget to share this (so we can all see how nasty it is
)
Cheers,
Stefan

And please don't forget to share this (so we can all see how nasty it is

Cheers,
Stefan
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to set/get document Custom Properties?
Hi, DSSavant.
Currently there does exist another way: you may use XCPRO40.DLL library from our PDF-XChange Tools API (https://www.pdf-xchange.com/product/pdf-tools-sdk) to store/restore your custom data (atrings, numbers, arrays, streams) to/from pdf-document.
HTH.
Please wait for V3, you will be able to do it in the new version only.Please consider this a request to add it. The ability for document systems to store metadata in a PDF for auditing, history, security, etc., is huge.
Currently there does exist another way: you may use XCPRO40.DLL library from our PDF-XChange Tools API (https://www.pdf-xchange.com/product/pdf-tools-sdk) to store/restore your custom data (atrings, numbers, arrays, streams) to/from pdf-document.
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.