+ Start a Discussion
Tobias HaggeTobias Hagge 

Comment syntax for button

I have tried

// comment
/* comment */
<!-- comment -->

Any other ideas what the syntax might be? Or is it not possible at all?
sweetzsweetz
It says we can apply for formula fields, but not sure on buttons
https://help.salesforce.com/apex/HTViewHelpDoc?id=customize_formulas.htm&language=nl
Tobias HaggeTobias Hagge
Yeah, /* */ works on formulas, but no luck in buttons. Pretty unfortunate, since they can become quite complicated.
RadnipRadnip
What type of buttons? If its a javascript button you can use javascript commenting...
Tobias HaggeTobias Hagge
No unfortunately. It's a detail page link that displays in existing window with sidebar and content URL.
John SadlerJohn Sadler
A very old thread but for a Conga Button (which is URL) just start the line with an underscore .. here's a sample
_This+line+chooses+the+email+template+based+on+the+choice+made
Note comments have no blank spaces ... a bit clunky but at least it works
Whether this works for other URL type buttons is anybody's guess
damion medamion me
Owens JudyOwens Judy
Comment syntax for button and more which we are creating. If you have different options that means that you like to handle all the https://www.essaymama.com/ information as we all want. I don't know what are the things which we need to resolve this syntax button error.