qvsource brain dump

60
BRAIN DUMP A PRODUCT FROM INDUSTRIAL CODEBOX QLIK TECHNOLOGY PARTNER OF THE YEAR 2014 The QVSource

Upload: chris-brain

Post on 28-Jan-2015

113 views

Category:

Software


0 download

DESCRIPTION

A quick crash course introduction to QVSource - The QlikView API Connector - which should tell you 80% of what you need to know in order to start using the product.

TRANSCRIPT

Page 1: QVSource Brain Dump

BRAIN DUMP

A PRODUCT FROM

INDUSTRIAL CODEBOX

Q L I K T E C H N O LO GY PA R T N E R O F T H E Y E A R 2 0 1 4

The QVSource

Page 2: QVSource Brain Dump

Before We Start: You can get a free trial of QVSource at www.qvsource.com and try out everything which follows.

Page 3: QVSource Brain Dump

QVSOURCE - THE QLIKVIEW API CONNECTOR

Page 4: QVSource Brain Dump

Over 50 Five Star reviews on QlikMarketBy far the highest rated product (at

time of writing)

Page 5: QVSource Brain Dump

QVSource is delivered as a simple zipped folder.

There’s nothing to install or register so it’s easy to get on (and off) your system.

All you need is a Windows OS with .NET 4.0 (full edition) installed.

Page 6: QVSource Brain Dump

We recommend extracting to c:\QVSource.

Then you just need to run QVSource.exe.

Page 7: QVSource Brain Dump

There is also a Windows Service version.

For running QVSource alongside QlikView Server/Publisher.

(See the BatchFiles directory for a script to install and uninstall the service).

Page 8: QVSource Brain Dump

Full setup instructions can be found on our extensive documentation wiki.

wiki.qvsource.com

Page 9: QVSource Brain Dump

The main QVSource window shows a list of available connectors.

Page 10: QVSource Brain Dump

QVSource needs to be running wherever the QlikView reload is taking place.

When minimised you can see that it is still running and available, usually from http://localhost:5555/QVSource

(You can change the port number if necessary).

Page 11: QVSource Brain Dump

You can also check QVSource is running using your browser.

Page 12: QVSource Brain Dump

Here we can see there is no licence installed.

Page 13: QVSource Brain Dump

You will receive a licence file from us and a name to enter when installing it.

Page 14: QVSource Brain Dump

Once installed you can confirm the details and licensed connectors.

(Note that all beta connectors are free to use if you have a valid QVSource licence.)

Page 15: QVSource Brain Dump

We can now also see that QVSource is licensed via the browser.

Note that:

“Is Licensed As Server” = true

This means that we can also set this up as a Windows Service.

Page 16: QVSource Brain Dump

o Facebooko Fan Pages & Groups

o Facebook Insights

o Twitter

o YouTubeo Insights

o Data

o Mailbox (POP3/IMAP)

o Sentiment Analysis & Text Analytics (multiple APIs Supported)

o OData

o File Transfer (FTP & SFTP)

+ More!See www.qvsource.com/Connectors-For-QlikView/All for Full List

o Googleo AdSense/AdWords

o Analytics

o Double Click For Publishers (DFP)

o Drive & Spreadsheets

o Prediction

o SugarCRM

o MailChimp

o MongoDB

o Blue Yonder

o Klout

o + General XML/JSON/SOAP API Connector

QVSource has 30+ Connectors, including:

Page 17: QVSource Brain Dump

Let’s pick the Twitter Connector as an example.

To open it, you can double click it or press the ‘Configure’ button.

Page 18: QVSource Brain Dump

The Connector Configuration screen has a number of key elements.

Page 19: QVSource Brain Dump

A list of available tables.

Page 20: QVSource Brain Dump

A description of the currently selected table.

Page 21: QVSource Brain Dump

A set of input controls / parameters for the current table.

Page 22: QVSource Brain Dump

A help page link for the connector.

Page 23: QVSource Brain Dump

(Which takes you to the relevant page on our wiki.)

Page 24: QVSource Brain Dump

An area to preview the table’s data.

Page 25: QVSource Brain Dump

…and grab the QlikView load script to paste into your application.

