Need help in Service Portal

Mohan raj
Mega Sage

Hi Expert's ,

 

 

I am reaching out to seek your guidance as I embark on my journey as a beginner in Service Portal scripting. I am particularly interested in learning how to design a portal that displays the total price dynamically alongside a submit button, akin to the functionality depicted in the screenshot provided below.

Mohanraj_0-1714664788509.png

 

 

As I navigate this learning process, I recognize the importance of seeking expertise and mentorship from experienced professionals like yourself. Your insights and guidance would be immensely valuable to me as I strive to grasp the intricacies of Service Portal scripting.

 

Could you please assist me by providing guidance on how to write the necessary code to achieve this functionality? Any tips, code snippets, or best practices you could share would be greatly appreciated.

 

 

Thank you very much for considering my request. I look forward to learning from your expertise and insights.

 

 

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@Mohan raj You do not have to design a separate page to extend this feature to your users. The page you are referring to is already built-in in ServiceNow and it is called Service Catalog. Please refer to the documentation to https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man... to know more about this feature in detail.

Hi @Sandeep Rajput,

 

Do I need to write any AngularJS code within the catalog widget, or does the platform offer built-in functionality to calculate and display the total price in the Service Portal view?

No need to code anything in AngularJS. Platform offers this as built in functionality. 

Here is an example of the out of the box feature, where the quantity and price is shown on the page and this is completely out of the box.

 

Screenshot 2024-05-02 at 9.32.20 PM.png

 

Please consider marking my answers helpful and correct if they manage to address your question