You need to sign in to do that
Don't have an account?
help with custom button
Hi,
I've got a url custom detail page button that i need to add some conditional logic to. Unfortunately the output I need isn't working properly now, because the out =put is text, but I need to use some merge fields.
Here's my button. It compiles, but it doesn't work. Reason it does not work is something with the syntax in the output when the IF statement is true.
http://{! IF( ISPICKVAL (Opportunity.StageName, "Won"), "www.appextremes.com/apps/Conga/PointMerge.aspx?sessionId={!API.Session_ID}&serverUrl={!API.Partner_Server_URL_80}&id={!Opportunity.Id}", "www.google.com" ) }
As you can see the formula just spits out a text string there, but I've got merge fields within that text string which won't work.
Just hoping someone has dealt with this before. Any ideas?
Thanks a lot
Hello,
Try like:
IF( ISPICKVAL (Opportunity.StageName, "Won"),"http://www.appextremes.com/apps/Conga/PointMerge.aspx?sessionId={!API.Session_ID}&serverUrl={!API.Partner_S...
"www.google.com", "" )