This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
versago3:dataview_display [2022/09/08 13:03] dlee created |
versago3:dataview_display [2024/03/14 14:16] (current) dlee [Field Display] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Field Display ===== | + | ====== Field Display |
| 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. | 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. | ||
| Line 5: | Line 5: | ||
| {{: | {{: | ||
| - | * The **Visible** checkbox indicates if the column is to be displayed in the report. When the checkbox is selected (the default) the column is displayed. Use of this setting is helpful when you have columns that are used for filtering and linking but do not need to be displayed. | + | * The order of the fields can be changed |
| - | + | * The **Aggregate** option provides a way to automatically display | |
| - | * **Name** shows the column name from the source query and data type provided from the data selection. It is provided for information only and cannot | + | * **Group |
| - | + | * **Display | |
| - | * **Display Field Name** is what the user sees when the report is displayed. | + | |
| - | + | ||
| - | | + | |
| - | + | ||
| - | * The **Total** option provides a way to automatically display | + | |
| - | * When this option is selected, the page total of the column is displayed at the bottom of each page, as well as the report total. | + | |
| - | + | ||
| - | * The **Display Order** column indicates the sequence in which columns are displayed and can be used to change the display order. See the // | + | |
| - | + | ||
| - | * **Group** causes the output to be automatically grouped for each unique value in the selected data. | + | |
| - | * Only one value can be marked as “groupable.” A message is displayed when moving to the next step if multiple grouping items are found. The message indicates which item will be used for grouping. | + | |
| - | * The grouping set in the report definitions can be removed when the report is executed but cannot be changed by the user. | + | |
| - | + | ||
| - | * **Sorting** allows columns to automatically be sorted when the report is executed. | + | |
| - | * Options are ascending and descending. Select the desired option from the drop-down list. | + | |
| - | * Sorting is applied based on the display sequence of the columns. You may need to change the display sequence to get the sorting you desire. | + | |
| - | * If no sorting option is selected, the data is presented in whatever order it is read from the database. | + | |
| - | + | ||
| - | * **Type** identifies how the data in a column should be interpreted for presentation. | + | |
| - | * Depending on your needs, the Type may need to be selected manually from the drop-down list. | + | |
| - | * Keep in mind that some types may not make sense for use with specific types of data. | + | |
| - | + | ||
| - | There are nine **Types** available. Their use depends on the type of data being reported. Usage is outlined in the following table. | + | |
| - | + | ||
| - | ^**Type**^**Used with Data Type**^**Additional Information**^ | + | |
| - | |None|Default|Values are displayed as the are found in the database| | + | |
| - | |Decimal_2 |Numeric|Numeric values are displayed with two decimal places.| | + | |
| - | |Currency|Numeric|Numeric values are displayed in a currency format based on the selected localization. See **Note 1** below.| | + | |
| - | |Date|Date or DateTime|Displays date values based on the selected localization. See **Note 1** below.| | + | |
| - | |DateTime|DateTime|Displays date/time values base on the selected location. See **Note 1** below.| | + | |
| - | |Email|Text|The data is treated as an email address and presents a “link” with the value. Clicking on the link opens the default email client on the user’s device and passes the text as the “To” address.| | + | |
| - | |File|Text or Binary|This option presents a link that causes the system to attempt to download the file to the user’s device. See **Note 2** below.| | + | |
| - | |Image|Image Binary|Used to display images in the report| | + | |
| - | |URL|Text|The data is treated as a URL and presents a link with the value. Click on the link opens the default browser on the user’s device and passes the URL to the browser.| | + | |
| - | + | ||
| - | * **Thumbnail Size** determines the size of thumbnail images presented in the report. | + | |
| - | * This option is only displayed when the __type__ of **Image** is selected. | + | |
| - | * Options are 45 or 65 pixels. | + | |
| * **Localization** is used to adjust the formatting of date, datetime, and currency __types__. | * **Localization** is used to adjust the formatting of date, datetime, and currency __types__. | ||
| - | | + | |
| - | * **File Name** is only accessible when the data type of the column | + | <WRAP center round info 80%> |
| - | + | Users will be able to sort by clicking | |
| - | * Numeric values | + | </WRAP> |
| **Note 1** | **Note 1** | ||
| - | If you need to report date and time values in a specific format that cannot | + | A Data View can display |
| - | **Note 2** | + | |
| - | + | ||
| - | Beginning with Versago v2.4 it is possible to download files on disk or files stored as binary data in a database. | + | |
| - | + | ||
| - | | + | |
| * The source files must be in a folder location that can be accessed by Versago and Windows IIS. What this means is that files will typically need to be in a network share, e.g. " | * The source files must be in a folder location that can be accessed by Versago and Windows IIS. What this means is that files will typically need to be in a network share, e.g. " | ||
| - | * This information is contained in the report results and acts as a pointer | + | * The Display Type should be set to File |
| * **Database Source Files** are identified by reference to specific records in a database. | * **Database Source Files** are identified by reference to specific records in a database. | ||
| * The data is found in a table named " | * The data is found in a table named " | ||
| - | * Two values are required from the record: FileName and FileContent. | + | * Two values are required from the record: FileName and FileContent. |
| - | * When the data type of the column is binary, blob, or varbinary the __File Name__ field for the FileContent row presents a drop-down list of fields from the report query. | + | * The Display Type of __FileContent__ should be set to File |
| - | * It is not necessary to display the __FileName__ value in the report, but showing | + | * It is not necessary to display the __FileName__ value in the report, but showing the name of the file is typically very helpful. |
| 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. | 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. | ||
| Line 81: | Line 38: | ||
| 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. | 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. | ||
| - | ===MIME Types (Technical Topic)=== | + | <WRAP center round info 80%> |
| + | Video regarding files and Data Views | ||
| + | </ | ||
| + | |||
| + | ====Highlights==== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ====Derived Fields==== | ||
| + | |||
| + | 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. | ||
| - | Multipurpose Internet Mail Extensions (**MIME**) types identify the types of content that can be served to a browser or a mail client from a Web server. Since Versago is a browser-based application, | + | {{ : |
| - | The most common file types (PDF, XLXS, TXT, DOCX, etc.) are already defined in IIS (the Windows web server). The general process | + | - Enter the name for the new derived field |
| + | - Use the available functions | ||
| + | | ||
| + | - Save the derived field | ||
| - | One MIME type that is not defined by default is for Outlook email messages. These files have the extension **.msg**. Specific steps to add this MIME type are found here: http:// | + | ====Images |
| - | ====Calculated Fields==== | + | The following image formats are supported. |
| - | 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 [**Add Calculated**] and [**Update Calculated**] buttons on the “Field Display Details” page. | + | |
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Each image must be provided in four (4) sizes. | ||
| - | {{ :versago: | + | * 45 x 45 for thumbnail image |
| + | * 65 x 65 for thumbnail image | ||
| + | * 250 x 250 for mouse-over (hover) image | ||
| + | * 1024 x 1024 for on-click (large) image | ||
| + | |||
| + | Images are held in the folder C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages. | ||
| - | See the **// | + | <WRAP center round info 80%> |
| + | Video regarding images and Data Views | ||
| + | </WRAP> | ||
| - | ====Images in Reports==== | ||
| - | Go **// | ||
| ---- | ---- | ||