Building an IBM Service Request Widget: Part 1
VanStaub 120000BGUR Visits (1972)
IBM SR tool. The idea was to combine the LiveText feature of Notes with the SR tool to provide convenient access to service requests. This is by no means the first blog post on the subject, see PMR ESR/SR Lookup Widget. But the end result of this blog entry and future entries should be a more feature rich widget that highlights the ease of widget development. In fact, it will take longer to create this blog post than to create the first feature of the widget.
We want to create code that recognizes an SR identifier - for example in an email, and allow the user to open the service request on the SR web site. Where do we begin? Fortunately, we need look no further than the OpenNTF contribution Live Text Java Action. The project demonstrates registering a LiveText menu contribution with the Phone Number content type.
The plugin simply opens a dialog, but it's sufficient to get us started using some boilerplate code. But there's a slight problem. There is no current "SR" content type in Notes; it must be created. We can manually create our own content type as the wiki and PMR ESR/SR Lookup Widget blog article mention, or we can create a contribution that registers a new content type automatically. When users install the widget, they need not do any additional manual steps. To do this, we'll use two existing extension points.
The extensions work a bit like this. We define a content type com.
Requests to the SR website can be constructed using the format, http
The result is a browser window to the SR website. But wait, you now need to authenticate. Notes and Expeditor should provide a ready framework to handle this condition ... and that will be part 2.