Display User Login in OpenUI Toolbar
We're developing a Proof Of Concept OpenUI implementation in our 8.1.1.9 environment. One of the customizations that has been implemented in the HI client is to display the users current login and position in the Toolbar. See attachment for an example.
We use straightforward code in the CCFrameViewbar.swt template:
<!-- Start Tier2 Nav & Toolbars-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- Display user login-->
<td>
<b>User:</b>
<SPAN ID="spnLogin"></SPAN>
<script>
document.all["spnLogin"].innerText = " " + top.theApplication().GetProfileAttr("Login Name");
</script>
</td>
This doesn't work when the UI is rendered in OpenUI.
Can anyone help me replicate this functionality in OpenUI please?