- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2022 10:29 PM
Hello,
I have a catalog item "XYZ" which is only available in the Native UI through a newly created module. I would like a helping hand in couple of things.
1. I would like to remove order this item section and have just a normal "submit" button like we have in the portal. Please guide.
2. I would also want that this request shouldn't be submitted without an attachment. So the attachment must be mandatory. I tried using "mandatory attachment" option doesn't work, tried client script doesn't work.
Help would be appreciated!
Thanks!
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2022 10:41 PM
Hi,
pointers
1. I would like to remove order this item section and have just a normal "submit" button like we have in the portal. Please guide.
Make -> "No Cart" & "No Odder Now" both as true
2. I would also want that this request shouldn't be submitted without an attachment. So the attachment must be mandatory. I tried using "mandatory attachment" option doesn't work, tried client script doesn't work.
onSubmit catalog client script
function onSubmit(){
var count = getCurrentAttachmentNumber();
if(count == 0){
alert("Please add file");
return false;
}
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2023 01:27 AM
Hello, @Ankur Bawiskar I tried to configure that field on my catalog item form but it's disappearing after 2 sec. why this happening please thank you.