• PACO_D
  • NEWBIE
  • 15 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
I am trying to save this component
<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 ?
 
  • March 13, 2018
  • Like
  • 2
Hello  I am trying using lightning:treeGrid  and i am facing this issue render threw an error in 'lightning:treeGrid' [can't convert undefined to object]

my component
<aura:component controller="Milestone" implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" 
                access="global" >

    <aura:attribute name="gridCol" type="List" />
    <aura:attribute name="gridData" type="Object" />
    
    <aura:handler name="init" value="{!this}" action="{!c.doInitTree}"/>

    <lightning:treeGrid columns="{!v.gridCol}"
        data="{!v.gridData}"
        keyField="id"
        aura:id="mytree"
    />
</aura:component>
my Js Controller
 
public class Milestone {

    @AuraEnabled
    public static list<Stage__mdt> getlistTreeGrid(){
       list<Stage__mdt> listvaleur=new list<Stage__mdt>([SELECT  Label,IsSelect__c,(SELECT Label, IsSelect__c  FROM Jalons__r) FROM Stage__mdt]);
        return listvaleur;
    }

}
my apex controller
 
public class Milestone {

    @AuraEnabled
    public static list<Stage__mdt> getlistTreeGrid(){
       list<Stage__mdt> listvaleur=new list<Stage__mdt>([SELECT  Label,IsSelect__c,(SELECT Label, IsSelect__c  FROM Jalons__r) FROM Stage__mdt]);
        return listvaleur;
    }

}

the error screenshot

User-added image

what is the mistake ?


 
  • February 12, 2018
  • Like
  • 0
I am trying to save this component
<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 ?
 
  • March 13, 2018
  • Like
  • 2
I am trying to save this component
<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 ?
 
  • March 13, 2018
  • Like
  • 2
Hello  I am trying using lightning:treeGrid  and i am facing this issue render threw an error in 'lightning:treeGrid' [can't convert undefined to object]

my component
<aura:component controller="Milestone" implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" 
                access="global" >

    <aura:attribute name="gridCol" type="List" />
    <aura:attribute name="gridData" type="Object" />
    
    <aura:handler name="init" value="{!this}" action="{!c.doInitTree}"/>

    <lightning:treeGrid columns="{!v.gridCol}"
        data="{!v.gridData}"
        keyField="id"
        aura:id="mytree"
    />
</aura:component>
my Js Controller
 
public class Milestone {

    @AuraEnabled
    public static list<Stage__mdt> getlistTreeGrid(){
       list<Stage__mdt> listvaleur=new list<Stage__mdt>([SELECT  Label,IsSelect__c,(SELECT Label, IsSelect__c  FROM Jalons__r) FROM Stage__mdt]);
        return listvaleur;
    }

}
my apex controller
 
public class Milestone {

    @AuraEnabled
    public static list<Stage__mdt> getlistTreeGrid(){
       list<Stage__mdt> listvaleur=new list<Stage__mdt>([SELECT  Label,IsSelect__c,(SELECT Label, IsSelect__c  FROM Jalons__r) FROM Stage__mdt]);
        return listvaleur;
    }

}

the error screenshot

User-added image

what is the mistake ?


 
  • February 12, 2018
  • Like
  • 0