-
1. Re: Storing information within a document
Harbs. Dec 21, 2011 4:45 AM (in response to B4stien)1 person found this helpfulWow. That's a lot of data.
2 ideas:
1) You can compress the data and store it as a binary string in the label. That might give you more capacity.
2) You can split the string and store it in multiple labels.
Harbs
-
2. Re: Storing information within a document
Marijan Tompa [tomaxxi] Dec 21, 2011 11:49 PM (in response to Harbs.)Yes, a lot of data!
It's interesting that you can write even more (I wrote about 1 Mb),
but everything over 4,854 is flushed during the save.
http://indisnip.wordpress.com/2010/07/31/saving-script-data-within-document/#comment-511
--
Marijan (tomaxxi)
-
3. Re: Storing information within a document
aolenskieDec 21, 2011 11:57 PM (in response to Marijan Tompa [tomaxxi])
1 person found this helpfulHi, would storing the data in the XMP packet for the document be an option?
-
4. Re: Storing information within a document
Marijan Tompa [tomaxxi] Dec 22, 2011 12:16 AM (in response to aolenskie)Hey Adrian,
Maybe that could be an option,
but then he needs to encrypt the data for sure,
because user can easily read the contents of XMP.
Is there any size limitations?
He could just create custom namespace and push the data in.
--
Marijan (tomaxxi)
-
5. Re: Storing information within a document
aolenskieDec 22, 2011 12:31 AM (in response to Marijan Tompa [tomaxxi])
I don't know of any size limitations (but that might be more a function of my ignorance). We built some tooling into Extension Builder that should greatly simplify this area (including encryption). See Fraser's excellent blog:
http://www.adobe.com/devnet/creativesuite/articles/handling-metadata.html
-
6. Re: Storing information within a document
Harbs. Dec 22, 2011 1:21 AM (in response to Marijan Tompa [tomaxxi])XMP is probably a very good way to handle it!
If you care about data encryption, labels are no better.
All document labels are written into the desingmap of an IDML document...
Harbs
-
7. Re: Storing information within a document
B4stien Dec 23, 2011 4:21 AM (in response to Harbs.)Thanks for your help everyone, XMP looks quite interesting, and elegant. And I'm not too concerned about data encryption, I'm not storing anything in there that requires special security.
In most cases labels, would suffice for storing all the info, but I like to be prepared.
I'll look into it after the holidays. Thanks again.