Start a conversation

Unable to Upload .js Files to Static Content in Space/Group

Overview

Customer is unable to submit a .js file to their statics area.

 

Environment

Jive Interactive Intranet - Jive Core - Hosted - 9.0.6

 

Visible Issue or Error

No error message is generated, simply does not show the .js file as being uploaded.

 

Reproduction Steps

  1. Go to 9.0.6 instance. 

  2. Set user permissions to allow Save Javascript Files (Can be found in Admin Console > Permissions > Home Page Permissions).

  3. Go to a group.

  4. Click Manage  > Settings.

  5. Select a .js file.

  6. Try to upload.

Resolution

Check please the following configuration:

  1. Go to System Admin > System > Management > System Properties.

  2. Check the following system property:

    jive.statics.whitelist  =  image/gif, image/jpeg, image/png, image/bmp, text/html, text/css, text/javascript, text/plain.

  3. In order to accept .js files, this must be included: text/javascript into the value of the system property.

Note: only On-Premise customers can set these properties by themselves. Hosted and cloud customers should open a ticket in the Jive Support Portal

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments