![flexi 12 demo flexi 12 demo](https://demo.fdocuments.in/img/378x509/reader019/reader/2020041405/5b8901747f8b9a3d028e799f/r-1.jpg)
When we report an error, this will tell us, and more specifically, the processing server will report an error for this task.
![flexi 12 demo flexi 12 demo](https://img.youtube.com/vi/SJk7bbrutPE/hqdefault.jpg)
We would call it a processing object and we would report an error.
![flexi 12 demo flexi 12 demo](https://cdn3.volusion.com/wndfm.fmqle/v/vspfiles/photos/FLEXIPRINT-2.png)
And what happens here is we have access to a processing object.Īnd so what we would do is we would do something like this.
#Flexi 12 demo how to#
We want to be able to tell the software through the software’s methods, how to report an error if it fails and how to clean it up well. If that fails, then we want to do something smart with it. So in this case, we’re going to try to export to a PDF/A. Also, there’s a lot of options that are documented well online. And you’ll be able to see all of the methods and properties available to you. So if you need to know more about a specific object, all you gotta do is search for it. So for example, the Developer’s Help is very, very strong within the solution. So in this case, I’m exporting to a PDF/A, as I’ve told you, and you can see, I have access to this export images saving options object here.Īnd if you would like to know more about some of these settings, if you go to your start menu and you go to the Developer’s Help, this will be able to tell you. Now, a couple of other things that you should know is that not only do you have access to a document object and processing object, but you also have access to all sorts of cool things that we can do in the export settings. We’re going to give it a path and we’re going to move on.
![flexi 12 demo flexi 12 demo](https://demo.vdocuments.mx/img/642x865/reader018/reader/2019122721/5a9e694f7f8b9a67178b5058/r-1.jpg)
And what we’re going to do is we’re going to export this document itself to a PDF/A.
#Flexi 12 demo code#
I’m going to just copy in some code just to prevent you from having to hear me type for a bunch of code here. In this case, I’m going to do a couple of things. So I would write something like this.Īnd so that’s a very good way to kind of set up our script here. And if there’s a failure, we’re going to allow the software to fail nicely. So the reason why is we want the software to attempt to do something. So typically what we want to do is we want some sort of try catch. So one of the things that I like to do is I always like to use formal and good programming to do such a thing. You can call other APIs, but that’s what we’re going to do today is just simply export the document to a PDF/A, which is actually supported out of the box, but for today’s demo, we’re going to script it. You can write your own custom database call. You can write this script to do whatever you want.
#Flexi 12 demo pdf#
My script is going to export the document to a PDF archivable format, what we call a PDF/A format. Now I’m going to show you this script, but I want you to realize that you can do whatever you want here. Now for today’s demo, I’m going to kind of show you maybe a best practice and how to write this script. We also have access to a processing object. This script has a couple of things that we have access to. You’ll see, the first thing then that happens is we get a script. Now this is really something that you need to control based on your project, but not really the point of today’s demo, but you know, obviously set the setting to be the proper condition based on your project needs. And we will just simply for cases of testing today, we will just say, the errors are irrelevant. The type in this case will be a Custom export (script). For today’s demo, we’re going to add a new export setting. And when that opens, we will go to the export settings at the top left. What we will do is we will open up the document definition via the project menu. And the way that we do that within the solution is by using a custom export script. Now, there are times in the workflow of a FlexiCapture project that we want to do something custom, or maybe we want to call a web service API, or maybe we want to write to a custom database in a custom format that maybe isn’t supported out of the box. Hello today, I’m going to show you how to create a custom export script. In this demo you will learn how to create a custom export script that exports a document to a PDF/A format. Custom export scripts allow you to perform various tasks some of which include exporting a document to a PDF archivable (PDF/A) format, creating database calls, web service calls, and other API calls. Learn how to create a Custom Export Script in ABBYY FlexiCapture.