Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic MyInbox web part

Status
Not open for further replies.

JVANH

IS-IT--Management
Apr 12, 2005
26
Is there anyway to have the myinbox web part display the inbox of the user that has logged in. When I setup the Web Part I have to put in a mailbox name that name is always used no matter how i log in.
 
yes put this in a DWP file: like Inbox.DWP

Code:
<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns:xsd="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema"[/URL] xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance"[/URL] xmlns="[URL unfurl="true"]http://schemas.microsoft.com/WebPart/v2">[/URL]
  <Title>Outlook Inbox</Title>
  <FrameType>Standard</FrameType>
  <Description>Outlook Inbox</Description>
  <IsIncluded>true</IsIncluded>
  <ZoneID>Left</ZoneID>
  <PartOrder>3</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <Dir>Default</Dir>
  <PartImageSmall />
  <MissingAssembly />
  <PartImageLarge>/_layouts/images/mssfwp.gif</PartImageLarge>
  <IsIncludedFilter />
  <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
  <TypeName>Microsoft.SharePoint.WebPartPages.SimpleFormWebPart</TypeName>
  <Content xmlns="[URL unfurl="true"]http://schemas.microsoft.com/WebPart/v2/SimpleForm"><![/URL][CDATA[<div>
	<object classid="CLSID:0006F063-0000-0000-C000-000000000046" id="ViewCtlFolder" width="100%" height="430" codebase="[URL unfurl="true"]http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">[/URL]
	   <param name="Namespace" value="MAPI">
	   <param name="Folder" value="Inbox">
	   <param name="Restriction" value="">
	   <param name="DeferUpdate" value="0">
	</object>
</div>
]]></Content>
</WebPart>
 
Thanks, This works great. Is there any way to make it read any subfolders that a user might have setup in the inbox.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top