6 Replies Latest reply: Aug 15, 2017 10:41 AM by Enzo Rabante RSS

    Default "Main" Script

    Enzo Rabante

      Hi,

       

      I have a Qlik Sense installation on my company and when we create a new App, default Main script and all settings are following en-US parameters.

       

      I want to change the default for any new app created to a different parameters (ex: comma for decimal separator...).

       

      How is possible do it?

       

      I already changed regional setting on Windows server side but nothing!

       

      Thanks.

        • Re: Default "Main" Script
          Juan Patricio Iorio

          Hi Enzo!

           

          A good practice is to create a config file with all the things you want to have the qvf's, and when you create a new app the only thing you have to do is put an include line like this:

           

          $(Must_Include='lib://qliksense/CFG\myConfig.qvs');

           

           

          The qvs extension open with a txt and when you have to change something, you only do a modification to this file.

            • Re: Default "Main" Script
              Enzo Rabante

              Thanks Juan.

               

              so you are suggesting to remove following default settings and add just line you suggested?

               

              The problem is that I'm looking for a simple solution for my final users; woudl be great if I can found how change default regional settings for that.

               

              SET ThousandSep=',';

              SET DecimalSep='.';

              SET MoneyThousandSep=',';

              SET MoneyDecimalSep='.';

              SET MoneyFormat='$#,##0.00;-$#,##0.00';

              SET TimeFormat='h:mm:ss TT';

              SET DateFormat='M/D/YYYY';

              SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';

              SET FirstWeekDay=6;

              SET BrokenWeeks=1;

              SET ReferenceDay=0;

              SET FirstMonthOfYear=1;

              SET CollationLocale='en-US';

              SET CreateSearchIndexOnReload=1;

              SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';

              SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December';

              SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

              SET LongDayNames='Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday';