• anmi ch 6
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
hi guys  ,
while i am saving the code i am getting this error"Failed to save campingList.cmp: Invalid definition for null:CampingListController: ApexService.getType() return null with currentNamespace: c, namespace: null, name: CampingListController: Source" I do not know where ii am doing the error and below is my code .


campinglist.cmp
    

<aura:component controller="CampingListController" >

    <aura:attribute name="items" type="Camping_Item__c[]" />
   
    <aura:handler name="init" action="{!c.doInit}" value="{!this}"/>
   
    <aura:attribute name="newItem" type="Camping_Item__c" default="{'sObjectType':'Camping_Item__c','Quantity__c':0,'Price__c':0}" />
      
    <br/><br/>
    <p>Name:
    <ui:inputText aura:id="name" value="{!v.newItem.Name}" Label="Name" />
    </p><br/>
    <p>Quantity:
    <ui:inputNumber aura:id="quantity" value="{!v.newItem.Quantity__c}" Label="Quantity" />
    </p><br/>
    <p>Price:
    <ui:inputCurrency aura:id="price" value="{!v.newItem.Price__c}" Label="Price" />
    </p><br/>
    <p>Packed?:
    <ui:inputCheckBox value="{!v.newItem.Packed__c}" Label="Packed" />
    </p><br />
   
    <ui:button label="Submit" press="{!c.PushItems}" />
   
    <aura:iteration items="{!v.items}" var="item">
   
    <p> <ui:outputText value="{!item.Name}" /> </p>
   
    <p> <ui:outputNumber value="{!item.Quantity__c}" /> </p>
   
    <p> <ui:outputCurrency value="{!item.Price__c}" />  </p>
   
    <p> <ui:outputCheckbox value="{!item.Packed__c}" /> </p>  
       
    </aura:iteration>
       

</aura:component>

can anyone help me .

 
hello guys i need help ,
 i am  stuck in the middle of the module (map your workflow)Map Your Workflow Criteria to Process Criteria in this (i am getting error) "The formula expression is invalid: Syntax error. Missing '='  " what should i do can some one help me .

BUILD FORMULA

Contains(LOWER([Case]. Subject ),"urgent") ||
Contains(LOWER([Case].  Subject ),"password") ||
Contains(LOWER([Case].  Subject ),"down") ||
Contains(LOWER( [Case]. Subject ),"emergency") ||
Contains(LOWER( [Case]. Subject ),"internal server error") ||
Contains(LOWER( [Case]. Description ),"urgent") ||
Contains(LOWER( [Case]. Description ),"password") ||
Contains(LOWER( [Case]. Description ),"down") ||
Contains(LOWER( [Case]. Description ),"emergency") ||
Contains(LOWER([Case].  Description ),"internal server error")

The above formula i have used
hi guys  ,
while i am saving the code i am getting this error"Failed to save campingList.cmp: Invalid definition for null:CampingListController: ApexService.getType() return null with currentNamespace: c, namespace: null, name: CampingListController: Source" I do not know where ii am doing the error and below is my code .


campinglist.cmp
    

<aura:component controller="CampingListController" >

    <aura:attribute name="items" type="Camping_Item__c[]" />
   
    <aura:handler name="init" action="{!c.doInit}" value="{!this}"/>
   
    <aura:attribute name="newItem" type="Camping_Item__c" default="{'sObjectType':'Camping_Item__c','Quantity__c':0,'Price__c':0}" />
      
    <br/><br/>
    <p>Name:
    <ui:inputText aura:id="name" value="{!v.newItem.Name}" Label="Name" />
    </p><br/>
    <p>Quantity:
    <ui:inputNumber aura:id="quantity" value="{!v.newItem.Quantity__c}" Label="Quantity" />
    </p><br/>
    <p>Price:
    <ui:inputCurrency aura:id="price" value="{!v.newItem.Price__c}" Label="Price" />
    </p><br/>
    <p>Packed?:
    <ui:inputCheckBox value="{!v.newItem.Packed__c}" Label="Packed" />
    </p><br />
   
    <ui:button label="Submit" press="{!c.PushItems}" />
   
    <aura:iteration items="{!v.items}" var="item">
   
    <p> <ui:outputText value="{!item.Name}" /> </p>
   
    <p> <ui:outputNumber value="{!item.Quantity__c}" /> </p>
   
    <p> <ui:outputCurrency value="{!item.Price__c}" />  </p>
   
    <p> <ui:outputCheckbox value="{!item.Packed__c}" /> </p>  
       
    </aura:iteration>
       

</aura:component>

can anyone help me .