Forum Discussion

rahuldhomane's avatar
01-10-2022
Solved

Embed ppt/ slideshow inside a widget

Is there a way to insert ppt/slideshow inside a widget? The basic purpose is to serve user a stepwise guide in the form of images. Please let us know if there is an alternate solution to this.

4 Replies

Replies have been turned off for this discussion
  • harikm007's avatar
    harikm007
    Data Warehouse

    rahuldhomane 

    If you are trying to add the stepwise guide as background image, refer: https://support.sisense.com/kb/en/article/add-background-image-to-charts

    Another solution is to add a button to widget and on clicking the button it will open a url in a new tab. Here is the widget script to add button :

     

    widget.on("ready", function(w, args){
    
    	w.chart[0][Object.keys(w.chart[0])[0]].hc.renderer.button('Guide', 10, 10)
    		.attr({
    		zIndex : 10,
    		height: 10,
    		width: 30,
    		'text-align': 'center'
    	})
    		.on('click', function() {
    		window.open('https://www.clickdimensions.com/links/TestPDFfile.pdf') //url of website or document
    	})
    		.add();
    	
    });

    Thanks,

    Hari 

  • Text widgets will take an image pasted from your clipboard, so a series of text widgets could provide context. 

    May not be supported anymore, but the iframe plug-in could embed a slideshow when the slides are configured with a public link:
    IFrame Widget - Sisense Support Knowledge Base