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
Lakshya KanchanLakshya Kanchan 

Adding tab to a flexipage programmatically

Hi

My business requirement is to add a tab with a LWC component to a flexipage using SFDX CLI or, apex.

I want to understand whether it is feasible or, not.

Regards,
Lakshya
SubratSubrat (Salesforce Developers) 
Hello Lakshya ,

I have came across an article which is close to your requirement -> https://www.greytrix.com/blogs/salesforce/2021/01/20/how-to-add-lightning-web-components-as-custom-tabs-in-salesforce/

Requesting you to go through it.

Hope it helps !
Thank you.