Again, you are approaching this the wrong way. You should control it by parameters independent of what NWBC view a user is displaying. You can enhance the application to have new parameters (or build your own application that calls the same WDA component). Then, depending on the value of the new parameter, display the customer or the vendor details as you like. One the menu role, pass the "customer" value to this new parameter in the customer role and the "vendor" value to the same parameter in the vendor role.
↧