Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to

Our company uses remoteoutlook  fro MS Small Business Server 2003. It has Main Menu page, which has a few links, including access to SharePoint. We installed new SharePoint 3. on the different server., and I was asked to change links to a new sharepoint site. Outlook doesn't support this kind of customization out-of-the box.
It uses ASp.NET web site with client.aspx file, showing Main Menu. But the actual code is compiled into Remote.dll storing in bin folder and is not available for modification(using Reflector I found, that they generate link using some registry SPS settings).
But the fix was simple. I've copied the generated html from the browser and added it to aspx file. In the href attribute I've added link to the new site. I've hidden existing rows with server controls using html comments
<!-- -->.
See the changed section of the code below.

Similar changes were done for admin.aspx as well.


                                <TD width="30"></TD>
                                <TD vAlign="center" align="middle" width="45" rowSpan="2"><asp:linkbutton TabIndex="-1" id="linkIntranetImg" runat="server"><IMG alt="" src="images/compint.gif" border="0"></asp:linkbutton></TD>
                                <TD class="linkHeader"><asp:linkbutton TabIndex="6" id="linkIntranet" runat="server"></asp:linkbutton></TD>
                                <TD width="30"></TD>
                                <TD class="linkText"><%=rapLinks.loadResString("L_CLIENT_STSLINK_DESC")%></TD>
                                <TD width="30"></TD>
                                <TD vAlign="center" align="middle" width="45" rowSpan="2"><a id="linkIntranetImg" tabindex="-1" href="href://NewServerUrl/"><IMG alt="" src="images/compint.gif" border="0"></a></TD>
                                <TD class="linkHeader"><a id="linkIntranet" tabindex="6" href="href://NewServerUrl/">Use my company's internal Web site</a></TD>
                                <TD width="30"></TD>
                                <TD class="linkText">View, create, and edit documents and announcements on the site.</TD>
Another approach is described in Companyweb & Sharepoint v3 - Part 5  blog post.
Posted on Thursday, August 2, 2007 11:17 PM ASP.NET | Back to top

Comments on this post: Customize remoteoutlook Main Menu

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: