• #66657
    Salesforce | Steve Steve #87

    What is the pass Id of current record to Salesforce Apex Controller?

    I’m working on a Visualforce Email Template which will be sent from the parent Loan (LLC_BI__Loan__c) record in Salesforce, and I’m trying to include fields from the child Entity Involvement (LLC_BI__Legal_Entities__c) record(s).

    I’m attempting to pass the Loan record ID into the Controller using the ApexPages.StandardSetController method, but I think it may be failing due to the fact that the Visualforce component is being used in the email template and not on a record page.

    I’m unable to pass the correct parent (Loan) Id to get the correct child records. Can anyone see where I may be going wrong ?

    Thank you in advance.




Viewing 1 post (of 1 total)

Please to reply to this topic.

Popular Salesforce Infographics


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?