4153

Keystone JS: local file uploads being auto-renamed

Question:

Whenever i am uploading file after upload name is getting change to random value? I think it is default function of keystone.How can i stop this?

Answer1:

You can pass originalName: true to the schema configuration. This gives you both names as a reference.

Recommend

  • Keystone+React: 'import' and 'export' may appear only with 'sourceType: mod
  • File upload php, get only file name
  • how to create a downloadable csv file in appengine
  • Laravel Impossible to Create Root Directory
  • Unzip archive in .Net CORE 1.0
  • Add reference to ASP.NET 5 Class Library from Framework 4.5 Class Library Project
  • Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no
  • Upload file that is in the cpan database
  • VSCode change debug shell to bash on windows
  • C#: Import/Export Settings into/from a File
  • How to retrieve information from antrun back to maven?
  • How can I replace the server in Web Component Tester
  • Is there some graphical way to create my own configuration file on SonarLint?
  • nodemcu custom firmware build problems
  • perl, mysql - fasting way to upload a csv file into mysql?
  • Spring Cloud Microservice Architecture Confusion
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • Read a local file using javascript
  • Scrapy recursive link crawler
  • How can I send an e-mail from a vbs script
  • NetLogo BehaviorSpace - Measure runs using reporters
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Spray.io: When (not) to use non-blocking route handling?
  • Modifying destination and filename of gulp-svg-sprite
  • How to handle AllServersUnavailable Exception
  • GridView Sorting works once only
  • Calling of Constructors in a Java
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Is there a mandatory requirement to switch app.yaml?
  • Traverse Array and Display in markup
  • Transpose CSV data with awk (pivot transformation)
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • coudnt use logback because of log4j
  • Binding checkboxes to object values in AngularJs
  • UserPrincipal.Current returns apppool on IIS
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?