Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is there a dummies guide to developing Document Extensions?

Or just some best practices to follow when creating your own ones?

Currently I'm doing the following:

  1. Create folder for Extension, containing
    • Definition.xml
    • Script.js
    • style.css
  2. Copy the folder to C:\Users\[USERNAME]\AppData\Local\QlikTech\QlikView\Extensions\Document
    • It now should appear as a document extension
  3. Open up my .qvw document in QlikView desktop
  4. Add my new extension to the document then save
  5. Deploy my Document onto QlikView Server
  6. Deploy my Extension to QlikView Server
  7. Browse to the Access Point in my browser (Chrome), then open the document
  8. On the server itself, explore to where I deployed the Extension and open up the Script.js and style.css files

...and now I'm ready to start working on my Document Extension, make changes to the files, refresh, debug and inspect in my browser.

Is there an easier way of doing this?

3 Replies
oscar_ortiz
Partner - Specialist
Partner - Specialist

I would check out Stephen Redmond's blog www.QlikTips.com or check out the direct link to his beginners guide: http://www.qliktips.com/2011/01/beginners-guide-to-qlikview-extension.html

Not applicable
Author

Thanks Oscar, but that blog only covers Extension Objects, not Document Extensions

patrik_seger
Partner - Creator
Partner - Creator

Hi

I guess that this is the way (neatly described).

If you just want to inspect what you are doing, you could add a

Qva.LoadScript('https://getfirebug.com/firebug-lite.js#startOpened', function() {

...

});

in your script and then look at HTML/CSS/Script directly in QlikView Desktop (skipping the Server steps). No support for breakpoints though...

But due to lack of breakpoints and stepping, I also run all my development from a server.

Br Patrik

PS!

To automate the process, I use grunt.js (http://gruntjs.com/) to simplify development of extensions. Change the code, run grunt and then test. Some work to set up the environment though but if you are into heavy extension development then its well invested time.

DS!