Question
1
Replies
161
Views
Posted: June 13, 2016
Last activity: June 14, 2016
Closed
Solved
How to achieve dynamic 'Title' on the launch of a Portal?
Hi All,
When I launch the portal from Designer Studio, the 'Title' on the tab comes from the short description of the Harness rule the Portal refers.
Now, how to refer a property so that the 'Title' can be dynamic? Thanks in advance.
In UserWorkForm (or any HTML fragment that loads with portal harness) -
<script>
document.title = '<%= tools.findPage("MyPortalPage").getString("MyPortalName") %>';
</script>