Can we call project library script behind any components in perspective?
I tried in button it is not working.
Can we call project library script behind any components in perspective?
I tried in button it is not working.
Yes, you can. Please elaborate on “not working”.
A few things:
logbook_excel.xslQltyData()
Actually the problem is i am using “system.file.saveFile” in my script.
it is not working on perspective. when testing on script console it was working.
Yeah, that would cause an issue. system.file.saveFile()
is not available in perspective.
Use system.perspective.download()
instead. (You will need to adjust your expectations to match browser limitations.)
When using system functions, always check the documentation to verify available scopes. If you look at the documentation for the system.file.saveFile()
function, you can see that the only declared scopes are for the Vision client.