This is an old revision of the document!
The page is used to define which columns are displayed in the data view, the order the fields are displayed, and to set various display options.
Note 1
A Data View can display a file for download. The file can be stored in the file system or in the DB in a binary field
The files in a database approach does require that the FileContent value is not NULL. As it is very possible that a report row will not have a corresponding report to download, use the following SQ. Setting FileContent to 0 when the database value is NULL allows the report to execute without errors.
isnull(t1.FileName, 'No File') as [FileName], isnull(t1.FileContent,0) as [FileContent]
In both cases, keep in mind that any user that has access to the report can download any file listed in the report. If certain files should be available to certain group(s) of users, different reports may be needed.
Highlights are a simple visual cue presented when the data matches the defined conditions. Highlighs can be configured for any numeric value in a Versago Data View.
It is possible to calculate values at the time a report is executed and present them as a new column. This is done using the [Derived Field]button at the bottom of the page.
The following image formats are supported.
Each image must be provided in four (4) sizes.
Images are held in the folder C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages.
The images must also be registered in the Versago common database in the versago_image_files table. A Bizweaver workflow is available to assist with this process. Images can also be registered manually as described elsewhere in this page.
This example displays a list of production orders with an image of the finished product.
SELECT t0.ItemCode, t1.ItemName, isnull(t2.filepath,'\SiteImages\NoImage_45.png') AS [ImagePath], t0.DueDate, t0.Status, t0.DocEntry, t0.DocNum FROM OWOR t0 INNER JOIN OITM t1 ON t0.ItemCode = t1.ItemCode LEFT JOIN [vgoCommon].dbo.[versago_image_files] t2 ON t0.ItemCode = t2.IntersectionID COLLATE database_default WHERE t0.Status IN ('R','P') AND isnull(t2.filepath,'\SiteImages\NoImage_45.png') LIKE '%45%'
In most cases, using a Bizweaver workflow will be the quickest and easiest way to register images for use with Versago. A standard workflow named “Versago Image Loader” is available from Third Wave as a download from https://portal.twbs.com (login required). Following are the steps to use the workflow.
The Bizweaver process provided by Third Wave assumes that the file name is structured as ID_Size. As an example for image A00001, the file names will be A00001_45, A00001_65, A00001_250, and A00001_1024.
Further, the “ID” is used to map to a value in the Versago report. In the previous example, “A00001” will map to an item number in SAP Business One that is included in the report.
Versago images are most commonly imported and registered using a Bizweaver workflow. It is also possible to manage image information manually, as described here.
Four image sizes are required as noted above. The images should be placed in the older C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages.
The Image Maintenance form can be used to update information created through the Bizweaver upload process or to add image information manually.
The file name is typically the same value as its associated object. So item number images carry the associated item number, Business Partner logos would carry the BP Code, etc. This association is how the Bizweaver process works, and should also be used when manually entering image information.