Protal view Fields visibility

DreamIT
Tera Contributor

Hi community,

I have raised a schedule time off request and the request is waiting for the approval. In the form view of the raised request I see the start date and end date time fields. How can I populate the 'planned start date time' and 'planned end date time' in the portal view for the approval visibility before approving. Attaching screenshot below for reference.

DreamIT_1-1741947089477.png

 

DreamIT_0-1741947063778.png

 

DreamIT_2-1741947110385.png

 

 

 

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @DreamIT 

Technically, what is shown is correct because, to approve a request, the approver must go in-depth and check other parameters before approving. If you want to make changes, it will require customization. You would need to create or copy this widget, add the two parameters, and then use a script to get the values.

@Medi C need code expert here.

*************************************************************************************************************
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]

****************************************************************************************************************

DreamIT
Tera Contributor

Hi @Dr Atul G- LNG , Thanks I would appreciate if I would get to know how to link the script part I see those fields are reference and are coming from Approvals table.

 

Thanks in advance.

Hi @DreamIT 

Ctrl + right-click and open this widget in the widget editor. There, you will see sections like CSS, HTML, and other scripts. First, check where to add these two fields and then figure out how to get the values.

*************************************************************************************************************
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]

****************************************************************************************************************