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?

  • A question out of context: Were you able to setup kendo fw in lightning? – Ashwani Dec 17 '15 at 13:03
  • Yes Ashwini and I also found the solution, used access attribute of component that resolved my issue – Imran Qureshi Dec 17 '15 at 13:20
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">
  • Is the opposite one available, too? I want to use organization lightning component inside of managed package. – efirat Dec 21 '17 at 7:06
  • 1
    Yes! no special keyword is needed for this @efirat – Ashwani Feb 3 '18 at 14:43

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.