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
Ashwin KcAshwin Kc 

Is anyway to activate lightning experience theme through the metadata

Howdy Devs 

Is any way to activate the lightning experience theme through metadata. There is metadata - LightningExperienceTheme to deploy the theme but I couldn't find any metadata to activate it. Currently, it requires a manual step to activate the theme. It would be great if there is an option to automate this process. User-added image

VinayVinay (Salesforce Developers) 
Hi Ashwin,

I dont think this feature is currently available at moment,  Kindly review below Idea link for same.

https://ideas.salesforce.com/s/idea/a0B8W00000GdpYKUAZ/lightning-record-page-activation-should-be-available-via-metadata-api

Please mark as Best Answer if above information was helpful.

Thanks,