You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

File Type validation not working post upgrade to 2204 in Chrome

Received Response
12
Views
1
Comments

Summary:

Hi,

We have implemented a upload functionality in our app where in the action chain we are first validating if the file type in CSV in JS. This was working before upgrade. Post upgrade to 2204 same code is not working in Chrome but working in Firefox.

Content (required):


Version (include the version you are using, if applicable):

Release - 2204

VB Runtime version - 2204.2.0

Jet Version - 11.1.5

Code Snippet (add any code snippets that support your topic, if applicable):

PageModule.prototype.validateFileType = function (uploadedFile) {

     if (uploadedFile[0].type == "application/vnd.ms-excel" ) {

       return true;

     }

     return false;

  };

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!