How to get current App name in Visualforce page in Salesforce?

Javascript code to get current App name in Visualforce page

<script>
       var myappname = document.getElementById("tsidLabel").innerText;
       alert(myappname);
</script>    

No comments:

Post a Comment