Thursday 12 December 2013

Changing the PeopeleSoft Component Tab name (page naem)

We can do the change in two steps:

Step 1: Create HTML Object (html.TEST_ITEM_LABEL) with below script.

<script type="text/javascript"> 
var tabContainer = document.getElementById("PSTAB"); 
if (tabContainer) 
tabContainer.firstChild.firstChild.firstChild.childNodes[0].firstChild.firstChild.innerHTML = "<font color=black size=2 <b>E-Invoice - %bind(:1)</b></font>"; 
</script>

Step2: Write the below peopelcode in page activate.

TEST_INVOICE_WRK.HTMLAREA.Value = GetHTMLText(HTML.TEST_ITEM_LABEL, VENDOR.NAME1);

No comments:

Post a Comment