Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
mstoler
Partner - Specialist
Partner - Specialist

NPrinting On Demand remove the 'New Report' button

Hello,

With the on-demand button is there a way to remove the 'New Report' button?

I want to simplify the options for the users.

 

Thanks,

 

Michael

Labels (2)
2 Solutions

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes there is, but it is not officially supported.

  1. you go to QMC and export your qlik-on-demand-reporting extension
    • Lech_Miszkiewicz_0-1633557754304.png

       

  2. unzip the file
    • Lech_Miszkiewicz_1-1633557851726.png
  3. once unzipped - open and edit div.liu-dialog__footer file and comment out line which displays button
    • Lech_Miszkiewicz_2-1633558253449.png

       

  4. save file, and zip it all up again and import as your OnDemand extension. Important: You will need to remove the old extension though from QMC by deleting it (before you can import adjusted one). Make sure you have a backup of it!
    • Lech_Miszkiewicz_3-1633558419261.png

       

  5. Thats it:
    • Lech_Miszkiewicz_4-1633558603360.png
  6. Last thing to remember is extension bundles are automaticaly recreated (hence all above changes would be lost) every time you restart Qlik Sense services or Qlik Sense machine. To prevent it from happening you will have to naviagte to your Extension bundle folder (typically: C:\Program Files\Qlik\Sense\ExtensionBundles) and change file names to something like "xxxxxx.old". That will stop it from recreating itself with each Qlik Sense restart and changes you made in all above steps will not be overwritten
    • Lech_Miszkiewicz_5-1633559117088.png

       

That's it.

Frankly there is not much you can break in there so despite the fact that this method is not officially supported you are not messing up too much or there is very slim chance you will break something.

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

Ruggero_Piccoli
Support
Support

Hi,

You can extend Qlik NPrinting by using its APIs explained here: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Extending/Intro-Extending.htm The On-Demand uses those APIs.

About the requirements of Qlik Sense extensions refer to https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/MultiDocument/Using-Sense-third-part...

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

View solution in original post

3 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes there is, but it is not officially supported.

  1. you go to QMC and export your qlik-on-demand-reporting extension
    • Lech_Miszkiewicz_0-1633557754304.png

       

  2. unzip the file
    • Lech_Miszkiewicz_1-1633557851726.png
  3. once unzipped - open and edit div.liu-dialog__footer file and comment out line which displays button
    • Lech_Miszkiewicz_2-1633558253449.png

       

  4. save file, and zip it all up again and import as your OnDemand extension. Important: You will need to remove the old extension though from QMC by deleting it (before you can import adjusted one). Make sure you have a backup of it!
    • Lech_Miszkiewicz_3-1633558419261.png

       

  5. Thats it:
    • Lech_Miszkiewicz_4-1633558603360.png
  6. Last thing to remember is extension bundles are automaticaly recreated (hence all above changes would be lost) every time you restart Qlik Sense services or Qlik Sense machine. To prevent it from happening you will have to naviagte to your Extension bundle folder (typically: C:\Program Files\Qlik\Sense\ExtensionBundles) and change file names to something like "xxxxxx.old". That will stop it from recreating itself with each Qlik Sense restart and changes you made in all above steps will not be overwritten
    • Lech_Miszkiewicz_5-1633559117088.png

       

That's it.

Frankly there is not much you can break in there so despite the fact that this method is not officially supported you are not messing up too much or there is very slim chance you will break something.

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
mstoler
Partner - Specialist
Partner - Specialist
Author

Hello,

As an alternative to this can I create a new extension based on the on-demand and then customize the extension?

I would also like to add some colors to the buttons, etc.

Thanks,

 

Michael

Ruggero_Piccoli
Support
Support

Hi,

You can extend Qlik NPrinting by using its APIs explained here: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Extending/Intro-Extending.htm The On-Demand uses those APIs.

About the requirements of Qlik Sense extensions refer to https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/MultiDocument/Using-Sense-third-part...

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.