Add field to on portal view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 05:33 AM
Hello
I want to add a field to the demand portal view, how can I do this? and I also would like a link added to the portal view so that when I click on it,I am redirected to the the backend view of submission demand
Thank in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 05:35 AM
Hi @Malo
please provide some kind of screenshot,, what and where you want to add field.
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
01-11-2024 06:15 AM
I did like to add the field under number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 06:45 AM
Hi @Malo
You can create variable and reference to that field.
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
01-11-2024 06:18 AM
To add a field to the demand portal view and add a link that redirects to the backend view of submission demand, follow these steps:
- Navigate to Service Portal > Portals.
- Click on the portal where you want to add the field.
- Click on the page where you want to add the field.
- Click on the widget where you want to add the field.
- In the widget, you can add a new field by modifying the HTML template. You can use AngularJS to bind the field to the data model.
- To add a link that redirects to the backend view of submission demand, you can add an anchor tag in the HTML template.
- In the server script of the widget, you can get the value of the new field and the sys_id of the demand from the client script.
- In the client script of the widget, you can set the value of the new field and the sys_id of the demand.
- Save the changes and refresh the portal to see the new field and the link.