CMDB Config Item Page Titles
I'm loving the new CMDB with Config Item editing but I'm not such a fan of the 'CI' title on every page.
Little snippet of code to put the class name in its place, just like on Asset Management forms.
app.custom.formTasks.add('ConfigItem', null, function (formObj, viewModel) { $(document).ready(function(){ $('.page_title > span').first().text(pageForm.viewModel.FullClassName) }); return; });Much better I think.
Ensure you add to custom.js via the script loader. Message me if you need any help.
Geoff
Comments
Hi Geoff,
Thank you for this function. We are running this in version 12 (maybe 11), but notice this is no longer working.
In the Dev-tools, pageForm.viewModel.FullClassName still gives Business Service as the Class name, but the title does not longer change and says "CI".
How can we get this working again?