Run Cron Jobs expression and Query Lightning Flexipage

String cronExp = '0 20 11 * * ?'; // Runs every day at 11:20 AM

System.schedule('LeadOneToolJob1', cronExp, new LeadOneToolScheduler());


Retrive : Lighting Record Pages

SELECT Id, DeveloperName, MasterLabel, LastModifiedDate, Type, EntityDefinitionId FROM FlexiPage WHERE Type= 'RecordPage' AND EntityDefinitionId= 'Case' Order By LastModifiedDate DESC

Note : Enable   Tooling API?

Retrive : Lighting Page layouts

SELECT Id, Name, EntityDefinitionId, EntityDefinition.QualifiedApiName FROM Layout Where EntityDefinition.QualifiedApiName = 'Case'

Note : Enable   Tooling API?

Comments

Popular posts from this blog

My Trigger Scenario's

Configure types Of Products in CPQ and Revenue Cloud ?

Steps for Calculate Derived Pricing in RCA ?