I see an 'escalated' checkbox on our IR (incident) work items, but not on SR (service) work items?
I see an 'escalated' checkbox on our IR (incident) work items, but not on SR (service) work items?
Why wouldn't a Service Request work item not have an 'escalated' check box?
Is it possible to have one added?
Thanks...
Answers
I can't speak to the decision as to why there isn't an Escalated boolean value for SRs (that's really a Microsoft design question) but you can extend the Class to add one yourself.
Understood Adam, thanks.
Hi both,
I'm after doing just this, is there any guidance on doing this sort of thing (extending the class)?
I'm comfortable with doing the action part of what the box would do (runbook etc.), but I've not added boxes/buttons to the portal before.
Cheers.
Sure thing @David_Johnsen.
Need a code signing key pair? Open up Visual Studio command prompt and...
sn -k <SNK FILE NAME>.snk
Make sure you keep this key stored somewhere for long term reference/use as you'll need it if you ever want to re-sign the MP/upgrade the MP.
THEN! If you want edit the portal to reflect/work with this new property. Head into your CiresonPortal installer directory. Specifically - .\CiresonPortal\Scripts\forms\templates\. Copy ServiceRequest.js and paste it into .\CiresonPortal\CustomSpace\WorkItem. With this file here, let's open up ServiceRequest.js. Now let's add your custom property somewhere into the page/wherever you should so see fit.
{DataType: "Boolean", "PropertyDisplayname: "Escalated", PropertyName: "WHATEVER YOU CALLED YOUR PROPERTY HERE", Required: "false"}
Amazing @Adam_Dzyacky Thank you!
@Adam_Dzyacky
I implemented this tonight and it worked perfectly!
It doesn't seem to have changed the modified dates either which is good (hopefully nothing I done wrong!! haha).
Amazing guidance, thank you so so much.
Awesome to hear @David_Johnsen ! But it doesn't seem to have changed the Last Modified Dates on SRs? That is...interesting/I've never heard of that as by definition all of the SR have been modified by virtue of what you've just done. Hrm.
Ok but now that you've extended the class and you're "comfortable with doing the action part of what the box would do (runbook etc.)" What are you making? You gotta share with the class now 🙂