How do I upload, download, and edit Custom Crystal Reports in the cloud?  (VRL Method)

Author: Eric Vasbinder

OVERVIEW

Getting custom reports into Vista, or downloading them from Vista's "Viewpoint Repository" used to require a number of steps outside of Vista:  browsing to the Viewpoint Repository share, ensuring you had the access rights to that share, finding the custom reports folder, and dragging the reports into the folder, or dragging them from the folder.   This has now been greatly simplified.

As of version 6.19 of Vista and higher, only the Vista client is needed to provide this access for end users.  With the release of VRL in our cloud, we have also created our first web services API (a.k.a. File System API).  This REST-API is used behind the scenes in Vista to allow for new custom reports, create and send templates, and import files to be added into Vista, directly through the client.  Vista still uses, behind the scenes, the Viewpoint Repository, with a reports\custom directory.   However, as of version 6.19 and higher, the end user can add new reports into Vista by merely dragging the files on to the Info tab of the specific RP Report Location for Custom reports; no VPN, RDP, or Windows file Share access needed.  Conversely, downloading them from Vista merely requires the end user to drag the file in question from the Info tab to the user's desktop or other location using the local workstation's File Explorer.  

In effect, Vista's RP Report Locations Info Tab has become a pseudo "File Explorer" for the Viewpoint Repository, allowing end users to upload, download, rename, and delete files in the Viewpoint Repository without ever needing a VPN connection or visibility to the Windows File Share directly.  This increases security and provides a much more convenient method to access the files in the Repository.

Please see the next section for the steps in detail.

IMPORTANT - Custom Reports Folder Structure

As you will see below, in the cloud, unlike on-premise, we need to ensure that custom reports are located in folders that are only one folder deep from the main reports folder.   In other words, a custom report folder structure should be in the format of 

There should be NO custom report folders that are nested more than one folder down from the "reports" folder itself.  For example, the use of a custom report folder called, \\servername\viewpoint repository\reports\custom\AP  would fail as the cloud connection mechanism (VRL) cannot read reports in child folders, such as the \AP folder.  

UPLOADING REPORTS

DETAILED INSTRUCTIONS

Browse to the Custom Reports Location

Review the Directory Location

Upload the Report

DOWNLOADING REPORTS

Reports may be downloaded from the Vista server using the same method as uploading reports, but merely in reverse.   The end user browses to the RP Report Locations Form's Info Tab for Custom Reports.  Then drags the file in question to their local desktop or file system.  Boom!

EDITING REPORTS

Once a report has been downloaded to your local workstation, you can then edit the report using a copy of Crystal Reports Builder installed on your local workstation to update any fields, formatting, settings, etc.  However, to test the reports in Crystal Reports Builder, you will need to ensure that your local workstation has direct database visibility to the Vista database server in the cloud.  There are two methods to enable that access:

SPECIAL NOTE on Data Source Names (DSNs)

You will need to ensure that the DSN in each Crystal Report is set up to point correctly to the cloud Vista database server.  Without this, your report will not be able to pull up any data.  If you have using the IPSEC VPN, when you download the report to your local workstation to edit it, you will just need to change the DSN once, to point to the private IP of the Vista DB server.  However, the TLS Database Endpoint (TLS VPN) is NOT reachable from the Vista server inside the cloud - only externally.  As such, you'll need to switch the DSN twice if you use the TLS Database Endpoint (TLS VPN):  once upon download for testing and dev purposes and once just prior to upload.

Process Steps for TLS Database Endpoint (TLS VPN) Users

Process Steps for IPSEC VPN Users

Please see the next section for the steps to set up new reports in detail..

SETTING UP NEW REPORTS

DETAILED INSTRUCTIONS

Changelog

Friday, 25 August 2023 at 09:09AM:  

Wednesday, 27 April 2022 at 10:19AM

Post date: Apr 24, 2020 11:47:00 PM

Updated:  Tuesday, 09 March 2021 at 08:41PM