0

I created a lightning component and included in a managed package. I installed that managed package in some org and there I want to use that component in lightning application, the managed lightning component is available but I am not able to use that component in any new Lightning application. I tried the following trick to include managed component in lightning application, suppose package namespace is "xyz" then I tried to include like

xyx:myComponent and c:xyz__myComponent
Here is the component structure:-

aura:component controller="KendoController" implements="forceCommunity:availableForAllPageTypes,force:appHostable,flexipage:availableForAllPageTypes,force:hasRecordId"

Can someone tell what I am missing to include managed component?

2
  • A question out of context: Were you able to setup kendo fw in lightning?
    – Ashwani
    Commented Dec 17, 2015 at 13:03
  • Yes Ashwini and I also found the solution, used access attribute of component that resolved my issue Commented Dec 17, 2015 at 13:20

1 Answer 1

4

You can use managed lightning component in other lightning app.

There is an attribute named access which needs to be set. For ex:

<aura:component access="global" controller="KendoController" implements="forceCommunity:availableForAllPageTypes,force:appHostable,flexipage:availableForAllPageTypes,force:hasRecordId">
2
  • Is the opposite one available, too? I want to use organization lightning component inside of managed package.
    – efirat
    Commented Dec 21, 2017 at 7:06
  • 1
    Yes! no special keyword is needed for this @efirat
    – Ashwani
    Commented Feb 3, 2018 at 14:43

You must log in to answer this question.

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