You need to sign in to do that
Don't have an account?
Alexander Schares
text-email template: if statement isn't working
Hi together,
i have the following problem:
I created a text email template with several if statements. the following returns nothing.
{!IF(ISPICKVAL(Case.LP_Rental_Car_needed__c, "Yes"), "Fahrzeugart: " & Case.LP_CategoryNeededRentalVehicle__c,"whatever")}
When I delete the concatenation: ---> & Case.LP_CategoryNeededRentalVehicle__c <--- it works.
When I write this merge field solo: {!Case.LP_CategoryNeededRentalVehicle__c} it returns me the input.
Why is the concatenation not working?
best regards and thanks in advance,
Alex
i have the following problem:
I created a text email template with several if statements. the following returns nothing.
{!IF(ISPICKVAL(Case.LP_Rental_Car_needed__c, "Yes"), "Fahrzeugart: " & Case.LP_CategoryNeededRentalVehicle__c,"whatever")}
When I delete the concatenation: ---> & Case.LP_CategoryNeededRentalVehicle__c <--- it works.
When I write this merge field solo: {!Case.LP_CategoryNeededRentalVehicle__c} it returns me the input.
Why is the concatenation not working?
best regards and thanks in advance,
Alex
Try using + instead of &
Hope this helps - https://success.salesforce.com/answers?id=90630000000gytMAAQ
-Thanks.
I'm facing another problem: When i try to create an if-statement, for example:
{!IF(ISPICKVAL(Case.LP_Rental_Car_needed__c, "Yes"), Case.LP_CategoryNeededRentalVehicle__c,"whatever")} <- doesn't work.
But this can't be a syntax problem, as this syntax works for others. What could be the matter, that nothing is displayed in the template?
Check to see if these fields are visible in production for the profile(incase if they are created recently).