Passing parameters to Reports in Lightning

posted Oct 24, 2016, 6:00 AM by Ezra Kenigsberg   [ updated Oct 24, 2016, 9:34 AM ]
Q: "How do I pass parameters to Reports in Lightning?"

A: You don't. Not yet. 

Salesforce says* as of Spring '17, it'll be:
/one/one.app?source=aloha#/sObject/yourreportid/view?reportFilters=[{"value":"your value goes here","operator":"equals","column":"your field name goes here"}]

I'm skeptical about that Spring '17 prediction. Parker Harris said true Inline Editing was coming with Winter '17, and it didn't (and it's not on the roadmap for Spring '17, either).

In Classic, this ancient feature is implemented using:
/yourreportid?pv0={value}
and
/yourreportid?pv0={value}&pv1={value}
etc

* Merci to Laurent Lemasurier!
Comments