0

we have a custom lightning component overwritting our new Event standard button.

When trying on org it's working fine but if we try to call it from our custom lightning community it's not working and proceeding with its standard behaviour (displays new Event record creation popup)

cmp:

<aura:component implements="forceCommunity:availableForAllPageTypes,lightning:actionOverride" access="global">
    <h1>test text</h1>
</aura:component>

Is there something we're missing? Do we need to add another interface for it to work?

0

From the documentation itself- https://developer.salesforce.com/docs/component-library/bundle/lightning:actionOverride/documentation, it states that

this interface has no effect except when used within Lightning Experience and Salesforce1.

Which is why it isn't working in communities.

enter image description here

| improve this answer | |

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.