2

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"

1
  • 1/2 of this issue solved. I did not see the checkbox on VisualForce pages in SFDC UI "Available for Salesforce mobile apps and Lightning Pages". This solved the VisualForce problem. Now I just need to figure out how to add custom components...
    – rmarq423
    Commented Sep 8, 2015 at 22:06

2 Answers 2

2

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.

1
  • i did this, for my case not working.
    – unidha
    Commented Nov 25, 2015 at 7:07
0

I had same issue and had to take several steps to resolve. I found these links to be helpful:

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder.htm

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_record_home.htm

1
  • If the links helped you, could you maybe summarize some of the relevant content here? Links can go dead, so a good answer will hold up even without visiting any linked resources.
    – Adrian Larson
    Commented Aug 14, 2017 at 18:09

You must log in to answer this question.

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