MBPM Web Client add custom button to the main screen
Hi, i'm trying to add a custom button for open a web page into homescreen on MBPM (9.2.1).
I have followed "Web client administration guide" paragraphs:
- 1.30 (Adding Custom Buttons)
- 1.32 (Display the contents of an external site)
I've also trapped the ListType exception in Default.aspx.cs:
try { ListType = listType.Value; } catch (Exception ex) {}
After doing this, i'm seeing the new button in my web client homescreen, but when i click on the button it load the same functionality (todolist, watchlist,...) already opened in web client.
This is Default.aspx.cs:
PlaceHolder helpPageHolder = new PlaceHolder(); helpPageHolder.ID = "helpPageHolder"; contentArea.Controls.Add(helpPageHolder); // ... listType = BaseListPart.GetListType(checkedGroupButton.CommandName); try { ListType = listType.Value; } catch (Exception ex) {} switch (listType) { // ... others placeholders default: // Put here logic for any custom content. if (!(currentControl is ContentViewer)) { ContentViewer myViewer = new ContentViewer(); myViewer = new ContentViewer() { Location = "http://www.google.com" }; myViewer.Enabled = true; newControl = myViewer; newControl.ID = newControl.GetType().Name + "_" + checkedGroupButton.CommandArgument; helpPageHolder.Controls.Add(newControl); } break;
This is Default.aspx:
<telerik:RadToolBarButton SkinID="NavHelpPage" CheckOnClick="false" Group="NavItems" CommandName="HelpPage" Text="Help" ToolTip="Help page" />
This is Default.skin:
<telerik:RadToolBarButton skinid="NavHelpPage" CssClass="rtbMain" CheckedCssClass="rtbMainChecked" HoveredCssClass="rtbMainHovered" imageurl="Images/ListButtons/icn_help_custom.png" ImagePosition="Left" runat="server" />
Any ideas how was wrong?
thanks.
Tagged:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories