I'm developing two client web parts on the same sharepoint hosted app project. Client web part A shows a list of employees of the month(name, picture, etc) Client web part B shows the detailed information for a certain employee of the month
What i'm trying to achieve is to redirect the user form the page that holds the CWP A to the page that contains CWP B when clicking an element from A.
I've tried without success by using query string. I've read that you could communicate two apps with post message, but as i see it, that scenario won't apply to mine..
What could i do? Thanks in advance.
Redirect means clicking on element and open the client web part b on different page, but same tab. In order to achieve this client web part A has a property named redirect Url which represents the url where client web part B is located, my initial idea was to append a query string to that url. However when i redirect to the page with the query string ?Id=2 (for example), the page won't load any client webpart, leaving a blank page.