Downloads 1.6.0
Welcome to Downloads - created and maintained by Sascha Wildgrube.
The Downloads application provides access to downloadable files to users. Each download is a record to which access can be managed and files can be attached to.
Only active download records are visible to regular users.
The Downloads app can copy files that are created in Scheduled Data Exports to a download record. The download record can be configured in the Export Set. The download record will only keep the latest exported file.
Whenever the files are updated an event is fired that triggers a notification to users who are watching the download record. Users can watch and unwatch a download record by clicking the corresponding button on the download record form.
System Requirements
Disclaimer
Downloads is NOT an officially supported ServiceNow product.
Downloads does NOT come with any kind of warranty. If you use it, you own it!
Implementation Guide
Installation
- Create an account on GitHub (if not done already).
- Create a personal access token for your GitHub account.
- Paris or later: Add credentials to access GitHub (Use "Basic Auth").
- Fork the repository https://github.com/saschawildgrube/servicenow-devtools.
- Go to Studio and import the DevTools application from source control.
- Follow the installation instruction contained in "DevTools/Start".
- Fork the repository https://github.com/saschawildgrube/servicenow-downloads.
- Go to Studio and import the Downloads application from source control.
- Execute the test suite at "Downloads/Test Suite".
Configuration
- Assign the x_snc_downloads.admin role to users who are tasked to administrate the Downloads application.
- Assign the x_snc_downloads.manager role to users who are tasked to configure the download records.
- As a manager user go to the "Downloads" module and set up the download records.
- Then you can configure export sets to deliver a file not only to a mid server but also to a defined download record.
- Assign the x_snc_downloads.user role to those users who should have read-only access to downloads.
Roles
Downloads supports the following roles:
- x_snc_downloads.admin
A user that has access full access to the Downloads app. Includes the x_snc_downloads.user and x_snc_downloads.manager roles.
- x_snc_downloads.manager
A user that has can create and modify download records and can configure from where files should be picked up. Includes the x_snc_downloads.user role.
- x_snc_downloads.user
A user that has read-only access to the download area. Enabes to download files.
Events
License
Copyright 2020-2021 by Sascha Wildgrube
Licensed under the Apache License, Version 2.0 (the "License")
You may not use DevTools except in compliance with the License.
You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Release Notes
1.6.0 - 2021-10-29
- Rome is now supported.
- Orlando is no longer actively supported.
1.5.2 - 2021-09-14
- DevTools 1.22.0 is required.
- Added required role to Watch/Unwatch UI actions.
- Using new features from DevTools' DocumentationAPI in this page.
- Added function AppGetDependencies() to provide information about this app's dependencies to other apps.
1.5.1 - 2021-06-10
- Fixed a bug that prevented the recalculation of the file size under some rare circumstances.
- The log is now always sorted by sequence.
1.5.0 - 2021-06-10
- New York is no longer actively supported.
- DevTools 1.16.0 is required.
- The "File size" field now represents the sum of all attachments of the download record.
- The "File updated" field is now cleared once the last attachment is removed from a download record.
- The "active" field is no longer visible to regular users.
- Update events are now only fired for active download records.
- Notification mails are sent to users who are actively watching the updated download record.
1.4.0 - 2021-04-22
- DevTools 1.14.0 is required.
- The download name field is now mandatory.
- Added a field to display the file size in the list and form view.
- Rearranged the downloads form view.
1.3.0 - 2021-02-15
- DevTools 1.9.0 is required.
- Added Quebec to the supported releases.
- Repaired defective layout on the download form.
- Improved form layout on the export set form.
1.2.0 - 2021-01-29
- Added the "File updated" field which shows the last point in time when an attachment of a download record was updated.
1.1.0 - 2021-01-28
- Introduced the x_snc_downloads.manager role. Users with that role can configure the download records but do not have access to the administration backend.
- Introduced the active field. Only active download records are visible to regular users.
1.0.0 - 2021-01-21
First baselined version.