In latest development Salesforce Security Review team identified an issue with Javascript code in WebLinks.
The exact statement that was provided in Security Report was:
JavaScript of any type is not allowed to run within the Salesforce.com application context. This includes JavaScript blocks within HomePageComponents, WebLinks, and all other components that are run under the Salesforce.com DOM.
Now, a very Standard custom WebLink we have is on a List view, where we use GETRECORDIDS() of selected records and prepare a redirect URL and open a VF page.
So does that mean, Salesforce is completely closing the platform for JS based Buttons? I thought this was always an optional thing, I know JS based WebLinks/Buttons are not supported for Lightning, but what if an App is not built for Lightning, but is for Classic Aloha interface?
Does anyone know of any workarounds to counter the JavaScript Buttons/WebLinks failing an App's security review? Do I need to get rid of these buttons from the application for good if I need to have the app certified for Security Review?
I'm all puzzled, because this piece of information that Buttons with JS will be causing Security Review problems in any documentation ...