6 Replies Latest reply on Nov 20, 2014 8:11 AM by wb9tpg

    How to redirect from an app

    wb9tpg

      I've a jive app that I wrote that supplies a list of people in a phonebook format;  I want to redirect to a persons profile page when the record is selected.  I have extracted the html resource from the person record but want to know the best way to redirect from the app to the profile. 

       

      I'm currently using

      var profile_url = ..... extracts from person record ....
      window.location(profile_url);
      

       

      It does work but looks horrible in the browser.  It appears to begin rendering the profile page in the existing app frame and then the entire page redisplays and switches to the profile.  

       

      Is there a better way to redirect to the profile_url from within an app that gives a cleaner result?