Can Dashboards and Presentations be exported to PDF in v9?

Yellowfin FAQ shared this idea 4 months ago
Idea Logged

I've created some Dashboards and Presentations in Yellowfin 9. Is it possible to export them to PDF? What about other formats like .docx and .xlsx?

Comments (9)

photo
1

Exporting Dashboards and Presentations to PDF is not possible at the moment, however, will be included in the upcoming 9.3 release of Yellowfin. Exporting to other file formats is planned for future releases, please find a separate Idea post for updates.


Subscribe to this post for more updates.


Kind regards,

Yellowfin Support Team

photo
1

I have also ran into this issue and I am currently enlisting help from other IT staff to add a print button via html, js, and css... (which thanks to code mode, will be a lot easier). However, I am not sure how to grab just the canvas area. I would love a standard export/print option for the complete dashboard!! Along with this, it would be nice to designate printable vs. non-printable (for the export). Just a thought...

photo
1

Hi Zack,


Thank you for your questions.


To clarify what you mean by printable vs. non-printable, do you mean having the options to export to PDF and the option to Print via the web browser? If so, I think this is an excellent candidate for an idea and will create a separate Idea post. This is a feature that already exists in Yellowfin 9 Reports.


Regarding a 'Print' Code Mode Widget, the Development Team might be able to help with that one! Again I assume you mean printing/ saving through the web browser, selecting only the canvas. If this is the case I will create a second, separate Idea post!


Kind regards,

Simon

photo
1

Simon,

Yes. Both of those ideas are exactly what I am referring to! Another "nice to have..." would be the ability to designate certain objects/charts/images/etc. as printable vs. non-printable. There have been times where I want it to show something on screen, but not print. Right now, I am attempting to use CSS (which I am glad I can do) to accomplish this.


Thanks,

Zack

photo
1

Hi Zack,


Thanks for clarifying!


I've gone ahead and made a few Idea posts on your behalf for the things you've brought up earlier. I'll keep you updated on each of the posts, on their progress.



If there is anything that I've missed, or any adjustments that you would like me to make, please respond on the respective tickets and I will get back to you shortly!


Kind regards,

Simon

photo
1

Awesome! Thank you!


-Zack

photo
photo
1

Hi all,

that's great news : I was looking for that export feature.

however I have an important question : will javascript be exported on those pdf ?


It's an absolute necessity for us : as Yellowfin unfortunately does not offer any way to present text data from a database, I had to use a javascript chart to do that.

It's not actually a chart, rather a custom function printing really really basic HTML / CSS stuff. Nothing fancy, but I remember being unable to export js to pdf in v8.

photo
1

Hi Josselin,


Thank you for the interesting question. I have reached out to Developers to get some clarification on this, however, they've let me know that is an unknown at this stage. One of the main reasons, is that it is not certain how people will implement certain Javascript elements within Dashboards, so it's not guaranteed that it will work out of the box. There should be documentation that will address this around the same time as the next release of version 9.


What I've done is added to the existing Enhancement Request with Javascript elements (and specifically your example) to be included in the testing for this feature. I'll be sure to keep you updated with any changes on this task.


Kind regards,

Simon

photo
1

Hi Simon,

thanks for that.

FYI here's the javascript function I wrote to address my needs (which is an excellent workaround for displaying text data in Yellowfin).

As you can see, it's dead simple. I guess it might be possible to forbid JS Export depending on the content of the JS Code ...


generateChart = function(options)
{    
    var idChart = options.divSelector.substring(1);
        
    document.getElementById(idChart).innerHTML += '<h1>' + options.dataset.data['site.libelle'][0].raw_data + '</h1>' 
                                                + '<p>' + options.dataset.data['site.nbadherents'][0].raw_data + ' adhérents<br/>' 
                                                + options.dataset.data['enquete.nbrepondants'][0].raw_data + ' répondants<br/>' 
                                                + 'Ouvert depuis le ' + options.dataset.data['site.dateouverture'][0].raw_data + '</p>';
}

Regards

Josselin

photo
1

Hi Josselin,


Thanks for passing that through. I'll add that the the task description as an example of an implementation. Much appreciated!


Kind regards,

Simon