An area to preview the table’s data.

Page 26: QVSource Brain Dump

Many Connectors will require authentication.

For the Twitter Connector, we will be redirected to Twitter’s website…

Page 27: QVSource Brain Dump

Where you will authorise the Connector.

Page 28: QVSource Brain Dump

And receive an access token in return.

Page 29: QVSource Brain Dump

And receive an access token in return.

We can now start getting some data!

Page 30: QVSource Brain Dump

Let’s search for Tweets containing the word ‘qvsource’.

Page 31: QVSource Brain Dump

And specify that we are only interested in Tweets in English.

Page 32: QVSource Brain Dump

Once we have configured our inputs we can run the table.

Page 33: QVSource Brain Dump

And then check the data returned.

Before moving to the “QlikView Load Script” tab...

Page 34: QVSource Brain Dump

To preview the auto generated QlikView load script.

Page 35: QVSource Brain Dump

Let’s copy the generated QlikView load script.

Page 36: QVSource Brain Dump

And paste it into a new QlikView application.

Page 37: QVSource Brain Dump

We can now simply reload our QlikView application.

Page 38: QVSource Brain Dump

And we will have our first QVSource enabled data model!

Page 39: QVSource Brain Dump

Note: If you ever receive a “Script Error” during a QVSource related reload.

Page 40: QVSource Brain Dump

The first step is always to copy the request URL (between the [ ] after the FROM statement).

Page 41: QVSource Brain Dump

And paste it into a browser’s address bar where you should receive more detailed information.

Often the reason is simply that there is no valid QVSource licence installed or the connector has not been authenticated with.

Page 42: QVSource Brain Dump

Back to our auto generated load script…

Page 43: QVSource Brain Dump

Notice that the connector automatically includes script to convert some fields to native QlikView date and times.

Page 44: QVSource Brain Dump

Notice also that the QlikView load statement is requesting the data from QVSource’s mini web server running on the local machine.

Page 45: QVSource Brain Dump

Here we can also see: The name of the Connector.

Page 46: QVSource Brain Dump

The name of the table we selected.

Page 47: QVSource Brain Dump

But most importantly, the input parameters for the table.

Page 48: QVSource Brain Dump

This means that we can split these out into variables, and no longer need to use the QVSource UI to configure new searches.

Page 49: QVSource Brain Dump

This means that we can split these out into variables, and no longer need to use the QVSource UI to configure new searches.

(We just need to ensure that QVSource is running when the reload takes place.)

Page 50: QVSource Brain Dump

Let’s make this a little more sophisticated…

Page 51: QVSource Brain Dump

First we define a table containing a list of search terms we would like results for.

Page 52: QVSource Brain Dump

Then we loop through each row in the TwitterSearchTerms table, running the search for each…

Page 53: QVSource Brain Dump

Then we loop through each row in the TwitterSearchTerms table, running the search for each…

Note: There is an even more concise way of writing this script using QVSource’s Sync/Async/Batch feature but this is a slightly more advanced topic.

Page 54: QVSource Brain Dump

After reloading this, we now have more enhanced QVSource enabled QlikView application.

Page 55: QVSource Brain Dump

We have a number of free QlikView “Starter Apps” available over on our GitHub page:

github.com/qvsource

(BTW - You don’t need a GitHub account – just look for the “Download ZIP” button:

)

Page 56: QVSource Brain Dump

With more advanced load scripts and UIs.

Page 57: QVSource Brain Dump

You should now know 80% of what you will need to start using QVSource effectively with QlikView.

Page 58: QVSource Brain Dump

QVSource pricing depends on a number of factors - you may either request a quote directly via our website.

Page 59: QVSource Brain Dump

Or contact one of our many partners in over 30 countries.

Page 60: QVSource Brain Dump

Don’t Forget that you can download a fully functional trial version from www.qvsource.com

You can also find further documentation on installing/upgrading QVSource, working with connectors, server configuration etc. at:

wiki.qvsource.com

You can also follow us on:

Our Blog: blog.qvsource.com

Twitter: @qvsource

Facebook: www.facebook.com/qvsource

Any questions –> [email protected].

Thanks for checking out QVSource.