AnsweredAssumed Answered

Call BaseFilterLayout.applyFilter() method out of context

Question asked by lima lima on Apr 29, 2015
Latest reply on May 4, 2015 by Matt Marum
I'm working on a customization for Sugar Professional 7.2.x that pushes a filter from an auxiliary script into the filter function for the list view page. By setting a breakpoint inside the applyFilter function and exporting the function itself as a member of the global object, I can then call the function from my script and execute a temporary filter accordingly. So I know I have the correct syntax for execution, e.g:
window.exportedApplyFilter(null, {name:"Mr. Rogers"});  
The hangup is that I can't get that applyFilter function in any other way, e.g.
Is there a way to access that function from another script?