Page 1 of 1

Programmatically set metadata values

Posted: Fri Jun 05, 2020 6:59 pm
by michelw
Is there some example code somewhere on how to set metadata programmatically?

I'm slowly trying to write an app that can automatically extract bits of metadata, and I want it to populate metadata values based on this. My idea is to automatically add company names to invoices by trying to extract IBANs from the text content of the document. The reason that I want to piggy-back on metadata is that I also want the user to be able to override/manually set this data in case automated extraction fails, so metadata seemed like a viable candidate. If there are better options, feel free to educate me!

Re: Programmatically set metadata values

Posted: Tue Jul 07, 2020 9:18 am
by oohlaf
There's an example in
The API documentation is under System > Tools