Activity Forums Salesforce® Discussions Listview metadata

  • Listview metadata

    Posted by Prachi on November 14, 2019 at 8:12 am

    What is the best way to display Listview metadata? I want to monitor who is Creating or Modifying Listviews.
    I have been tasked with creating a way to monitor who is Creating or Modifing Listviews. I know I can view Listviews with SOQL however I would like to use VF.

    Is it even possible to be notified when a Listview is Created or Modified? How?

    Thanks.

    Yogesh replied 5 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Yogesh

    Member
    November 14, 2019 at 8:35 am

    Hello,

    One way would be to use Scheduled Apex that runs every so often, queries for ListViews and emails you whenever a new one is created. You'd need to track when the last time the job was run, perhaps using a custom setting, then see if any new list views have been created since the last run.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos