Categories:
  1. Service Portal Introduction
  2. Service Portal Training Content
  3. Service Portal Object
  4. Portal Backend Structure
  5. Portal Module & Element
  6. Service Portal Configuration
  7. Build a new Portal
  8. Create Header Menu
  9. Data Preview from Server Side to HTML
  10. HTML Basic
  11. Get Incident Data & Show in a table
  12. Call HTML to Client Script
  13. Call Server Side Script for Action
  14. ServiceNow OOB Widget Provide for Portal
  15. Javascript popup VS SPModal
  16. spUtil – Client Dependency Service Portal
  17. Widget Embedded
  18. Send data from one widget to another
  19. GlideSPScriptable API on Server Side
  20. Angular Template
  21. $location, $timeout, $uibModal & $watch Services
  22. Use HTTP Service or REST Call on ServicePortal
  23. Angular Directive & Angular Filter
  24. Create a custom list widget with pagination, order, and filter
  25. ServiceNow Custom Component(Reference & Date Fields) in Service Portal
  26. Localization
  27. Create Own Theme
  28. Angular Provider & Dependency
  29. Service Portal Additional Details

Create Header Menu

To create menu perform below steps:

  • open instance menu(sp_instance_menu) table.
  • Click new
  • Put Title
  • Select Widget – Header Menu
  • Aditional JSON –
{
  "enable_cart": {
    "displayValue": "true",
    "value": true
  },
  "enable_wishlist": {
    "displayValue": "true",
    "value": true
  },
  "auto_update_cart": {
    "displayValue": "true",
    "value": true
  },
  "auto_update_wishlist": {
    "displayValue": "true",
    "value": true
  }
}
  • Under Menu Items Related List create menus
  • Goto Portal and Select the newly created Menu.

2 Responses

  1. Hi Rohit,

    We really appriciate your efforts for providing this information thank you so much.

    Need a help, when i do below am not able to cart item in Menu.

    {
    “enable_cart”: {
    “displayValue”: “true”,
    “value”: true
    },

    regards,
    Pathan

    • Hello, please write the code as below:-
      {
      “enable_cart”: {
      “displayValue”: “true”,
      “value”: true
      }
      }

Leave a Reply

Your email address will not be published. Required fields are marked *