No Submit Button in Catalog Item View

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:14 PM
Hi Guys,
Need a Help!
We can submit Catalog Items from the service portal.
But unfortunately we cannot do it from the ITSM (Legacy) view as we don't have a submit button.
How can we enable this submit button on Legacy Service Catalog View.
Thanks and Regards,
/Sandaru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 09:31 PM
Hello Sandaru,
Just check the "Use cart layout" is set to true or not.
If it is false, the cart layout is not visible in native UI but Order/Submit/Request button is there in Service portal.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 07:07 AM
Hello
Let me know if this solves your issue.
If so, please mark appropriate answers as correct & helpful to close the thread.
If not, please let us know if you need some more assistance.
Thank,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:53 PM
Hey Sandaru,
You could use cart layouts to do things like remove the add to cart button, and change the order now button to say Submit.
You want to take a look at the Order this Item cart layout record where you can do those things without any scripting.
Configuring Cart Layouts - ServiceNow Wiki
You can aslo try this:
Create one UI macro and add it to your catalog item.
Below is the UI macro code :
Name: submit_button
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div class="orderButton">
<a class="request_catalog_button addtlBtn" onClick="orderNow();">Submit</a>
</div>
</j:jelly>
Then you need to add the variable to the form...
Type: Macro
Name: custom submit button
Macro: "name of UI macro above" //submit_button
Mark Correct and Helpful, if it helps!
Best Regards,
Namrata.