How to set the Dynamic page title on service portal

shaik_irfan
Tera Guru

Hi,

I cloned oob ticket form and  using the page to auto redirect from the record producer script as shown  below

 

producer.portal_redirect = "sp?id=copy_of_ticket_old&is_new_order=true&table="+current.getTableName()+"&sys_id=" +current.getUniqueValue();

 

Once i submit the record producer it is redirecting to the right page but the Dynamic Page title is not setting properly 

 

In the cloned page i created a Dynamic Page title as shown below

 

find_real_file.png

 

I just copied the oob the ticket form dynamic page title.

 

When i submit i getting the page title but not the record producer title

 

find_real_file.png

 

 

 

1 ACCEPTED SOLUTION

Hello,

      In the cloned page you can place the code in any widget. The above code is to trigger an event present in breadcrumb widget. The code will update the bread crumbs displayed in the portal page.

In the OOB bread crumb widget

https://XXXXX.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=0fb269305b3212000d7ec7ad31f91ae2

There is a code in client controller section where the responder is defined. For more information you can refer the below exercise on emit and respond angular events

https://developer.servicenow.com/dev.do#!/learn/learning-plans/paris/servicenow_application_developer/app_store_learnv2_serviceportal_paris_exercise_emit_and_respond_to_events

Thanks,

Jagadeesh

View solution in original post

5 REPLIES 5

Hello,

      In the cloned page you can place the code in any widget. The above code is to trigger an event present in breadcrumb widget. The code will update the bread crumbs displayed in the portal page.

In the OOB bread crumb widget

https://XXXXX.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=0fb269305b3212000d7ec7ad31f91ae2

There is a code in client controller section where the responder is defined. For more information you can refer the below exercise on emit and respond angular events

https://developer.servicenow.com/dev.do#!/learn/learning-plans/paris/servicenow_application_developer/app_store_learnv2_serviceportal_paris_exercise_emit_and_respond_to_events

Thanks,

Jagadeesh