Question
2
Replies
339
Views
synechron inc
Posted: July 17, 2017
Last activity: July 18, 2017
Closed
How to show a message for a particular user selected a case from Manager Portal for specific time (like 20 sec ) and fade out after the time when he is performing his actions in the case which was assigned to him.
Hello,
I have a requirement like when a particular user selected a case from the manager portal a message should be showed in the perform screen that it was assigned to him and the message should fade out after sometime (like 20 sec).Is that doable in Pega if so please let me know the best approach for this(CSS is also fine if possible in Pega)
Thanks,
Siva.
Hi Siva,
I tried something very quickly at my end. It is not a refined solution at this point, I leave that upto you to explore and extend it to suit your needs. My idea was just quickly check if this can be done or not.
I placed the below code in UserWorkForm fragment and launched a portal.
In this case, the below DIV will appear when the portal loads. After 5 seconds, the DIV disappears.
<div id="SampleMsg" style="display: block;">HELLO WORLD</div>
<script type="text/javascript">
setTimeout(closeMsg, 5000);
function closeMsg(){
document.getElementById("SampleMsg").style.display = "none";
}
</script>
Thanks,
Sunny