Support Article

How to change tab ID dynamically from work object data

SA-11988

Summary



User requires to know the tab ID changed at runtime, when there is a switch from an interaction case to a service case.

Error Messages



Not Applicable.

Steps to Reproduce



Not Applicable.

Root Cause



The pyID property was set through a post processing data transform in Pega 6.x environment. This is not possible in the Pega 7.x environment.

Resolution



Include the code snippet below in the harness of use case.

<script>
 
pega.u.d.setLabel("<pega:reference name="pyWorkPage.pyID" mode="javascript" />");
 
</script>
Suggest Edit

Published January 8, 2016 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.