Modifying Uploaded File Names
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Modifying Uploaded File Names

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.10.2
Root FolderExample Lab-Modifying Uploaded File Names
Modules None
DependenciesNone

This Example Lab project demonstrates how to download files with modified file names.


Explanation

The first step, Create Data step, has two file data variables that are set to constant and stores two test files that will be used in this example project. One file is a CSV file and other is a PDF file. The second step, a Form, displays the original file names and asks user to enter a new file name with the extension. It is important that the file name includes the correct extension. The last step is a End Form step. This Form contains two Download elements that allow the user to download the files with the new file names. The End Form step inputs are using build data to pull in the file content from the Create Data step and the new file names from the first Form for the file name. When the files are downloaded the new files names will be displayed.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.10.2 or later using our Importing/Exporting article.





Was this article helpful?