You need to sign in to do that
Don't have an account?
razzaz
Button Help?
Hi:
Is there a way to place a custom print button on the tickets(Cases) queue screen where an user can select the the tickets they want and hit the print button to print the details of the tickets one by one....
Also, is there a way to disable a button according to the ticket reason... like I would like to disable the close button on the ticket for one special reason?
Thanks
The printing question is a good one... for that there may be an AppExchange app that can help you. The closing criteria can definitely be implemented though.
If you check out the "buttons and links" section for Cases you will see that you can override the "Close" and "Mass Close" functions (the functions run when you close a Case from the record screen, or when you close multiple from a list view, respectively).
You can override these with simple s-controls that will just check the Reason field (or any other criteria) and if all checks out you can redirect the browser to the standard Close and Mass Close pages as needed. (e.g. "{!URLFOR(t $Action.Case.CloseCase , id, [inputs], true)}" )
Hope this helps.
Ok so I got it to work in ajax but have not gotten it to work in override... now one thing with this override s-control button stuff... do we place in the code for the button on the s-control...
</head>
<body>
<form>
<INPUT TYPE="button" NAME="myButton" VALUE="Zshan Test" onClick="init();">
</form>
</body>
well this is my code based on ticket reason... could someone point me to how to place this in the override button thing ... please
Redid my code but everytime I override the close button it goes to a blank page .. does anyone know what am I doing wrong please...
Change the last argument of the URLFOR statement to "true". That might do it. It's the 'no override' input which controls whether the URL is that of the original action or of any overrides (s-controls).