- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:30 AM
Hi All,
I had Requirement Creation of Location(cmn_location) field in service Portal. That will be show as Active locations.
How can I achieve this. Please let us know.
Please provide the any document are articles regarding that. It will helpful to me.
my requirement is to create Location field at the highlighted position.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 02:12 AM - edited 11-28-2023 02:14 AM
Hi @Sirri
In short, you need to create a portal page then add a simple list widget and configure that to display records from cmn_location table, then create a menu entry in SP Header Menu for the page we created.
Follow along for step by step guide.
1. Create a Portal page by navigating to Service Portal -> Pages then click on New button in right top corner, and fill in all the fields like the one below and save the form.
Then click on the Open in Designer related link from the related links section in the page record we created just now.
Now in the Designer page opened, drag a 12 container to the page.
Now in the search box type simple and drag the simple list widget to the 12 container we just added in the above step.
Then click the edit (Pencil) icon at the right top of the widget we just dragged in and in the popup form fill in all the details as shown in below screen shots and save.
With this we have a page which displays the locations, now we need to link it to the menu in header. Follow the guide below.
Navigate to Service Portal -> Portals and open the service portal record, and click on preview record next to Main menu field (i - Icon) and click on open record.
Now in the page opened, scroll down to bottom and click on New button in Menu Items related list.
And fill in the details as shown below and save.
Now open your portal and check.
Please mark my answer helpful and accept as a solution if it helped 👍✔️
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:43 AM
Hi @Sirri ,
U need to create a new Menu Item on your portal.
For eg. Portal is SP portal then plz navigate to
- Service Portals -> Portals
- Open your portal (for this eg sp portal)
- Once u open it u will see Main menu field highlighted in yellow as shown below
- Open that record in new tab you should be able to see at the bottom of the page Menu Items as shown below
- Add the Location Option over der with name as Active Location. You should be able to see that option on The portal.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:49 AM
Hi @Sirri
Yes, it is do able but it will show all Locations and location dont have any active field.
Go to
SP Menu Header
Under Menu header related list
Create a new menu as per type:
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 02:12 AM - edited 11-28-2023 02:14 AM
Hi @Sirri
In short, you need to create a portal page then add a simple list widget and configure that to display records from cmn_location table, then create a menu entry in SP Header Menu for the page we created.
Follow along for step by step guide.
1. Create a Portal page by navigating to Service Portal -> Pages then click on New button in right top corner, and fill in all the fields like the one below and save the form.
Then click on the Open in Designer related link from the related links section in the page record we created just now.
Now in the Designer page opened, drag a 12 container to the page.
Now in the search box type simple and drag the simple list widget to the 12 container we just added in the above step.
Then click the edit (Pencil) icon at the right top of the widget we just dragged in and in the popup form fill in all the details as shown in below screen shots and save.
With this we have a page which displays the locations, now we need to link it to the menu in header. Follow the guide below.
Navigate to Service Portal -> Portals and open the service portal record, and click on preview record next to Main menu field (i - Icon) and click on open record.
Now in the page opened, scroll down to bottom and click on New button in Menu Items related list.
And fill in the details as shown below and save.
Now open your portal and check.
Please mark my answer helpful and accept as a solution if it helped 👍✔️
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 04:55 AM