I'm using Confiforms macros to create forms where users can input information, including uploading files.
This works well, with the file being stored as an attachment on the page holding the form "database".
However, I would like to add a field to the database to access info from these files (e.g. date created), or info from their URLs (e.g. Version number / Modification Date ).
How can this be achieved?
Hi @Chris Jones
I think I am the right person to help you with this.
As I understand you want to show some metadata for stored files (with ConfiForms) and show it on some page, correct?
Version number is stored together with the file handler in ConfiForms, that should be OK to get, and you want a "file modification date", right?
PS, Feel free to contact us directly vertuna(at)vertuna.com or through the contact form on our wiki.vertuna.com website
And update to this question:
Now it is possible to access attachement metadata of the file stored through ConfiForms, https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
basically, you can access any property of the Attachment object, https://docs.atlassian.com/confluence/5.9.1/com/atlassian/confluence/pages/Attachment.html
and also you can get the base64 encoded contents of the attachment (caution: can be memory consuming for large files)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs