Creating Form Regions with more than one page

Status
Not open for further replies.
E

escamoteur

Hi,

I already customized Outlook inspectors with full custom form regions sucessfully.

What I don't know is how do I add a second page to it, like in an Contacts Inspector the "Details" page so that it can be selected

and displayed by the Ribbon->Display Group?

(Outlook 2007, COM-Addin, c#)

Best

Tom
 
K

Ken Slovak - [MVP - Outlook]

Please clarify, do you want to add 2 separate form regions or learn how to

add 1? How are you adding form regions now?

"escamoteur" <mail@burkharts.net> wrote in message

news:50CD4A1B-32AB-4968-902B-38A989493DEF@microsoft.com...
> Hi,

> I already customized Outlook inspectors with full custom form regions
> sucessfully.

> What I don't know is how do I add a second page to it, like in an Contacts
> Inspector the "Details" page so that it can be selected and displayed by
> the Ribbon->Display Group?

> (Outlook 2007, COM-Addin, c#)

> Best
> Tom
 
E

escamoteur

If you take e.g. the standard Inspector for Contacts, you have a "General" and a "Details" page and you can switch between them by

the Ribbon.

I want something similiar.

I create my Formregion using GetFormRegionStorage. This works fine. I design the Formregion with Outlook Formdesigner.

I hope you knoe understand better what I mean.

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:udTeGiA0KHA.4384@TK2MSFTNGP06.phx.gbl...
> Please clarify, do you want to add 2 separate form regions or learn how to add 1? How are you adding form regions now?

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message news:50CD4A1B-32AB-4968-902B-38A989493DEF@microsoft.com...
> > Hi,
>

>> I already customized Outlook inspectors with full custom form regions sucessfully.
>

>> What I don't know is how do I add a second page to it, like in an Contacts Inspector the "Details" page so that it can be
> > selected and displayed by the Ribbon->Display Group?
>

>> (Outlook 2007, COM-Addin, c#)
>

>> Best
> > Tom

>
 
K

Ken Slovak - [MVP - Outlook]

For what you want you need a separate form region. That's what they're

called. You set that up in the form region XML. You can google for "Outlook

separate form region" and see examples for various platforms.

"escamoteur" <mail@burkharts.net> wrote in message

news:%23CuXbqA0KHA.2552@TK2MSFTNGP04.phx.gbl...
> If you take e.g. the standard Inspector for Contacts, you have a "General"
> and a "Details" page and you can switch between them by the Ribbon.

> I want something similiar.

> I create my Formregion using GetFormRegionStorage. This works fine. I
> design the Formregion with Outlook Formdesigner.

> I hope you knoe understand better what I mean.

> Tom
 
E

escamoteur

So far I use a Replace-All Formregion with the XML

<?xml version="1.0"?
<FormRegion xmlns="http://schemas.microsoft.com/office/outlook/12/formregion.xsd"
<!-- Internal name <name>BusinessOpportunity</name
<!-- Display name <title>Booking Opportunity</title
<!-- Additive adjoining form region <formRegionType>replaceAll</formRegionType
<!-- Outlook form region file is in the current folder relative to the location of contoso.xml <!--<layoutFile>c:\Entwicklung\ArtistsOrganizer\Booking.ofs</layoutFile><addin>OrganizerAddIn.Connect</addin
<!-- Display form region when inspector is in the Reading Pane <showPreview>false</showPreview
<!-- Version of form region <version>1.0</version
</FormRegion
Can I add a sparate form region to this?

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:OLZOI2A0KHA.1236@TK2MSFTNGP06.phx.gbl...
> For what you want you need a separate form region. That's what they're
> called. You set that up in the form region XML. You can google for "Outlook
> separate form region" and see examples for various platforms.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:%23CuXbqA0KHA.2552@TK2MSFTNGP04.phx.gbl...
> > If you take e.g. the standard Inspector for Contacts, you have a "General"
> > and a "Details" page and you can switch between them by the Ribbon.
>

>> I want something similiar.
>

>> I create my Formregion using GetFormRegionStorage. This works fine. I
> > design the Formregion with Outlook Formdesigner.
>

>> I hope you knoe understand better what I mean.
>

>> Tom

>
 
E

escamoteur

What I don't understand is, GetFormRegionStorage can only return on .ofs File, how do I handle additional Separate Form regions for

the message class that all are displayed in one inspector?

Thanks Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:OLZOI2A0KHA.1236@TK2MSFTNGP06.phx.gbl...
> For what you want you need a separate form region. That's what they're called. You set that up in the form region XML. You can
> google for "Outlook separate form region" and see examples for various platforms.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message news:%23CuXbqA0KHA.2552@TK2MSFTNGP04.phx.gbl...
> > If you take e.g. the standard Inspector for Contacts, you have a "General" and a "Details" page and you can switch between them
> > by the Ribbon.
>

>> I want something similiar.
>

>> I create my Formregion using GetFormRegionStorage. This works fine. I design the Formregion with Outlook Formdesigner.
>

>> I hope you knoe understand better what I mean.
>

>> Tom

>
 
K

Ken Slovak - [MVP - Outlook]

I believe a replaceall region is not compatible with a separate region, but

I've never tried it. Try it and see.

"escamoteur" <mail@burkharts.net> wrote in message

news:8FD72084-3561-419F-B792-52D642C90BF2@microsoft.com...
> So far I use a Replace-All Formregion with the XML

> <?xml version="1.0"?
> <FormRegion
> xmlns="http://schemas.microsoft.com/office/outlook/12/formregion.xsd"
> <!-- Internal name > <name>BusinessOpportunity</name
> <!-- Display name > <title>Booking Opportunity</title
> <!-- Additive adjoining form region > <formRegionType>replaceAll</formRegionType
> <!-- Outlook form region file is in the current folder relative to the
> location of contoso.xml > <!--<layoutFile>c:\Entwicklung\ArtistsOrganizer\Booking.ofs</layoutFile>> <addin>OrganizerAddIn.Connect</addin
> <!-- Display form region when inspector is in the Reading Pane > <showPreview>false</showPreview
> <!-- Version of form region > <version>1.0</version
> </FormRegion
> Can I add a sparate form region to this?
> Tom
 
K

Ken Slovak - [MVP - Outlook]

In one OFS file?

"escamoteur" <mail@burkharts.net> wrote in message

news:6BBCF59E-0022-424C-B7E5-C4469CA15DE5@microsoft.com...
> What I don't understand is, GetFormRegionStorage can only return on .ofs
> File, how do I handle additional Separate Form regions for the message
> class that all are displayed in one inspector?

> Thanks Tom
 
E

escamoteur

According to Randy Byrne's book it's possible. unfortunately he does not tell how.

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:ONIbQkB0KHA.2072@TK2MSFTNGP02.phx.gbl...
> I believe a replaceall region is not compatible with a separate region, but
> I've never tried it. Try it and see.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:8FD72084-3561-419F-B792-52D642C90BF2@microsoft.com...
> > So far I use a Replace-All Formregion with the XML
>

>> <?xml version="1.0"?
>> <FormRegion
> > xmlns="http://schemas.microsoft.com/office/outlook/12/formregion.xsd"
>> <!-- Internal name >> <name>BusinessOpportunity</name
>> <!-- Display name >> <title>Booking Opportunity</title
>> <!-- Additive adjoining form region >> <formRegionType>replaceAll</formRegionType
>> <!-- Outlook form region file is in the current folder relative to the
> > location of contoso.xml >> <!--<layoutFile>c:\Entwicklung\ArtistsOrganizer\Booking.ofs</layoutFile>>> <addin>OrganizerAddIn.Connect</addin
>> <!-- Display form region when inspector is in the Reading Pane >> <showPreview>false</showPreview
>> <!-- Version of form region >> <version>1.0</version
>> </FormRegion
>
>> Can I add a sparate form region to this?
> > Tom

>
 
E

escamoteur

How can I place to regions in one OFS File?
<kenslovak@mvps.org> schrieb im Newsbeitrag news:#F7VSkB0KHA.2072@TK2MSFTNGP02.phx.gbl...
> In one OFS file?

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:6BBCF59E-0022-424C-B7E5-C4469CA15DE5@microsoft.com...
> > What I don't understand is, GetFormRegionStorage can only return on .ofs
> > File, how do I handle additional Separate Form regions for the message
> > class that all are displayed in one inspector?
>

>> Thanks Tom

>
 
K

Ken Slovak - [MVP - Outlook]

You can use one OFS per form region page or set up the regions using project

resources. When you get called for the form region storage or manifest you

supply

whatever is called for based on the form region name.

"escamoteur" <mail@burkharts.net> wrote in message

news:uH4MJtB0KHA.3572@TK2MSFTNGP02.phx.gbl...
> How can I place to regions in one OFS File?
 
K

Ken Slovak - [MVP - Outlook]

Not, that isn't clear from his book, I just checked. My guess is you'd use

different XML for each page and supply what's called for by name in the

GetFormRegionStorage callback, but that's just a guess. I haven't done all

that much with native form regions other than for my book.

"escamoteur" <mail@burkharts.net> wrote in message

news:u$7gzsB0KHA.2552@TK2MSFTNGP04.phx.gbl...
> According to Randy Byrne's book it's possible. unfortunately he does not
> tell how.
> Tom
 
E

escamoteur

I was also thinking in this direction.

Do you think I will then need a separate Class for every form region that I register in the XML

like:

FormRegion1.xml

<addin>OrganizerAddIn.Connect</addin
FormRegion2.xml

<addin>OrganizerAddIn.Connect2</addin
Best

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:uk2aERD0KHA.2512@TK2MSFTNGP05.phx.gbl...
> Not, that isn't clear from his book, I just checked. My guess is you'd use
> different XML for each page and supply what's called for by name in the
> GetFormRegionStorage callback, but that's just a guess. I haven't done all
> that much with native form regions other than for my book.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:u$7gzsB0KHA.2552@TK2MSFTNGP04.phx.gbl...
> > According to Randy Byrne's book it's possible. unfortunately he does not
> > tell how.
> > Tom

>
 
K

Ken Slovak - [MVP - Outlook]

No, I don't think so. I think it would work all in one class because the

names would be different and so you could handle callbacks from the

different pages that way.

"escamoteur" <mail@burkharts.net> wrote in message

news:74C187C5-87BE-41F6-BD3F-5CDE0848A99E@microsoft.com...
> I was also thinking in this direction.
> Do you think I will then need a separate Class for every form region that
> I register in the XML

> like:

> FormRegion1.xml
> <addin>OrganizerAddIn.Connect</addin
> FormRegion2.xml
> <addin>OrganizerAddIn.Connect2</addin
> Best
> Tom
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
E Creating Form Regions with more than one page Outlook VBA and Custom Forms 13
N Creating a button or link to a form in the Organizational Forms Library Outlook VBA and Custom Forms 3
Y Creating custom appointment request form with multiple mail recipients Outlook VBA and Custom Forms 5
Fozzie Bear Creating Custom Meeting Form Outlook VBA and Custom Forms 6
witzker Outlook bug when creating a user defined contact form? Using Outlook 1
F Creating Meeting Request Custom form and distribute it to domain user HELP!!! Using Outlook 0
F Creating Meeting Request Custom form and distribute it to domain user HELP!!! Using Outlook 0
A Creating a sign up form in Outlook 2010 Using Outlook 1
A Help creating custom Contacts form - what type is 'Email' control? Outlook VBA and Custom Forms 1
M Creating a form....going from one exchange server to another... Outlook VBA and Custom Forms 1
J Creating form in Outlook 2007 Outlook VBA and Custom Forms 1
N Help creating a VBA macro with conditional formatting to change the font color of all external emails to red Outlook VBA and Custom Forms 5
G Event when creating task from mailitem Outlook VBA and Custom Forms 2
T Outlook creating unwanted tasks in Tasks and Todo from emails Using Outlook 1
Fozzie Bear Outlook 2016 Creating a shared local Contacts folder Using Outlook 2
R Creating a user defined function Outlook VBA and Custom Forms 3
M Creating an RSS Feed **FROM** Outlook 2013 Calendar. Using Outlook 5
O How to prevent CC from showing when creating a new mail? Using Outlook 1
B Creating an email with the list of tasks Outlook VBA and Custom Forms 0
L Creating drafts when I thought I was sending Using Outlook 1
R Would creating a new profile cause Outlook to download all the old mails from the server? Using Outlook 1
A Creating Progress Bar or Status Bar Update Outlook VBA and Custom Forms 0
T Outlook creating a folder named: "Unwanted" Using Outlook 3
M Outlook 2007 Contacts Glitch: Creating a new email Using Outlook 1
Liza Creating a rule in outlook to filter messages Using Outlook 0
A Are categories still recommended for creating local distribution lists? Using Outlook 3
S Creating Email - Selecting Pre-Defined Text Using Outlook 2
D Creating an outlook session from Access vba but run silently. With A specific profile Outlook VBA and Custom Forms 1
M Creating Outlook Appointments from Excel Cells Outlook VBA and Custom Forms 1
N Creating New Profile Using Outlook 0
M creating email from contact file = 3 emails in To field Using Outlook 3
P Recover / Extract Rules from standalone PST file creating RWZ file Using Outlook 2
A Creating an outlook rule to forward an email with a specific message Using Outlook 1
I Creating meeting invite with disabled tentative button Outlook VBA and Custom Forms 5
E Creating email templates for organizational use Using Outlook 0
N Creating or changing the main new mail message template in Outlook 2010 Using Outlook 2
D Creating custom view with VBA Outlook VBA and Custom Forms 2
J Outlook creating unwanted rule on its own Using Outlook 1
R Creating a Room Mailbox with Exchange Online Outlook VBA and Custom Forms 0
A Creating a rule on “Deleted items” folder Using Outlook 1
CMG73 Creating templates with predefined subject and CC Using Outlook 1
G Creating Contact Sub Folders Using Outlook 2
Rupert Dragwater creating gmail account in Outlook 2013 Using Outlook 7
nathandavies Creating a Select Case for a directory of folders Outlook VBA and Custom Forms 1
2 creating custom stationery Using Outlook 2
A Help creating macro for conditional formatting settings Using Outlook 8
U Creating a (This computer only) folder within an IMAP account directory Using Outlook 1
A Creating archive rule on the clients by script/ Outlook VBA and Custom Forms 3
J Creating a URL from a message body excerpt before forwarding Using Outlook 2
B Need Help Creating Email Based on Subject w Address in Body Outlook VBA and Custom Forms 1

Similar threads

Top