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.

  • 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 '15 at 10:15
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.

  • @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 '15 at 18:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.