Update docs/components/publish/index.rst

This commit is contained in:
AcuGIS 2024-06-06 07:23:00 +00:00
parent 61a4332f24
commit c33e552f0f
1 changed files with 7 additions and 36 deletions

View File

@ -6,52 +6,23 @@ Publish
Publishing Reports
==================
To publish a report, click the Publish tab as shown below:
To publish a report, click the Publish link as shown below:
.. image:: _static/publish-tab.png
.. image:: _static/publish.png
This will open the screen below.
Select the location from the dropdown and then select jasper and jrxml files you wish to upload:
.. image:: _static/publish-default.png
.. image:: _static/publish2.png
.. note::
The file browser location is set to /home/tomcat/apache-tomcat-v/jasper_reports/reports
Select the directory you wish to publish to and then select Upload to upload both your .jrxml and .jasper files.
You would also include any support files, such as image files.
Creating Directories
====================
To publish a report, click the Publish tab as shown below.
If you wish to create a new Report directory, use the Files link on the left menu or create via SSH or SFTP.
.. image:: _static/publish-tab.png
Enter the name of the directory you wish to create as show below. This will create a new directory, NewReports, under the main reports directory.
Once text is entered, upload any files you wish to.
.. image:: _static/publish-browse.png
Note that once a Directory has been created, it will be added to the availbale directories for subsequent publications:
.. image:: _static/publish-new.png
Options
=======
There are four options for uploading files.
1. Local File - this is a file already on the device.
2. Uploaded File - upload from your local machine.
3. HTTP or FTP URL - obtain files via HTTP or FTP
Additionally, select the options to upload zip archives as well as to over-write any existing files (for when you publish updates to your reports).
.. image:: _static/publish-options.png
.