Forum

This content is now out of date.

Visit Our Community

Add JavaScript file to Yellowfin

We are going to be using Yellowfin embedded within an iframe with our own software. Currently using the JavaScript API we have links in reports that navigate to areas in our software. If Yellowfin is within an iframe this obviously won't work. The easiest resolution is to have the ability to add our JavaScript file into Yellowfin so that it can then be called from the link in the report. Is there a way I can achieve this?

Regards,
Michael
Hi Michael,

I guess you can use a custom header/footer that can contain javascript . Otherwise you cannot include this on a dashboard/report or admin/config page.

We usually suggest staying away from iFrames, but if this is the lesser of two evils, then I guess you have not much choice.

Please let me know if there was anything else you were after.

Regards,
David
Great idea! Thanks heaps David.

Is there a way for me to override the standard header with a custom install similar to how you can specify a custom login page?
Hi Michael,

Yup should be possible to do this after the YF installation has completed.
Check out the properties under Post Installation Configuration.

Please let me know how you go.

Regards,
David
Hi David,

Thanks for that. I did review that and set all the properties I needed at the time, so I didn't think about reviewing it again even though my requirements have changed.

Regards,
Michael