[SalesForce] Can’t figure out how to add a Custom Component or VisualForce Page via Salesforce Lightning’s App Builder

I'm experimenting with the new Salesforce Lightning features and I came across a problem which I'm not entirely sure what the solution is or what I am perhaps doing wrong… I'm trying to add a custom component or a Visualforce Page to the app, but I'm not having any luck (see attached.)Custom Component and Visualforce Page unavailable

  • (my saved custom component has the following line: implements="force:appHostable" )
  • I created a custom tab for the component

I'm getting the following errors:
"No components available."
"No Visualforce pages available"

Best Answer

Alright this was actually a pretty simple fix.

Lightning Component fix: changed the aura:component tag to

<aura:component implements="flexipage:availableForAllPageTypes">

instead of:

<aura:component implements="force:appHostable"> 

VisualForce page fix: Checked Available for Salesforce mobile apps and Lightning Pages on the VF page.

Related Topic