It seems that if I add the field through outlook maually it creats a new
schema, if I then try to do the same thing using view.xml it will add
the field to the folder view, but the field will nto work. By that I
mean I cannot select the checkbox:
Here is the line I added:
<column>\r\n\t\t<format>boolicon</format>\r\n\t\t<heading>JimSync</heading>\r\n\t\t<prop>
http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/JimSync</prop>\r\n\t\t<type>boolean</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:center</style>\r\n\t\t<displayformat>3</displayformat>\r\n\t</column>
and below the is the entire xml.maybe this is b/c I do not add the field
first to the folder, but I am not sure how to do that.
view.XML = "<?xml version=\"1.0\"?>\r\n<view
type=\"table\">\r\n\t<viewname>My
View</viewname>\r\n\t<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;font-style:normal;font-weight:normal;font-size:8pt;color:Black;font-charset:0</viewstyle>\r\n\t<viewtime>212659370</viewtime>\r\n\t<linecolor>8421504</linecolor>\r\n\t<linestyle>3</linestyle>\r\n\t<gridlines>1</gridlines>\r\n\t<autosizing>0</autosizing>\r\n\t<newitemrow>1</newitemrow>\r\n\t<incelledit>1</incelledit>\r\n\t<usequickflags>0</usequickflags>\r\n\t<collapsestate></collapsestate>\r\n\t<rowstyle>background-color:#FFFFFF</rowstyle>\r\n\t<headerstyle>background-color:#D3D3D3</headerstyle>\r\n\t<previewstyle>color:Blue</previewstyle>\r\n\t<arrangement>\r\n\t\t<autogroup>0</autogroup>\r\n\t\t<collapseclient></collapseclient>\r\n\t</arrangement>\r\n\t<column>\r\n\t\t<name>HREF</name>\r\n\t\t<prop>DAV:href</prop>\r\n\t\t<checkbox>1</checkbox>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Full
Name</heading>\r\n\t\t<prop>urn:schemas:contacts:cn</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Account</heading>\r\n\t\t<prop>urn:schemas:contacts:account</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Title</heading>\r\n\t\t<prop>urn:schemas:contacts
ersonaltitle</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Department</heading>\r\n\t\t<prop>urn:schemas:contacts:department</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Birthday</heading>\r\n\t\t<prop>urn:schemas:contacts:bday</prop>\r\n\t\t<type>datetime</type>\r\n\t\t<width
50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>"+
"\r\n\t\t<format>MMMM d,
yyyy</format>\r\n\t\t<displayformat>5</displayformat>\r\n\t\t<bestfitdate>0</bestfitdate>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Manager's
Name</heading>\r\n\t\t<prop>urn:schemas:contacts:manager</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Business
Phone</heading>\r\n\t\t<prop>urn:schemas:contacts
fficetelephonenumber</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Business</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Mobile
Phone</heading>\r\n\t\t<prop>
http://schemas.microsoft.com/mapi/proptag/0x3a1c001f</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Mobile</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Home
Phone</heading>\r\n\t\t<prop>urn:schemas:contacts:homePhone</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Home</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Business
Fax</heading>\r\n\t\t<prop>urn:schemas:contacts:facsimiletelephonenumber</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Other
Phone</heading>\r\n\t\t<prop>urn:schemas:contacts
therTelephone</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Other</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Assistant's
Name</heading>\r\n\t\t<prop>urn:schemas:contacts:secretarycn</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Assistant's
Phone</heading>\r\n\t\t<prop>"+
"urn:schemas:contacts:secretaryphone</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Assistant</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Business
Address</heading>\r\n\t\t<prop>urn:schemas:contacts:workaddress</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Business</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>Other
Address</heading>\r\n\t\t<prop>urn:schemas:contacts
therpostaladdress</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t\t<shortheading>Other</shortheading>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>E-mail</heading>\r\n\t\t<prop>
http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/8084001f</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<heading>E-mail
2</heading>\r\n\t\t<prop>
http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/8094001f</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<column>\r\n\t\t<format>boolicon</format>\r\n\t\t<heading>JimSync</heading>\r\n\t\t<prop>
http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/JimSync</prop>\r\n\t\t<type>boolean</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:center</style>\r\n\t\t<displayformat>3</displayformat>\r\n\t</column>\r\n\t"+
"<column>\r\n\t\t<heading>Customer
ID</heading>\r\n\t\t<prop>urn:schemas:contacts:customerid</prop>\r\n\t\t<type>string</type>\r\n\t\t<width>50</width>\r\n\t\t<style>padding-left:3px;;text-align:left</style>\r\n\t</column>\r\n\t<orderby>\r\n\t\t<order>\r\n\t\t\t<heading>File
As</heading>\r\n\t\t\t<prop>urn:schemas:contacts:fileas</prop>\r\n\t\t\t<type>string</type>\r\n\t\t\t<sort>asc</sort>\r\n\t\t</order>\r\n\t</orderby>\r\n\t<multiline>\r\n\t\t<width>0</width>\r\n\t</multiline>\r\n\t<groupbydefault>0</groupbydefault>\r\n\t<previewpane>\r\n\t\t<markasread>0</markasread>\r\n\t</previewpane>\r\n\t</column>\r\n</view>\r\n";