- 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
12-10-2023 07:17 AM
What is purpose of 12 container ? When should we use other container
And coming to widget why you suggested simple widget, why can't go other widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2023 10:20 AM
12 container means, it will spread for the entire width of page body. You can choose the size of container based on your requirement. 4 container for 1/3 of page body width.etc.
Simple list widget will come OOTB for just displaying the table data. Instead of creating a custom widget I prefer using this one.
Anvesh