Cireson Partners, Customers and Community members share your customizations and examples here to help benefit the community as a whole to earn Kudos and badges.
DISCLAIMER
All files and projects located here are provided and come "as-is" and without any warranty or support. Use at your own risk. Your use of Community Uploads is subject to our Terms of Use.
Cireson does not and will not support or maintain these enhancements, extensions, and scripts.
For Team Cireson uploads click here.
Custom expanded action log (comments)
So here's my custom solution for the above problem:
Tested with IE11, Chrome 55, Firefox 45 & Edge. (Some GIF editing makes the save button flash in a irrational way )
I've attached the files needed in a zip archive. To install just drop the files in CustomSpace (merge custom.js if you have other stuff there already!)
Comments
But if they aren't, highest of fives!
Also, as someone who lacks competency in js, I am very appreciative of the amazing items you continue to share with the community. Thank you!!
Let me see what I can do and ill PM you with some ideas.
Thanks @Martin_Blomgren - very nice!
This will not hide any entries but it would be easy to target your service account with an if clause and omit those.
You could use smaller fonts and less padding on each entry but the main thing I'm after is an expanded action log and since on my forms the action log is on the bottom and the newest record is at the top there would only be scrolling if you want to read all history. If you have any suggestions on how to improve the experience I'm all ears!
I'm always doing stuff that my analysts or end users require but hopefully by sharing here we, as a community, can make further improvements or even cast new ideas!
Is this something that should be done for analysts as well since they could always use the history tab or is it valuable to have that information in the action log? Would be great to get some insight from those of you that have been using Service Manager/Cireson for a while!
I agree. Only end user and analysts comments (including emails) should be visible. I know almost nothing about JS so I'm at your mercy.
Thank You Martin for your work and for sharing it.
There's no problem doing this but my custom library is getting quite large and the more custom stuff you add performance will suffer as often the needed API's responses is not adapted for the custom task (read larger, including more info then needed) but as long as there is a need there is a way
This should be included as an out of the box feature!
I would do analysts and end users. You can always go under History to check who did what.
Do we need a check box or can be just a JS code under custom file to hide activities except msgs?
You usually have settings variables in the top of the file with comments and explaining names so that non developers easily can change the behavior.
For example:
Could of course set it up in my lab but it's easier if someone could provide a masked (where needed) screenshot of the global var 'pageForm.viewModel.AppliesToTroubleTicket' when viewing a incident with emails in the action log.
Did my own solution for email log entries.(Note my attachment updates the date/time format to english)
Added pre statments for whitespace and added max height along with scroll bars.
End result is any entry above 300px added scroll bar to dig into the specific email.
Since most emails are replies and the main content is at the top it works for our analysts.
Thanks @Martin_Blomgren for the solution.
Hi Martin, we really love your solution. With IR's, everything is working fine. With SR's, the ActionLog-Entries are visible twice. Any help?
It's turns out it was a simple copy/paste error in custom_ApplyOnActionLogEntry.js resulting in running the function for custom ActionLog instead of saving the form on service requests and change requests. Uploaded a new version in the correct thread a long with details if you like to edit yourself instead!
@Brian_Wiest
Great contribution! (except for the date/time format )
I'm about to filter out none comments except for email thanks to @Adrian_Mataisz whom provided me with the information needed. Also thinking of making other entries optional via a true/false variable together with the option to change (named inside file) service accounts into portal name instead. Will include your edits and of course credit you as the co-contributor.
@Brian_Wiest great additions to make this even better!
Great idea! At a glance I cannot see a direct relation key between the action log and file attachment array but one could of course try to pinpoint the correct attachment by validating several other properties. However as the console allows naming unique files the same there could be a risk of getting the wrong attachment. Will look into it as I like the idea but no promises as to when and if!
@Adrian_Mataisz
Please see my answer in the other thread: Custom quick assign work item to me from grid
Thanks for your updated version. We still have the problem, that "E-Mail sent" entries in the ActionLog are visible twice. Any help?
Hi Martin. Sorry, that i write again... but we've still the problem, that "E-Mail sent" entries are visible twice... any help? Many thanks in advance!
Cheers, Raffael