mohansrinivas:
When ticket is created from employee portal we only use description field to enter details and by default 1st 60 characters of the Description filed is used by summary.we need to populate the summary field with all the characters from description field . is it possible using macro, i have developed a spell code and implemented but no change took place.Here is the code . . .
Hello mohansrinivas,
You are correct. The first 60 characters of the Description are copied to the Summary field when entered in the Employee interface, plus "..." is appended if the Description is longer than 60 characters and cut off.
I can't answer the question about the SPL code. As stated by the first response, there is already SPL code in place that performs this copy (not 100), so you will be bumping into that. I'm not sure if that is in compiled SPL or not, but you may be bumping into it.
Some general comments:
1) Do you really need 100 characters copied? The whole point of the "Summary" field is to be just that - a summary. There are 240 characters available (SDM 12.7), but you wouldn't want to be copying the full length each time. The Description field is below it on most screens for more information.
2) Can you update the ticket by another method? Such as email and include the %SUMMARY string? Or Web Services?
3) This question has been raised once before through CA Support. There wasn't an answer then, as it was out-of-scope, but the suggestion was made to raise an Idea on this board (see tabs at top), so there may be an existing Idea present, or at least once supporter if you put this through.
4) You could confirm your code is right on a test box by making a NEW field (zSummary2) and seeing if your code can copy to that. That will help rule in deciding if it is "bumping into the existing code" as the problem or "new code is wrong."
If anyone can help with the code query, please do so.
Thanks, Kyle_R.