- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:34 AM
Hi,
I have created a catalog item and the view looks as below:
I want to hide that text from the form view. It is actually the Short Description of the catalog Item.
How can I achieve this? Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:45 AM
Hi,
There are two ways to achieve it.
First is nice and simple: Leave the short description field empty and track any information if you need in a custom field.
Second is you can do it with DOM manipulation in catalog client script.
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementsByClassName('guide_tray')[0].style.display="none";
}
Please mark correct/helpful based on the impact of the response.
Thanks
Gaurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 03:45 AM
Hi,
There are two ways to achieve it.
First is nice and simple: Leave the short description field empty and track any information if you need in a custom field.
Second is you can do it with DOM manipulation in catalog client script.
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementsByClassName('guide_tray')[0].style.display="none";
}
Please mark correct/helpful based on the impact of the response.
Thanks
Gaurav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 08:36 AM
Hi Gaurav,
The information regarding hiding of Short description is really helpful. I am working on similar type of requirement where I want to hide description of catalog item through your second method. I really appreciate your help on this.
Thanks
Lakshman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 03:07 AM
Hi,
I want to hide a Short Description on Catalog Request Item form. I tried with the document.getElementsByClassName('guide_tray')[0].style.display="none";
DOM manipulation, it is mentioned New client-scripts are run in strict mode, with direct DOM access disabled. Can anyone suggest me with right way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2023 05:13 AM
Hi @Lakshman12 ,
Is the 2nd method(DOM manipulation) working fine for you??
I want to hide the description of a catalog item in portal.
With Regards
P.Sivakrishna