Confiforms - Accessing version / modification date info in uploaded files

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?

 

Thanks.

2 answers

This widget could not be displayed.

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

Best Regards

Sash

This widget could not be displayed.

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)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

458 views 6 6
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you