You need to sign in to do that
Don't have an account?
Shavi Dabgotra
Auto-Populate the Opportunity owner as logged in user using VF
I have created a custom Opportunity VF. I want the opportunity owner name to be auto- populated as Logged in user and that field should be read only as well.
I am new to this. Can some one help me in this?
Thank you in advance!
I am new to this. Can some one help me in this?
Thank you in advance!
In your extension constructor when you consume the standardcontroller for the object, you will also need to perform a SOQL statement for the parent. So for the extension, you need to declare an instance of the object
A similar discussion has happened here (https://trailblazers.salesforce.com/answers?id=90630000000hIfmAAE)
Let me know if this helps