Two More Snippets
Now that you can make the Asset field available in Self Service so that end-users can select a configuration item, you may want to make this field required for certain types of requests.
We have added a JavaScript snippet to make this easy. You do not need to code any JavaScript; the snippet takes care of that for you. Simply add the “asset required” snippet to a UI extension and link this UI extension to the request templates for which the end users should always make a selection in the Asset field. That’s it.
While we were at it, we also added the “note required” snippet. This one can be useful for frequently asked questions (FAQs) that allow end users to submit a request if the answer did not help. In such cases, you want the end user to explain why.