Outlook 2007 and formregion

  • Thread starter Thread starter sonbaty1
  • Start date Start date
S

sonbaty1

Hi,

I want to make a new default form for Contacts.
I make a new formregion in outlook with name Test
If I use in xml file formRegionType following:
adjoining work ok
Separate work ok
If I use a Replacement then the default page its not overwriten with me
default page. This not work
Why not work the Replacement? What it wrong in me config?

Next question:
I can not use in me formregion button for check name...
I become following: In this tab you can not use a chcek name...
How can I use the chcek name button from first page into me page?

registry file:
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions]

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\IPM.Contact]
"Test"="C:\\Develop\\Outlook\\Test1\\Test.xml"

xml file:
<?xml version="1.0" encoding="utf-8"?>
<FormRegion xmlns="
http://schemas.microsoft.com/office/outlook/12/formregion.xsd">
<name>CategoriesRegion</name>
<title>Test</title>
<formRegionType>Replacement</formRegionType>
<showCompose>true</showCompose>
<showRead>true</showRead>
<showPreview>true</showPreview>
<hidden>false</hidden>
<layoutFile>Test.ofs</layoutFile>
<version>1.0</version>
</FormRegion>


Thanks for support
 
The correct value to use is "replace" (or "replaceAll").

Download the XML schema for form regions, ribbons, etc. from the Office
Developer Web site on MSDN to see what correct XML for form regions is.
 
Thanks for answer
I use a replaceAll but its the same no change for me.
Still its the default Page from Outlook not me default Page

Ken Slovak - said:
The correct value to use is "replace" (or "replaceAll").

Download the XML schema for form regions, ribbons, etc. from the Office
Developer Web site on MSDN to see what correct XML for form regions is.




sonbaty1 said:
Hi,

I want to make a new default form for Contacts.
I make a new formregion in outlook with name Test
If I use in xml file formRegionType following:
adjoining work ok
Separate work ok
If I use a Replacement then the default page its not overwriten with me
default page. This not work
Why not work the Replacement? What it wrong in me config?

Next question:
I can not use in me formregion button for check name...
I become following: In this tab you can not use a chcek name...
How can I use the chcek name button from first page into me page?

registry file:
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions]

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\IPM.Contact]
"Test"="C:\\Develop\\Outlook\\Test1\\Test.xml"

xml file:
<?xml version="1.0" encoding="utf-8"?>
<FormRegion xmlns="
http://schemas.microsoft.com/office/outlook/12/formregion.xsd">
<name>CategoriesRegion</name>
<title>Test</title>
<formRegionType>Replacement</formRegionType>
<showCompose>true</showCompose>
<showRead>true</showRead>
<showPreview>true</showPreview>
<hidden>false</hidden>
<layoutFile>Test.ofs</layoutFile>
<version>1.0</version>
</FormRegion>


Thanks for support
 
Looking at your XML more closely there are quite a few errors in your tags.
For example these tags on the left that you're using should be replaced with
the tags on the right:

title formRegionName
showCompose showInspectorCompose
showPreview showReadingPane
showRead showInspectorRead

You really need to download the form region XML schema and review it to make
sure what you supply uses correct syntax.
 
Back
Top