3 Replies Latest reply on Feb 25, 2013 3:15 AM by Mark Jolley

    Get/Display Profile/Badge information on SB1

    Ewald Ramp

      Hello,

       

      I am developing an app on the SB1, and while I could find information on how to SET the Profile information (asl.profile(...)), I was curious how to get the information from the profile or badge.

       

      e.g., how do I do something like:

      <script>

      function date_time(id)

      {

           name = asl.profile.name; //?What is the correct code here?

           alert("Hello " + name);

      }

       

      window.onload = sayHello();

      </script>

       

      With the intention to display whichever name is currently logged in (default="Badge"), and which is shown on the locked/badge screen.

       

      Thanks,

      Ewald