Setup Audit Trail Skuid Page

  • 3
  • Praise
  • Updated 2 years ago
Skuid Community,

Many of you use change sets and I am sure you find the experience slow and frustrating.  One of the things I like to do is to use Skuid to improve upon the experience for those of us building and deploying solutions.

To that 'end', I have attached a page xml that you can install in your org.  This page displays all changes made to your org. in descending order (i.e. most recent changes at the top) and allows you to filter/search through the changes.  This should make it a lot easier to find what has changed and make it easier to build your change set.

Thanks to Skuid for making a product that helps the admins and developers!

Bill

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="SetupAuditTrail">    <models>
        <model id="SetupAuditTrail" limit="500" query="true" createrowifnonefound="false" adapter="salesforce" service="salesforce" sobject="SetupAuditTrail" type="" orderby="CreatedDate DESC">
            <fields>
                <field id="CreatedDate"/>
                <field id="Action"/>
                <field id="Display"/>
                <field id="Section"/>
                <field id="DelegateUser"/>
                <field id="CreatedById"/>
                <field id="CreatedBy.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Action" state="filterableoff" inactive="true" name="ActionFilter"/>
                <condition type="fieldvalue" field="CreatedById" operator="=" inactive="true" enclosevalueinquotes="true" name="__autofilter__CreatedById" state="filterableoff" value=""/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Section" state="filterableoff" inactive="true" name="SectionFilter"/>
            </conditions>
            <actions/>
        </model>
    </models>
    <components>
        <pagetitle model="SetupAuditTrail" uniqueid="sk-27h5y2-85">
            <maintitle>
                <template>{{Model.labelPlural}}</template>
            </maintitle>
            <actions/>
        </pagetitle>
        <skootable showconditions="true" showsavecancel="false" searchmethod="server" searchbox="true" showexportbuttons="true" pagesize="25" createrecords="false" model="SetupAuditTrail" mode="readonly" uniqueid="sk-27h5y2-86" buttonposition="" emptysearchbehavior="query">
            <fields>
                <field id="Action" valuehalign="" type="" allowordering="true"/>
                <field id="Display" valuehalign="" type="" allowordering="true"/>
                <field id="Section" valuehalign="" type="" allowordering="true"/>
                <field id="CreatedDate" allowordering="true" valuehalign="" type=""/>
                <field id="CreatedBy.Name" valuehalign="" type="" allowordering="true">
                    <label>Created By Name</label>
                </field>
            </fields>
            <rowactions/>
            <massactions usefirstitemasdefault="true"/>
            <views>
                <view type="standard"/>
            </views>
            <searchfields usesosl="false" soslfields="Name Fields">
                <searchfield return="false" field="Action" operator="contains"/>
                <searchfield return="false" field="Section" operator="contains"/>
            </searchfields>
            <exportproperties usetablecolumns="true"/>
            <filters>
                <filter type="select" filteroffoptionlabel="Any Action" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="manual" labelmode="no" condition="ActionFilter">
                    <sources>
                        <source type="manual" effectsbehavior="justdefault">
                            <options>
                                <option label="changedApexClass" type="simple" value="changedApexClass"/>
                                <option label="changedApexTrigger" type="simple" value="changedApexTrigger"/>
<option label="changedStaticResource" type="simple" value="changedStaticResource"/>
                            <option label="createdStaticResource" type="simple" value="createdStaticResource"/>
<option label="createdCF" type="simple" value="createdCF"/>
<option label="createdCustEnt" type="simple" value="createdCustEnt"/>
<option label="createdCFCustom" type="simple" value="createdCFCustom"/>
<option label="createdPicklistWithColorCustom" type="simple" value="createdPicklistWithColorCustom"/>
<option label="changedCFFormula" type="simple" value="changedCFFormula"/>
<option label="createdworkflowrule" type="simple" value="createdworkflowrule"/>
<option label="createdflowtrigger" type="simple" value="createdflowtrigger"/>
<option label="createdCustLink" type="simple" value="createdCustLink"/>
</options>
                        </source>
                    </sources>
                </filter>
                <filter type="select" filteroffoptionlabel="Any Creator" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="auto" labelmode="auto" conditionfield="CreatedById"/>
            </filters>
        </skootable>
    </components>
    <resources>
        <labels/>
        <css/>
        <javascript/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb

Posted 2 years ago

  • 3
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Now if the same could be done with Skuid Page changes. ;)