You need to sign in to do that
Don't have an account?
Simba
Custom Button
I am not able to access any of the SF standard objects attributes(fields). I get an error Object not defined not exist.
For now I am trying very simple one line code in a custom object on the Opportunity Detail Page.
Following is the code that I was trying. Ideally I would like to make a call to the Apex Code from the buttons
Problem with the OnClick Javascript - Opportunity is not defined
alert(Opportunity.Name);
Problem with the OnClick Javascript - missing ) after argument list...
alert({!Opportunity.Name} );
Please let me know what could be wrong. I am using Developer Edition for the above example
Thanks
For now I am trying very simple one line code in a custom object on the Opportunity Detail Page.
Following is the code that I was trying. Ideally I would like to make a call to the Apex Code from the buttons
Problem with the OnClick Javascript - Opportunity is not defined
alert(Opportunity.Name);
Problem with the OnClick Javascript - missing ) after argument list...
alert({!Opportunity.Name} );
Please let me know what could be wrong. I am using Developer Edition for the above example
Thanks
??
Thanks, that's correct I was missing the quotes around it. It works now.
I really appreciate your reply back.
Regards