You need to sign in to do that
Don't have an account?

No COMPONENT named markup://c:auraMethod found
I am trying to save this component
i have the error "No COMPONENT named markup://c:auraMethod found"
have you face this issue ?
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable" access="global" > <c:auraMethod aura:id="child" /> <aura:handler event="c:formsubmit" action="{!c.onFormSubmit}"/> <lightning:layout VerticalAlign="center"> <lightning:layoutItem padding="around-small"> <c:BoatSearchForm /> </lightning:layoutItem> </lightning:layout> <lightning:layout VerticalAlign="center"> <lightning:layoutItem padding="around-small"> <c:BoatSearchResults /> </lightning:layoutItem> </lightning:layout> </aura:component>
i have the error "No COMPONENT named markup://c:auraMethod found"
have you face this issue ?
You are getting this error as there is no custom component named "auraMethod" in your org. If you do have this custom component, can you please paste the code here or may be give me more details about the scenario.
What I believe is you are trying to access standard aura method syntax, in that case please remove <c:auraMethod aura:id="child" /> line and use <aura:method , example code below:
More on <aura:method /> tag: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_tag_method.htm
Please let me know if this answers your question and if you need further help on this.
Thanks,
Manish
All Answers
<c:auraMethod aura:id="child" /> is raising the error because its looking for a component called auraMethod.
Can you please give me more details about what are you trying to do?
Kind regards,
You are getting this error as there is no custom component named "auraMethod" in your org. If you do have this custom component, can you please paste the code here or may be give me more details about the scenario.
What I believe is you are trying to access standard aura method syntax, in that case please remove <c:auraMethod aura:id="child" /> line and use <aura:method , example code below:
More on <aura:method /> tag: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_tag_method.htm
Please let me know if this answers your question and if you need further help on this.
Thanks,
Manish