You need to sign in to do that
Don't have an account?
Paul Devenport
Anyone know what kind of syntax the URL section is on a custom button?
Anyone know what kind of syntax the URL section is on a custom button? (and what context variables are available to it) Is it Apex or VisualSource syntax or something else? I want to add some logic like this, but it is not working: {!URLFOR("/apex/CustomAttachment?id=" + (Contact!=null?Contact.Id:Opportunity.Id)}
I select Behavior: "Execute in existing window"
Content Source: "URL"
I select Behavior: "Execute in existing window"
Content Source: "URL"
Drop the URLFOR
Or, use the URLFOR correctly
You should be able to use $Page.CustomAttachment instead, but I couldn't get it to work with my quick test.