Hi,
The docs say that 32kb of ContentProperty can be stored with each piece of content. https://developer.atlassian.com/cloud/confluence/content-properties/
Is this the total amount per key value pair or the total amount of all key value pairs stored with a page (which I may not know, because different plugins or macros may store some own data). I just want to make sure that I don‘t run out of storage space when my custom macro stores data with a page.
Thanks
Tuelle
I have the same problem. If I try to publish a page with a ContentProperty of 300 characters, I get:
PSQLException: ERROR: value too long for type character varying(255)
And sure enough, the column in the database is only VARCHAR 255 (I have Confluence 6.9.0-beta1).
Table "public.contentproperties"
Column | Type | Modifiers
--------------+-----------------------------+-----------
propertyid | bigint | not null
propertyname | character varying(255) | not null
stringval | character varying(255) |
longval | bigint |
dateval | timestamp without time zone |
contentid | bigint |
So, indeed, does Confluence really allow 32kb of Content Properties ?
The documentation for confluence server does not specify the size of the contentproperties. These are meant for small amounts of data, not for storing blobs.
If you have a large amount of data, please consider using Active Objects