3

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.

thanks.

1
  • That interface is for the Lightning Application Builder, which isn't required to add to S1 Mobile, which is currently a pilot feature and has to be enable by requesting access through your Salesforce rep. And what does this have to do with CSS?
    – pchittum
    Jan 22, 2015 at 10:15

1 Answer 1

2

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.

1
  • @user3583904 - if that answers your question, please flag it as correct (the green check mark), so it shows up as answered. Thanks!
    – metadaddy
    Jan 22, 2015 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .