• Syed Aswan 5
  • NEWBIE
  • 40 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 6
    Replies
Can we call a external web service from lightning app? If yes, few resource/materials would be appreciated.
Thanks. 

Is there any way to filter (accounts are to be excluded from appearing in Search results based on a field value) Search result.

Any help would be appreciated.
Thanks in advance.

I'm using the following statement in custom email template:
{!IF({!Battle_Station__c.Project_Status__c}="Green","Green","Not Green")}

It giving me an output like this:
="Green","Green","Not Green")}

Can somebody pointout what might be the reason?
Thanks in advance.
Can anyone tell me what is the error in the following code, I'm getting the above error:
Public class AccountUtils
{
    List<Account> accountsByState (String Str)
    {
        List<Account> accList = new List<Account>();
        accList=[SELECT ID,name from Account where BillingState=:Str];
        return accList;
    }
}
<apex:outputPanel layout="block" styleClass="requiredBlock"/>
    <apex:selectList value="{!VMW_Product}" size="1" required="true" tabindex="70">
    <apex:actionSupport event="onchange" reRender="SubStatusRerender"/>
        <apex:selectOptions value="{!VMW_Product_values}" >
        </apex:selectOptions>
    </apex:selectList>
</apex:outputPanel>

---Apex class----
Public String VMW_Product{get;set;}
system.debug('VMW_Product: '+VMW_Product);// Here it has the value 'null'
I'm using the following statement in custom email template:
{!IF({!Battle_Station__c.Project_Status__c}="Green","Green","Not Green")}

It giving me an output like this:
="Green","Green","Not Green")}

Can somebody pointout what might be the reason?
Thanks in advance.
Can anyone tell me what is the error in the following code, I'm getting the above error:
Public class AccountUtils
{
    List<Account> accountsByState (String Str)
    {
        List<Account> accList = new List<Account>();
        accList=[SELECT ID,name from Account where BillingState=:Str];
        return accList;
    }
}
<apex:outputPanel layout="block" styleClass="requiredBlock"/>
    <apex:selectList value="{!VMW_Product}" size="1" required="true" tabindex="70">
    <apex:actionSupport event="onchange" reRender="SubStatusRerender"/>
        <apex:selectOptions value="{!VMW_Product_values}" >
        </apex:selectOptions>
    </apex:selectList>
</apex:outputPanel>

---Apex class----
Public String VMW_Product{get;set;}
system.debug('VMW_Product: '+VMW_Product);// Here it has the value 'null'