How can a tab be hidden at runtime based on the account type in the SalesLogix webclient? Our client needs a tab to disappear for a certain value of Account Type and show up again if the type is changed to a different value?
In SalesLogix 7.5 SP1, The Tab form itself remains, but you modify the visible contents of the form.
One approach is to create two Panels – stacked one on top of the other. One panel is empty, or maybe has a label on it indicating that this Tab only applies where Account.Type = “XXXXXX”. The other panel has the normal data bound controls, etc.
Use the tab form OnLoad() event handler to examine the Account.Type value and then set one panel to Visible=true and the other to false.