I have added the interface "flexipage:availableForAllPageTypes" but it is showing an error like "Failed to save undefined: No INTERFACE named markup://flexipage:availableForAllPageTypes found : "
please provide me your valuable suggestion.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
If the requirement is to add this to the Salesforce1 Mobile Appliction, there is no requirement to use the
implements="flexipage:availableForAllPageTypes" interface. You can simply add the
force:appHostable interface and create a Lightning Components tab.
Actually each can get you to having your component surfaced in Salesforce1 mobile. The difference is that for
flexipage:availableForAllPageTypes, you are using a Lightning App Builder app that sits on a tab UI. This way a non-coder can use build with Lightning Components. But if you're comfortable living in the world of markup, direct-to-tab will do.
You can look at this SFSE question to see an example of this.