1 Reply Latest reply on Sep 29, 2015 8:38 AM by wkoepcke

    Overriding Jive js File


      Hi All,


      We are trying to increase the tag length limit from 55 characters to 100 characters. We found that this limit is set in tags_controller.js file.

      So we have to override the default Jive tags_controller.js file.


      PFB the Steps which we have tried

      1) Editted the tags_controller.js file and tags_controller-min.js (changed the MAX_TAG_LENGTH var hardcoded in the js file to 100). Built the jar. PFA

      2) Placed the jar file under /usr/local/jive/applications/template/<<app-name>>/WEB-INF/lib folder and gave Jive Permissions for the jar

      3) restarted the instance

      4) changed the below sytem property to current epoch time




      But still the files generated below doesn't contain the changes we have added and are loading as the default Jive files.

      /usr/local/jive/var/www/resources/scripts/apps/tags/ tags_controller.js

      /usr/local/jive/var/www/resources/scripts/apps/tags/ tags_controller-min.js


      Kindly let us know if the process we have followed is correct or do we need to add any other changes.