Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

Difference

What is the difference between the Document Extension and Object Extension in Qlikview 11.

Gone through the forums and got the understanding as

1. The way of creating the extension is same .Both has teh QAR files.

2. Object extensions are accessed through right click on the sheet in the web view and the document extension are accessed through the document properties.

But would like to know what is the actual usage and where it is used in realtime.

6 Replies
Alexander_Thor
Employee
Employee

Object Extensions:

These are custom built objects inside QlikView. Like the pre-shipped charts you have the possibility to create an object that can access the underlying data in your qlikview document.

Typically an object extension are used when you need to accomplish something that QlikView does not handle out of the box. For example Stephen Fews bullet charts, Organizational Charts, Mapping Charts. There are several examples included with the QV11 installation.

Either visualize data that is already in QV or act as a window to fetch information from other systems/sources based on QV context.

You do customer segmentation in QV, click on a object extension in the shape of a button with code that integrates your customer ids back into your CRM-system and launches a new campaign for example.

Document Extensions:

These were made available in QlikView 11. Sometimes it made sense to embed custom code into your qlikview document but NOT have a gui for it. So we shipped that in QV11.

It operates on the document level and are not tied to a specific object in your qlikview application.

Typically this could be used to manipulate the toolbar - Want to disable certain buttons? Create a multi-tiered bookmark drop down?

Rebuild the tabrow system, do you want to have floating navigation on the side of your app instead? Then document extensions are for you

Apply your own css, make use of web fonts, track usage through google analytics, attach custom events and pipe information out of qlikview.

Tired of searching? Integrate the voice-to-text feature to speak directly into a qlikview search box etc etc.

General:

We do use jquery in QlikView as standard so you have a very robust plugin framework to leverage in both object and document extensions. Pretty much only your imagination that will stop you And the lack of documenation...

Both Document and Object extensions are client side operations so please take that into consideration when developing.

brindlogcool
Creator III
Creator III
Author

Thanks for your response it was really helpful. And is it possible to control the properties of the Document and individul objects through document extension .Since you have mentioned voice control of text search of Qlikview.

Is there any documentation available on this.It would be great if you could share

Alexander_Thor
Employee
Employee

Depends a bit on what you mean when you say properties.

In theory I guess you should be able to target our qlikview specific properties through the js api, I have not tried that.

What you can do very easily is to target the html properties of objects in QlikView.

This is a sample document extension I used to add speech support to input boxes, just tried it in qv11 sr1 and it seems it broke but I think you get the idea behind it.

Qva.AddDocumentExtension('Speech', function(){

          this.Document.SetOnUpdateComplete(function() {

                    $(":input").attr('x-webkit-speech','x-webkit-speech');

          });

});

Not applicable

This is a very good explanation. But I have another question regarding when an extension is run.

Does the extension only work when the user uses the AJAX function or also when using the IE plugin?

Thanks in advance.

Regards

Alexander_Thor
Employee
Employee

Extensions, both object and document, is AJAX-client only.

Extensions are built using mainly JavaScript and since the IE plugin is an activex component we can't execute javascript code.

Kind Regards

Alexander Karlsson

25 apr 2012 kl. 08:18 skrev "AndreBer" <qliktech@sgaur.hosted.jivesoftware.com<mailto:qliktech@sgaur.hosted.jivesoftware.com>>:

QlikCommunity<http://community.qlik.com/index.jspa>

Re: Difference

created by AndreBer<http://community.qlik.com/people/andreber> in Integration and Extensions - View the full discussion<http://community.qlik.com/message/213354#213354

Not applicable

Hello Alexander,

I was trying to embedd speech recognition and based on the speech application should refresh, can you please help me.

Thanks and Regards,

Preethi