我尝试使用JavaScript在报告中为操作按钮创建表达式,如下所示:
="javascript:void(window.open(‘http://dwh/Reports/Pages/Folder.aspx?ItemPath=%2fReports%2fANEXIA%2fANEXIA+-+new’, ‘Odvod tržeb řidiči‘))"
...不幸的是,它在运行时返回错误:
The URL javascript:void(window.open(‘http://dwh/Reports/Pages/Folder.aspx?ItemPath=%2fReports%2fANEXIA%2fANEXIA+-+new’, ‘Odvod tržeb řidiči‘)) has an invalid schema. URLs in reports may only use http://, https://, ftp://, file:, mailto: or news: (rsUnsupportedURLProtocol)
如何在报告中运行JavaScript?