You need to sign in to do that
Don't have an account?
Rohit Prasanna Chandramouli
Visualforce email template - error
Hello,
I am working on a visualforce email template related to the line-items object. I am trying to bring in the Market share data from a different model where the data is available for all my competitors. However, I would like to get only the Market Share data for my company. How do I do that? I tried doing the below, but it wouldn't work.
Also, the rest of the data in that table is specific to product No. whereas the Market data is based on the product Family. A product family can have more than one product number.
<apex:outputPanel rendered="{!cx.IMS_Market_Data__r.Manufacturer__r.Name='My company'}"><tr><td align="center">{!cx.IMS_Market_Data__r.Ranking__c}</td></tr></apex:outputPanel>
I am working on a visualforce email template related to the line-items object. I am trying to bring in the Market share data from a different model where the data is available for all my competitors. However, I would like to get only the Market Share data for my company. How do I do that? I tried doing the below, but it wouldn't work.
Also, the rest of the data in that table is specific to product No. whereas the Market data is based on the product Family. A product family can have more than one product number.
<apex:outputPanel rendered="{!cx.IMS_Market_Data__r.Manufacturer__r.Name='My company'}"><tr><td align="center">{!cx.IMS_Market_Data__r.Ranking__c}</td></tr></apex:outputPanel>
Refer the below articles will help you to proceed further on your requirement.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_intro.htm
https://www.emizentech.com/blog/visualforce-email-templates-in-salesforce.html
Thanks!!