No Submit Button in Catalog Item View

Sandaru1
Tera Expert

Hi Guys,

Need a Help!

We can submit Catalog Items from the service portal.

find_real_file.png

But unfortunately we cannot do it from the ITSM (Legacy) view as we don't have a submit button. 

find_real_file.png

How can we enable this submit button on Legacy Service Catalog View.

Thanks and Regards,

/Sandaru

 

7 REPLIES 7

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

The world works with ServiceNow

Hello @sandaru.weerasooriya@gmail ,

 

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

 

The world works with ServiceNow

Namrata Khabale
Giga Guru

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.