So this is an alternative to a suggestion that was provided to me in another thread which if I can find I will cross link.
I had a challenge in a VP whereby I wanted a three panel screen:
Left full length panel showing a query of all Contacts
Right Top showing the Master
Right bottom showing various views of child objects.
My challenge was that Contacts Type: Company and Contacts Type: Person have different child relationships and I wanted to keep the Right Bottom context correct all the time.
One option is to use a blank HTML panel as per pureist and BLOMASKY and then attach a refresh process to that.
I realised however that this resulted in the user being presented with a blank lower screen until they made a selection.
My work around was to add a variety of Operations to the bottom tool bar for the Master to open a variety of Queries in the bottom panel. The operations are visible based on Contact Type
For each of the Query views that are shown in the bottom panel I then had an Auto Refresh to ensure that the Query was always in the Context of the currently selected Contact. I set the refresh to be executed by a process and then within that process I checked the Contact type and the relevance of the view to that Contact for example:
If the Contact is not of Type Company and View= Employees then Change view to ContactAddresses given that Employees are attributes of Companies not People.
Whilst this seems like a longer way round than just using the refresh on HTML, it actually becomes easier because:
1 - there is only one refresh process running ever - whereas with the HTML method there are two, one to update the Query context and one to check the View
2 - the HMTL refresh process was becoming more and more unwieldy to manage.
3 - I no longer have to keep track of the last view selected
4 - I can set a default View to open when the page loads initially.
I realise this is probably teaching your granny to suck eggs for those longer in the tooth, but I thought it may help someone new.
Tags for this:
Visual Perspectives
Update Panel
Auto Refresh
Query