Hide Page Title
Best Answers
-
Brett_Moffett Cireson PACE Super IT Monkey ✭✭✭✭✭Yes.
This is a custom JS script that looks for the template name of the RO and then enacts code to set the elements to Hidden.
An example of that is in this video: https://player.vimeo.com/video/188066662
Hope this answers your question6 -
Geoff_Ross Cireson Consultant O.G.Chris,
Give this a whirl:$(document).ready(function () { var url = window.location.href; if(url.indexOf("/ServiceCatalog/RequestOffering/21b6965e-7fa4-5cbd-8f61-6af3ed8df4f0,a058000e-a7ba-e4ec-4a4a-47da4d975d3d") === -1){ // Change to required RO page URL return; } var mainPageNode = document.getElementById('main_wrapper'); // create an observer instance var observer = new MutationObserver(function(mutations) { //The page changed. See if our title exists. var titleElement = $('h3:Contains(Page Name)'); // Change to Page Name if (titleElement.length > 0) { //An element exists. titleElement.hide(); //We are done observing. observer.disconnect(); } }); // configure the observer and start the instance. var observerConfig = { attributes: true, childList: true, subtree: true, characterData: true }; observer.observe(mainPageNode, observerConfig); })
Geoff2
Answers
This is a custom JS script that looks for the template name of the RO and then enacts code to set the elements to Hidden.
An example of that is in this video: https://player.vimeo.com/video/188066662
Hope this answers your question
Or could be simpler with CSS in this case
Geoff
It would effect all AROs with only 1 page. Do you need to do this on just a single ARO?
Geoff
Give this a whirl:
Geoff
Can those be hidden easily as well?
EDIT: Ignore that. I can just leave those fields blank in the SO via the console and it won't display in the web.
You can just remove it from the SO. Then it won't appear - not even the section title
If you want to do it per RO then you can use the same as above but change this line.
Geoff
Sometimes the simplest solutions....