Trigger a PDF conversion on a document
By default WorkZone Content Server and WorkZone PDF Crawler will generate PDF/A documents based on specific rules that trigger when documents are created or when meta data has changed.
If you want to trigger conversions manually, without changing or setting up server rules, you can do so manually by setting the PDF property on the Record entity to true.
Example:
Trigger a PDF conversion
// collection for change tracking. Fetch document to convert and add to collection.
DataServiceCollection<Record> track = new DataServiceCollection<Record>(context.Records.Where(r => r.ID == "The-Document-Number"));
var record = track.Single();
// apply the change and submit.
record.Pdf = true;
context.SaveChanges();