Group:  Microsoft Outlook ยป microsoft.public.outlook.interop
Thread: Exporting and importing items in outlook

Geek News

Exporting and importing items in outlook
"amitbhandari" <abhandari[ at ]opelin.com> 6/27/2007 5:03:50 AM
This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C7B8A6.A6E5FA00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I'm working on exporting and importing items. While exporting, I'm =
maintaining an extra information about the folder hierarchy in XML =
format and also all the items that have been exported in a separate XML =
file. Now, before importing, I'm rebuilding the folder hierarchy in the =
destination Outlook using the folder XML file.

But the problem which I'm facing is that the containers like Inbox, Sent =
Items, etc. folders don't expose type of folder property, however, all =
the child folders do it. Also, the RSS Feeds folder exposes the type as =
"IPF.Note.OutlookHomepage", whereas all sub-folders expose it as =
"IPF.Note".=20

Basically, I'm querying DASL =
http://schemas.microsoft.com/mapi/proptag/0x3613001E to get the value of =
type of folder. And I want to get assured of some standard in the types =
of folder that are exposed by Outlook through this property.

Is there some other property which ensures the type of folder to be a =
standard one or is there any existing standard which I can take as base =
while implementing the folder hierarchy import in the Outlook.

--=20
Regards,
Amit Bhandari
------=_NextPart_000_0020_01C7B8A6.A6E5FA00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Diso-8859-1>
<META content=3D"MSHTML 6.00.6000.16481" name=3DGENERATOR></HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; =
COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial"=20
bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 CanvasTabStop=3D"true" =
acc_role=3D"text"=20
name=3D"Compose message area">
<DIV>Hi,</DIV>
<DIV>I'm working on exporting and importing items. While exporting, I'm=20
maintaining an extra information about the folder hierarchy in XML =
format and=20
also all the items that have been exported in a separate XML file. Now, =
before=20
importing, I'm rebuilding the folder hierarchy in the destination =
Outlook using=20
the folder XML file.</DIV>
<DIV> </DIV>
<DIV>But the problem which I'm facing is that the containers like Inbox, =
Sent=20
Items, etc. folders don't expose type of folder property, however, =
all the=20
child folders do it. Also, the RSS Feeds folder exposes the type as=20
"IPF.Note.OutlookHomepage", whereas all sub-folders expose it as =
"IPF.Note".=20
</DIV>
<DIV> </DIV>
<DIV>Basically, I'm querying DASL <A=20
title=3Dhttp://schemas.microsoft.com/mapi/proptag/0x3613001E=20
href=3D"http://schemas.microsoft.com/mapi/proptag/0x3613001E">http://sche=
mas.microsoft.com/mapi/proptag/0x3613001E</A>=20
to get the value of type of folder. And I want to get assured of some =
standard=20
in the types of folder that are exposed by Outlook through this =
property.</DIV>
<DIV> </DIV>
<DIV>Is there some other property which ensures the type of folder to be =
a=20
standard one or is there any existing standard which I can take as base =
while=20
implementing the folder hierarchy import in the Outlook.</DIV>
<DIV><BR>-- <BR>Regards,<BR>Amit Bhandari</DIV></BODY></HTML>

------=_NextPart_000_0020_01C7B8A6.A6E5FA00--

Re: Exporting and importing items in outlook
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 6/27/2007 1:06:32 PM
This is a multi-part message in MIME format.

------=_NextPart_000_008E_01C7B89A.74A1E5B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Use DefaultItemType. That's the only other supported property for that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"amitbhandari" <abhandari[ at ]opelin.com> wrote in message
news:E2D2E490-E6F4-4BD4-8754-8C3C9898924C[ at ]microsoft.com...
Hi,
I'm working on exporting and importing items. While exporting, I'm
maintaining an extra information about the folder hierarchy in XML format
and also all the items that have been exported in a separate XML file. Now,
before importing, I'm rebuilding the folder hierarchy in the destination
Outlook using the folder XML file.

But the problem which I'm facing is that the containers like Inbox, Sent
Items, etc. folders don't expose type of folder property, however, all the
child folders do it. Also, the RSS Feeds folder exposes the type as
"IPF.Note.OutlookHomepage", whereas all sub-folders expose it as "IPF.Note".

Basically, I'm querying DASL
http://schemas.microsoft.com/mapi/proptag/0x3613001E to get the value of
type of folder. And I want to get assured of some standard in the types of
folder that are exposed by Outlook through this property.

Is there some other property which ensures the type of folder to be a
standard one or is there any existing standard which I can take as base
while implementing the folder hierarchy import in the Outlook.

--
Regards,
Amit Bhandari

------=_NextPart_000_008E_01C7B89A.74A1E5B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Diso-8859-1>
<META content=3D"MSHTML 6.00.6000.16481" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; =
COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial"=20
bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 name=3D"Compose message =
area"=20
acc_role=3D"text" CanvasTabStop=3D"true">
<DIV>Use DefaultItemType. That's the only other supported property for=20
that.</DIV>
<DIV><BR>-- <BR>Ken Slovak<BR>[MVP - Outlook]<BR><A=20
href=3D"http://www.slovaktech.com">http://www.slovaktech.com</A><BR>Autho=
r:=20
Absolute Beginner's Guide to Microsoft Office Outlook 2003<BR>Reminder =
Manager,=20
Extended Reminders, Attachment Options<BR><A=20
href=3D"http://www.slovaktech.com/products.htm">http://www.slovaktech.com=
/products.htm</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"amitbhandari" <<A=20
href=3D"mailto:abhandari[ at ]opelin.com">abhandari[ at ]opelin.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:E2D2E490-E6F4-4BD4-8754-8C3C9898924C[ at ]microsoft.com">news:E2D=
2E490-E6F4-4BD4-8754-8C3C9898924C[ at ]microsoft.com</A>...</DIV>
<DIV>Hi,</DIV>
<DIV>I'm working on exporting and importing items. While exporting, =
I'm=20
maintaining an extra information about the folder hierarchy in XML =
format and=20
also all the items that have been exported in a separate XML file. =
Now, before=20
importing, I'm rebuilding the folder hierarchy in the destination =
Outlook=20
using the folder XML file.</DIV>
<DIV> </DIV>
<DIV>But the problem which I'm facing is that the containers like =
Inbox, Sent=20
Items, etc. folders don't expose type of folder property, =
however, all=20
the child folders do it. Also, the RSS Feeds folder exposes the type =
as=20
"IPF.Note.OutlookHomepage", whereas all sub-folders expose it as =
"IPF.Note".=20
</DIV>
<DIV> </DIV>
<DIV>Basically, I'm querying DASL <A=20
title=3Dhttp://schemas.microsoft.com/mapi/proptag/0x3613001E=20
=
href=3D"http://schemas.microsoft.com/mapi/proptag/0x3613001E">http://sche=
mas.microsoft.com/mapi/proptag/0x3613001E</A>=20
to get the value of type of folder. And I want to get assured of some =
standard=20
in the types of folder that are exposed by Outlook through this=20
property.</DIV>
<DIV> </DIV>
<DIV>Is there some other property which ensures the type of folder to =
be a=20
standard one or is there any existing standard which I can take as =
base while=20
implementing the folder hierarchy import in the Outlook.</DIV>
<DIV><BR>-- <BR>Regards,<BR>Amit =
Bhandari</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_008E_01C7B89A.74A1E5B0--

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net