fiogf49gjkf0d I have tried to dynamically hide tabs at runtime using code, based on http://customerfx.com/pages/integrationblog/2012/05/01/a-realy-cool-nugget-how-to-show-and-hide-tabs-dynamically-in-the-saleslogix-web-client.aspx?CommentPosted=true but cannot get it to work. IsHidden changes to true, but the tab remains visible and active.
Am I missing something? What does the article mean by "present as a loaded smart part"? I have tried it on a tab both when still in More Tabs as well as after moving.
I get no errors during compilation or at runtime.
I have the following C# snippet code in the quickformload of AccountDetails
if (Convert.ToString(Page.Session["Country"]) == "BFR") { Sage.Platform.WebPortal.Workspaces.Tab.TabWorkspace tabs = this.ParentWorkItem.Workspaces["TabControl"] as Sage.Platform.WebPortal.Workspaces.Tab.TabWorkspace;
tabs.Hide("C_BFR_Club", true); }
We use multiple, country dependant databases. Hence the first line.
|