public static Uri UpdateOwaLinkToSearchId(Uri baseLink, string searchId) { Dictionary <string, string> queryParameters = new Dictionary <string, string> { { "cmd", "contents" }, { "module", "discovery" }, { "discoveryid", searchId }, { "exsvurl", "1" } }; Uri baseUri = LinkUtils.AppendRelativePath(baseLink, "default.aspx", false); return(LinkUtils.AppendQueryString(baseUri, queryParameters)); }
public static Uri GetOwaMailboxItemLink(Action errorHandler, MailboxInfo mailboxInfo, bool supportsIntegratedAuth) { Uri uri = LinkUtils.GetOwaBaseLink(errorHandler, mailboxInfo, supportsIntegratedAuth); if (uri != null) { uri = LinkUtils.AppendQueryString(uri, LinkUtils.itemLinkParameters); } return(uri); }
public static Uri UpdateOwaLinkToItem(Uri baseLink, string itemId) { return(LinkUtils.AppendQueryString(baseLink, new Dictionary <string, string> { { "ItemID", itemId } })); }