Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to load sheet name into the script.js?

Hello everybody,

I'm want to use the name of the sheet into a javascript function.

Could you please tell me how to load into the script.js le name of the sheet?

If it is not possible, I have an other solution is to use the value of a variable. Is it possible?

Thanks for your help

Alex

2 Replies
adamdavi3s
Master
Master

This thread might help:

Getting sheet name in Javascript

Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.

This will help users identify the answers should they come across this thread in the future.

Anonymous
Not applicable
Author

Hi Adam,

I had found this solution, but it did not work on my script.

I have used another solution:

I read objects of the sheet, an into each sheet, I have the name of the sheet.

$('.QvFrame').each(function(){
var lesClasses=$(this).attr('class');
var SheetName = "QvFrame Document_" + sheetTitle;