Web boxes, overview

TARGIT 2021 Summer - TARGIT 2022

You can now add iFrame objects (web boxes) to your TARGIT Dashboards (TARGIT 2021 Summer Release).

The iFrame object can display any kind of web based content - e.g. Instruction videos and Help pages  that are administrated outside the TARGIT environment. 

Basically you can integrate anything that can be reached with a URL.

Note: Some webpages are protected from being used in an iFrame - these will just turn up blank if you try to integrate tem.

 

How to?

In the TARGIT client you now have a new object that you can add to the canvas - the web box which is placed in the design ribbon.

mceclip0.png

 

The Web box offers a very simple properties dialogue where you can put in your URL as shown below.

Note the option to add dynamic content shown with a red square (not used in the example below).

mceclip1.png

When you click Apply, it's the moment of truth where you find out if the URL is correct (and not prohibiting being used in an iFrame). 

Below you see the properties dialogue on the right hand side and the resulting web box on the left hand side.

mceclip2.png

 

 

Errors

Here's another example of trying to put google into a web box. 

When you click apply the web box remains empty and you get an error message in TARGIT explaining the either you URL is incorrect, or you are trying to put something in an iFrame that doesn't allow be "iFramed"

mceclip3.png

 

 

Dynamic Content use

The 2 brackets on the right hand side of the properties dialogue represents dynamic content.

Here's a couple of ways you could utilize this:

 

Full URL as dynamic content

This data source has 2 columns - Video name and URL:

 

Here we've added a slicer based on the Video column... 

mceclip4.png

 

and then a web box where we click the double brackets symbol:

mceclip5.png

 

 

Not we use the Members tab - click the URL column and set the range to single:

mceclip6.png

Single means that the URL will only be shown when you have selected a particular video. It will work like required criteria to the end user.

By clicking ok - you now have a nice web box showing the video that you choose in your slicer:

mceclip7.png

 

 

Dynamic Content as part of URL

Some webpages support receiving parameters as a part of the URL.
An example of this is google maps. 

In these data we happen to have the longitude and latitude that can place all our customers on a map:

mceclip8.png

By doing some googling you can find out how to add a google maps URL that includes longitude and latitude.

https://maps.google.com/maps?&q={LatitudeMembers},{LongitudeMembers}&iwloc=&output=embed

In this example we have put google maps into an iframe and added Latitude and Longitude as dynamic content as a part of the URL where google maps requires these to be passed as parameters:

Similar to the previous example - we can now drill down to a particular customer and through dynamic content pass the longitude and latitude to google maps.

mceclip9.png

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

4 comments

Please sign in to leave a comment.