function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Cloud EliteCloud Elite 

how to create a lightening page to filter lead data and add to campaign ?

I have this requirement, i want to add a tab that when i click on it, it will open a page that will allow me to report on the lead object data. the lead has two lookup to the account object. one for the parent account and the other for childs. i want to be able to filter the records on the page based on those fields. so for example, in the first field, i will filter by the parent account field where i can search for "SFDC" and then in the child account field, i should be able to choose one of the child of the parent account. prefereably as picklist (in case i don't know the name of the account) 

when i choose the filter, i want to be able to apply list views filters as well or some other field filter such as status. then i want to see all lead records related to that and should be able to select all and click add to campaign button.   can you please guide me with that ?