You need to sign in to do that
Don't have an account?
Victor Echeverría
Error: Syntax error. Found '<'
Is there anything wrong with my syntax or am I doing something that salesforce doesn't allow?
Error with <apex:variable> inside a !CASE statement
<apex:repeat value="{!Opportunity.OpportunityLineItems}" var="line"> {!CASE(line.PricebookEntry.Name, "Comision Adgorithms",<apex:variable value="{!line.TotalPrice}" var="comiadgo"/> ,"")} </apex:repeat>I have the above piece of code but it give me the following error:
Error: Syntax error. Found '<'
Is there anything wrong with my syntax or am I doing something that salesforce doesn't allow?
The above code doesn't work for what I'm trying to do. The idea is that with a repeat I go through every opportunity line item searching for specific product names and when I find one I want to save some of its information either its quantity or price in a variable for future use. Is there any other method for using variables?