- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2015 11:33 AM
I have a requirement to pull the caller's assets as a list and also have the ability to be able to search all assets in case the caller is reporting an issue with an asset not assigned to him. i created a script include to pull the assets for the user but how do i call it to display as a list and also have a search next to it .Initially i created the field as a reference where i can search but if i want to display as list i changed it to list type. Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2015 03:58 PM
Hi Sam,
Here would be my approach to this. Use a UI macro that displays the callers assets. And then leave the configuration item field as is.
This way you can easily find the users assets and put that in the config item field without having to lock it down via reference qualifier. Like you said what if they call about an asset that's not assigned to them.
If you need more info about the UI macro look for user_related_incidents I believe. Use that as a reference, create a new UI macro and just modify that to the cmdb_ci table.
Hope that helps!
Mike Bahr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2015 01:20 PM
Got it working now. Had to point it to asset table and it worked. Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2015 01:21 PM
Now have to convince ppl to accept this solution rather than in a list in Asset field itself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2015 02:43 PM
Totally overlooked that but i catch the spelling error
Glad you got it to work!
Mike