You are here: Office-Outlook.com  / Outlook Forum

Can't publish custom form to Organizational Forms Library

Home » Outlook addins and plugins development » Developer Outlook forms
Can't publish custom form to Organizational Forms Library [message #126134] Mon, 19 February 2007 10:48 Go to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Hello.

We are running Exchange Server 2003. My Outlook client is 2007.

I'm trying to create Readonly appointments.

I created a new Appointment form from "Appointment" in "Standard Forms
Library" and want to publish it to the OFL.

When I select "Publish form as" and select "Organizational Forms Library",
give it a display name and form name, and click "Publish" I get the
following error:

"Cannot publish the form because of a MAPI error. The operation failed."

I click "OK" and then "Publish" again, and get a different error: "Cannot
publish the form because of a MAPI error. You do not have permission to
create a message in this folder".

But I do have permission: I logged on to our Exchange server as
Adminsitrator, opened the Exchange System Manager, expanded Administrative
Groups, expanded Folders, right clicked Folders and selected View System
Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
Permissions list giving my ID "Publishing Editor" authority. I then
Saved/Applied everything.

So I'm a little confused.

Any ideas?

Thanks in advance,

Mike
Re: Can't publish custom form to Organizational Forms Library [message #126207] Mon, 19 February 2007 12:31 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
If you have Owner acess, then you should be able to delete through the Forms Manager interface -- Tools | Options | Other | Advanced Options | Custom Forms | Manage Forms.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:O5Q1FoFVHHA.2256@TK2MSFTNGP02.phx.gbl...
> Ok, got it to publish. I had to give my ID "Owner" authority.
>
> Next question, how do I delete the form that I put in there? It was a test
> form and I want to delete it.
>
> Thanks again,
>
> Mike
>
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Hello.
>>
>> We are running Exchange Server 2003. My Outlook client is 2007.
>>
>> I'm trying to create Readonly appointments.
>>
>> I created a new Appointment form from "Appointment" in "Standard Forms
>> Library" and want to publish it to the OFL.
>>
>> When I select "Publish form as" and select "Organizational Forms Library",
>> give it a display name and form name, and click "Publish" I get the
>> following error:
>>
>> "Cannot publish the form because of a MAPI error. The operation failed."
>>
>> I click "OK" and then "Publish" again, and get a different error: "Cannot
>> publish the form because of a MAPI error. You do not have permission to
>> create a message in this folder".
>>
>> But I do have permission: I logged on to our Exchange server as
>> Adminsitrator, opened the Exchange System Manager, expanded Administrative
>> Groups, expanded Folders, right clicked Folders and selected View System
>> Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
>> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
>> Permissions list giving my ID "Publishing Editor" authority. I then
>> Saved/Applied everything.
>>
>> So I'm a little confused.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Mike
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #126536] Tue, 20 February 2007 06:48 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
Have you looked at the new form regions feature in Outlook 2007, which can be incorporated into add-ins? The next version of Visual Studio will include a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level security; http://msdn.microsoft.com/exchange/; discussions are in the microsoft.public.exchange.development newsgroup. There's no Outlook API for item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar of
> each employee that is required to attend. The employee should not be able to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Re: Can't publish custom form to Organizational Forms Library [message #126662] Tue, 20 February 2007 09:52 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
look. From what I know I don't see that this helps me with accessing
RDBMS's, though I could be mistaken?


"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
Have you looked at the new form regions feature in Outlook 2007, which can
be incorporated into add-ins? The next version of Visual Studio will include
a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level
security; http://msdn.microsoft.com/exchange/; discussions are in the
microsoft.public.exchange.development newsgroup. There's no Outlook API for
item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days
> seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar
> of
> each employee that is required to attend. The employee should not be able
> to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Re: Can't publish custom form to Organizational Forms Library [message #126664] Tue, 20 February 2007 09:57 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
Access to your RDBMS isn't an Outlook issue, per se. You'll need to use whatever interface it supports. There are ODBC drivers for most, which means you can use ADO.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:OJ7KyfRVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
> look. From what I know I don't see that this helps me with accessing
> RDBMS's, though I could be mistaken?
>
>
> "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
> news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
> Have you looked at the new form regions feature in Outlook 2007, which can
> be incorporated into add-ins? The next version of Visual Studio will include
> a design component for form regions.
>
> You'll need to consult the Exchange SDK for information on item-level
> security; http://msdn.microsoft.com/exchange/; discussions are in the
> microsoft.public.exchange.development newsgroup. There's no Outlook API for
> item-level security.
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>>
>> One other question, programming forms using script and VBA these days
>> seems
>> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
>> doesn't even look like Outlook 2007 has the ability to program forms using
>> .Net. This would make my current project a lot easier.
>>
>> I have to create Readonly appointments: A manager creates a Mandatory
>> Meeting appointment (my new appointment form) and adds it to the calendar
>> of
>> each employee that is required to attend. The employee should not be able
>> to
>> delete or change the appointment, but I don't want to lock the manager out
>> from deleting/changing it, or any other manager/administrator with the
>> appropriate credentials. Unfortunately the "appropriate credentials" are
>> located in an RDBMS. I can't imagine that I can (or should) access the
>> database in script, so I'm really uncertain about how to handle this.
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #126711] Tue, 20 February 2007 10:19 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
I understand data access is not an Outlook issue, but Microsoft is
integrating .Net (and XML for that matter) into nearly every product they
have. I would have liked to have seen native .Net support in Outlook (and
Excel, etc). VBA and script is old news.

Lotus Notes/Domino has always had a good programming architecture, though it
was script (LotusScript) in the beginning and Java came later. As I
understand it Java is supported throughout that product these days. I would
love to see .Net fully supported throughout the Office product and not just
in the form of Add-ins and Interop assemblies. Exchange Server 2007 has made
a jump in that direction with the Web Services layer. But wouldn't it be
nice to be able to design a new form, click "View Code", and then have a
choice between Script (for backwards compatability), VB.Net , C# or whatever
..Net language is installed on the developer's machine? Bliss I tell you,
Bliss.

As for ODBC, Ugh. It ranks right up there with VBA and script.

Just my opinion, of course.

Thanks for your input.

"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:uvS3UiRVHHA.4964@TK2MSFTNGP06.phx.gbl...
Access to your RDBMS isn't an Outlook issue, per se. You'll need to use
whatever interface it supports. There are ODBC drivers for most, which means
you can use ADO.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:OJ7KyfRVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
> look. From what I know I don't see that this helps me with accessing
> RDBMS's, though I could be mistaken?
>
>
> "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
> news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
> Have you looked at the new form regions feature in Outlook 2007, which can
> be incorporated into add-ins? The next version of Visual Studio will
> include
> a design component for form regions.
>
> You'll need to consult the Exchange SDK for information on item-level
> security; http://msdn.microsoft.com/exchange/; discussions are in the
> microsoft.public.exchange.development newsgroup. There's no Outlook API
> for
> item-level security.
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>>
>> One other question, programming forms using script and VBA these days
>> seems
>> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
>> doesn't even look like Outlook 2007 has the ability to program forms
>> using
>> .Net. This would make my current project a lot easier.
>>
>> I have to create Readonly appointments: A manager creates a Mandatory
>> Meeting appointment (my new appointment form) and adds it to the calendar
>> of
>> each employee that is required to attend. The employee should not be able
>> to
>> delete or change the appointment, but I don't want to lock the manager
>> out
>> from deleting/changing it, or any other manager/administrator with the
>> appropriate credentials. Unfortunately the "appropriate credentials" are
>> located in an RDBMS. I can't imagine that I can (or should) access the
>> database in script, so I'm really uncertain about how to handle this.
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #132246] Mon, 19 February 2007 11:12 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Ok, got it to publish. I had to give my ID "Owner" authority.

Next question, how do I delete the form that I put in there? It was a test
form and I want to delete it.

Thanks again,

Mike


"MikeL" <mikelpez@optonline.net> wrote in message
news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Hello.
>
> We are running Exchange Server 2003. My Outlook client is 2007.
>
> I'm trying to create Readonly appointments.
>
> I created a new Appointment form from "Appointment" in "Standard Forms
> Library" and want to publish it to the OFL.
>
> When I select "Publish form as" and select "Organizational Forms Library",
> give it a display name and form name, and click "Publish" I get the
> following error:
>
> "Cannot publish the form because of a MAPI error. The operation failed."
>
> I click "OK" and then "Publish" again, and get a different error: "Cannot
> publish the form because of a MAPI error. You do not have permission to
> create a message in this folder".
>
> But I do have permission: I logged on to our Exchange server as
> Adminsitrator, opened the Exchange System Manager, expanded Administrative
> Groups, expanded Folders, right clicked Folders and selected View System
> Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
> Permissions list giving my ID "Publishing Editor" authority. I then
> Saved/Applied everything.
>
> So I'm a little confused.
>
> Any ideas?
>
> Thanks in advance,
>
> Mike
>
Re: Can't publish custom form to Organizational Forms Library [message #132247] Mon, 19 February 2007 12:31 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
If you have Owner acess, then you should be able to delete through the Forms Manager interface -- Tools | Options | Other | Advanced Options | Custom Forms | Manage Forms.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:O5Q1FoFVHHA.2256@TK2MSFTNGP02.phx.gbl...
> Ok, got it to publish. I had to give my ID "Owner" authority.
>
> Next question, how do I delete the form that I put in there? It was a test
> form and I want to delete it.
>
> Thanks again,
>
> Mike
>
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Hello.
>>
>> We are running Exchange Server 2003. My Outlook client is 2007.
>>
>> I'm trying to create Readonly appointments.
>>
>> I created a new Appointment form from "Appointment" in "Standard Forms
>> Library" and want to publish it to the OFL.
>>
>> When I select "Publish form as" and select "Organizational Forms Library",
>> give it a display name and form name, and click "Publish" I get the
>> following error:
>>
>> "Cannot publish the form because of a MAPI error. The operation failed."
>>
>> I click "OK" and then "Publish" again, and get a different error: "Cannot
>> publish the form because of a MAPI error. You do not have permission to
>> create a message in this folder".
>>
>> But I do have permission: I logged on to our Exchange server as
>> Adminsitrator, opened the Exchange System Manager, expanded Administrative
>> Groups, expanded Folders, right clicked Folders and selected View System
>> Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
>> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
>> Permissions list giving my ID "Publishing Editor" authority. I then
>> Saved/Applied everything.
>>
>> So I'm a little confused.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Mike
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #132248] Tue, 20 February 2007 02:06 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Thanks, Sue.

Not sure why I needed "Owner" authority to publish forms though. The only
thing that I can think of is that Administrator had Owner authority, which
perhaps in some way blocked the Publishing Editor authority, or knocked it
down a peg.

One other question, programming forms using script and VBA these days seems
a bit archaic. Where's the support for .Net, other than for Add-Ins? It
doesn't even look like Outlook 2007 has the ability to program forms using
..Net. This would make my current project a lot easier.

I have to create Readonly appointments: A manager creates a Mandatory
Meeting appointment (my new appointment form) and adds it to the calendar of
each employee that is required to attend. The employee should not be able to
delete or change the appointment, but I don't want to lock the manager out
from deleting/changing it, or any other manager/administrator with the
appropriate credentials. Unfortunately the "appropriate credentials" are
located in an RDBMS. I can't imagine that I can (or should) access the
database in script, so I'm really uncertain about how to handle this.

I'll take any suggestions you may have :)

Thanks again,

Mike

"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:%23QR89ZGVHHA.972@TK2MSFTNGP04.phx.gbl...
If you have Owner acess, then you should be able to delete through the Forms
Manager interface -- Tools | Options | Other | Advanced Options | Custom
Forms | Manage Forms.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:O5Q1FoFVHHA.2256@TK2MSFTNGP02.phx.gbl...
> Ok, got it to publish. I had to give my ID "Owner" authority.
>
> Next question, how do I delete the form that I put in there? It was a test
> form and I want to delete it.
>
> Thanks again,
>
> Mike
>
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Hello.
>>
>> We are running Exchange Server 2003. My Outlook client is 2007.
>>
>> I'm trying to create Readonly appointments.
>>
>> I created a new Appointment form from "Appointment" in "Standard Forms
>> Library" and want to publish it to the OFL.
>>
>> When I select "Publish form as" and select "Organizational Forms
>> Library",
>> give it a display name and form name, and click "Publish" I get the
>> following error:
>>
>> "Cannot publish the form because of a MAPI error. The operation failed."
>>
>> I click "OK" and then "Publish" again, and get a different error: "Cannot
>> publish the form because of a MAPI error. You do not have permission to
>> create a message in this folder".
>>
>> But I do have permission: I logged on to our Exchange server as
>> Adminsitrator, opened the Exchange System Manager, expanded
>> Administrative
>> Groups, expanded Folders, right clicked Folders and selected View System
>> Folders. I then clicked on EFORMS REGISTRY and right clicked
>> "Organization
>> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
>> Permissions list giving my ID "Publishing Editor" authority. I then
>> Saved/Applied everything.
>>
>> So I'm a little confused.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Mike
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #132250] Tue, 20 February 2007 06:48 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
Have you looked at the new form regions feature in Outlook 2007, which can be incorporated into add-ins? The next version of Visual Studio will include a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level security; http://msdn.microsoft.com/exchange/; discussions are in the microsoft.public.exchange.development newsgroup. There's no Outlook API for item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar of
> each employee that is required to attend. The employee should not be able to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Re: Can't publish custom form to Organizational Forms Library [message #132251] Tue, 20 February 2007 09:52 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
look. From what I know I don't see that this helps me with accessing
RDBMS's, though I could be mistaken?


"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
Have you looked at the new form regions feature in Outlook 2007, which can
be incorporated into add-ins? The next version of Visual Studio will include
a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level
security; http://msdn.microsoft.com/exchange/; discussions are in the
microsoft.public.exchange.development newsgroup. There's no Outlook API for
item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days
> seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar
> of
> each employee that is required to attend. The employee should not be able
> to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Re: Can't publish custom form to Organizational Forms Library [message #132253] Tue, 20 February 2007 09:57 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
Access to your RDBMS isn't an Outlook issue, per se. You'll need to use whatever interface it supports. There are ODBC drivers for most, which means you can use ADO.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:OJ7KyfRVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
> look. From what I know I don't see that this helps me with accessing
> RDBMS's, though I could be mistaken?
>
>
> "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
> news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
> Have you looked at the new form regions feature in Outlook 2007, which can
> be incorporated into add-ins? The next version of Visual Studio will include
> a design component for form regions.
>
> You'll need to consult the Exchange SDK for information on item-level
> security; http://msdn.microsoft.com/exchange/; discussions are in the
> microsoft.public.exchange.development newsgroup. There's no Outlook API for
> item-level security.
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>>
>> One other question, programming forms using script and VBA these days
>> seems
>> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
>> doesn't even look like Outlook 2007 has the ability to program forms using
>> .Net. This would make my current project a lot easier.
>>
>> I have to create Readonly appointments: A manager creates a Mandatory
>> Meeting appointment (my new appointment form) and adds it to the calendar
>> of
>> each employee that is required to attend. The employee should not be able
>> to
>> delete or change the appointment, but I don't want to lock the manager out
>> from deleting/changing it, or any other manager/administrator with the
>> appropriate credentials. Unfortunately the "appropriate credentials" are
>> located in an RDBMS. I can't imagine that I can (or should) access the
>> database in script, so I'm really uncertain about how to handle this.
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #132254] Tue, 20 February 2007 10:19 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
I understand data access is not an Outlook issue, but Microsoft is
integrating .Net (and XML for that matter) into nearly every product they
have. I would have liked to have seen native .Net support in Outlook (and
Excel, etc). VBA and script is old news.

Lotus Notes/Domino has always had a good programming architecture, though it
was script (LotusScript) in the beginning and Java came later. As I
understand it Java is supported throughout that product these days. I would
love to see .Net fully supported throughout the Office product and not just
in the form of Add-ins and Interop assemblies. Exchange Server 2007 has made
a jump in that direction with the Web Services layer. But wouldn't it be
nice to be able to design a new form, click "View Code", and then have a
choice between Script (for backwards compatability), VB.Net , C# or whatever
..Net language is installed on the developer's machine? Bliss I tell you,
Bliss.

As for ODBC, Ugh. It ranks right up there with VBA and script.

Just my opinion, of course.

Thanks for your input.

"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:uvS3UiRVHHA.4964@TK2MSFTNGP06.phx.gbl...
Access to your RDBMS isn't an Outlook issue, per se. You'll need to use
whatever interface it supports. There are ODBC drivers for most, which means
you can use ADO.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:OJ7KyfRVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
> look. From what I know I don't see that this helps me with accessing
> RDBMS's, though I could be mistaken?
>
>
> "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
> news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
> Have you looked at the new form regions feature in Outlook 2007, which can
> be incorporated into add-ins? The next version of Visual Studio will
> include
> a design component for form regions.
>
> You'll need to consult the Exchange SDK for information on item-level
> security; http://msdn.microsoft.com/exchange/; discussions are in the
> microsoft.public.exchange.development newsgroup. There's no Outlook API
> for
> item-level security.
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>>
>> One other question, programming forms using script and VBA these days
>> seems
>> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
>> doesn't even look like Outlook 2007 has the ability to program forms
>> using
>> .Net. This would make my current project a lot easier.
>>
>> I have to create Readonly appointments: A manager creates a Mandatory
>> Meeting appointment (my new appointment form) and adds it to the calendar
>> of
>> each employee that is required to attend. The employee should not be able
>> to
>> delete or change the appointment, but I don't want to lock the manager
>> out
>> from deleting/changing it, or any other manager/administrator with the
>> appropriate credentials. Unfortunately the "appropriate credentials" are
>> located in an RDBMS. I can't imagine that I can (or should) access the
>> database in script, so I'm really uncertain about how to handle this.
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #133673] Mon, 19 February 2007 11:12 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Ok, got it to publish. I had to give my ID "Owner" authority.

Next question, how do I delete the form that I put in there? It was a test
form and I want to delete it.

Thanks again,

Mike


"MikeL" <mikelpez@optonline.net> wrote in message
news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
> Hello.
>
> We are running Exchange Server 2003. My Outlook client is 2007.
>
> I'm trying to create Readonly appointments.
>
> I created a new Appointment form from "Appointment" in "Standard Forms
> Library" and want to publish it to the OFL.
>
> When I select "Publish form as" and select "Organizational Forms Library",
> give it a display name and form name, and click "Publish" I get the
> following error:
>
> "Cannot publish the form because of a MAPI error. The operation failed."
>
> I click "OK" and then "Publish" again, and get a different error: "Cannot
> publish the form because of a MAPI error. You do not have permission to
> create a message in this folder".
>
> But I do have permission: I logged on to our Exchange server as
> Adminsitrator, opened the Exchange System Manager, expanded Administrative
> Groups, expanded Folders, right clicked Folders and selected View System
> Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
> Permissions list giving my ID "Publishing Editor" authority. I then
> Saved/Applied everything.
>
> So I'm a little confused.
>
> Any ideas?
>
> Thanks in advance,
>
> Mike
>
Re: Can't publish custom form to Organizational Forms Library [message #133674] Mon, 19 February 2007 12:31 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
If you have Owner acess, then you should be able to delete through the Forms Manager interface -- Tools | Options | Other | Advanced Options | Custom Forms | Manage Forms.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:O5Q1FoFVHHA.2256@TK2MSFTNGP02.phx.gbl...
> Ok, got it to publish. I had to give my ID "Owner" authority.
>
> Next question, how do I delete the form that I put in there? It was a test
> form and I want to delete it.
>
> Thanks again,
>
> Mike
>
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Hello.
>>
>> We are running Exchange Server 2003. My Outlook client is 2007.
>>
>> I'm trying to create Readonly appointments.
>>
>> I created a new Appointment form from "Appointment" in "Standard Forms
>> Library" and want to publish it to the OFL.
>>
>> When I select "Publish form as" and select "Organizational Forms Library",
>> give it a display name and form name, and click "Publish" I get the
>> following error:
>>
>> "Cannot publish the form because of a MAPI error. The operation failed."
>>
>> I click "OK" and then "Publish" again, and get a different error: "Cannot
>> publish the form because of a MAPI error. You do not have permission to
>> create a message in this folder".
>>
>> But I do have permission: I logged on to our Exchange server as
>> Adminsitrator, opened the Exchange System Manager, expanded Administrative
>> Groups, expanded Folders, right clicked Folders and selected View System
>> Folders. I then clicked on EFORMS REGISTRY and right clicked "Organization
>> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
>> Permissions list giving my ID "Publishing Editor" authority. I then
>> Saved/Applied everything.
>>
>> So I'm a little confused.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Mike
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #133675] Tue, 20 February 2007 02:06 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Thanks, Sue.

Not sure why I needed "Owner" authority to publish forms though. The only
thing that I can think of is that Administrator had Owner authority, which
perhaps in some way blocked the Publishing Editor authority, or knocked it
down a peg.

One other question, programming forms using script and VBA these days seems
a bit archaic. Where's the support for .Net, other than for Add-Ins? It
doesn't even look like Outlook 2007 has the ability to program forms using
..Net. This would make my current project a lot easier.

I have to create Readonly appointments: A manager creates a Mandatory
Meeting appointment (my new appointment form) and adds it to the calendar of
each employee that is required to attend. The employee should not be able to
delete or change the appointment, but I don't want to lock the manager out
from deleting/changing it, or any other manager/administrator with the
appropriate credentials. Unfortunately the "appropriate credentials" are
located in an RDBMS. I can't imagine that I can (or should) access the
database in script, so I'm really uncertain about how to handle this.

I'll take any suggestions you may have :)

Thanks again,

Mike

"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:%23QR89ZGVHHA.972@TK2MSFTNGP04.phx.gbl...
If you have Owner acess, then you should be able to delete through the Forms
Manager interface -- Tools | Options | Other | Advanced Options | Custom
Forms | Manage Forms.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:O5Q1FoFVHHA.2256@TK2MSFTNGP02.phx.gbl...
> Ok, got it to publish. I had to give my ID "Owner" authority.
>
> Next question, how do I delete the form that I put in there? It was a test
> form and I want to delete it.
>
> Thanks again,
>
> Mike
>
>
> "MikeL" <mikelpez@optonline.net> wrote in message
> news:%23CX9daFVHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Hello.
>>
>> We are running Exchange Server 2003. My Outlook client is 2007.
>>
>> I'm trying to create Readonly appointments.
>>
>> I created a new Appointment form from "Appointment" in "Standard Forms
>> Library" and want to publish it to the OFL.
>>
>> When I select "Publish form as" and select "Organizational Forms
>> Library",
>> give it a display name and form name, and click "Publish" I get the
>> following error:
>>
>> "Cannot publish the form because of a MAPI error. The operation failed."
>>
>> I click "OK" and then "Publish" again, and get a different error: "Cannot
>> publish the form because of a MAPI error. You do not have permission to
>> create a message in this folder".
>>
>> But I do have permission: I logged on to our Exchange server as
>> Adminsitrator, opened the Exchange System Manager, expanded
>> Administrative
>> Groups, expanded Folders, right clicked Folders and selected View System
>> Folders. I then clicked on EFORMS REGISTRY and right clicked
>> "Organization
>> Forms" in the right pane. I added my ID (not Adminsitrator) to the Client
>> Permissions list giving my ID "Publishing Editor" authority. I then
>> Saved/Applied everything.
>>
>> So I'm a little confused.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Mike
>>
>
>
Re: Can't publish custom form to Organizational Forms Library [message #133677] Tue, 20 February 2007 06:48 Go to previous messageGo to next message
suemvp
Messages: 18932
Registered: May 2006
Senior Member
Have you looked at the new form regions feature in Outlook 2007, which can be incorporated into add-ins? The next version of Visual Studio will include a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level security; http://msdn.microsoft.com/exchange/; discussions are in the microsoft.public.exchange.development newsgroup. There's no Outlook API for item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar of
> each employee that is required to attend. The employee should not be able to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Re: Can't publish custom form to Organizational Forms Library [message #133678] Tue, 20 February 2007 09:52 Go to previous messageGo to next message
MikeL[1]
Messages: 63
Registered: February 2007
Member
Thanks, Sue. I've looked briefly at Form Regions but I'll have a second
look. From what I know I don't see that this helps me with accessing
RDBMS's, though I could be mistaken?


"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:e9x7r%23PVHHA.4260@TK2MSFTNGP06.phx.gbl...
Have you looked at the new form regions feature in Outlook 2007, which can
be incorporated into add-ins? The next version of Visual Studio will include
a design component for form regions.

You'll need to consult the Exchange SDK for information on item-level
security; http://msdn.microsoft.com/exchange/; discussions are in the
microsoft.public.exchange.development newsgroup. There's no Outlook API for
item-level security.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"MikeL" <mikelpez@optonline.net> wrote in message
news:%23iWKJbNVHHA.1636@TK2MSFTNGP02.phx.gbl...
>
> One other question, programming forms using script and VBA these days
> seems
> a bit archaic. Where's the support for .Net, other than for Add-Ins? It
> doesn't even look like Outlook 2007 has the ability to program forms using
> .Net. This would make my current project a lot easier.
>
> I have to create Readonly appointments: A manager creates a Mandatory
> Meeting appointment (my new appointment form) and adds it to the calendar
> of
> each employee that is required to attend. The employee should not be able
> to
> delete or change the appointment, but I don't want to lock the manager out
> from deleting/changing it, or any other manager/administrator with the
> appropriate credentials. Unfortunately the "appropriate credentials" are
> located in an RDBMS. I can't imagine that I can (or should) access the
> database in script, so I'm really uncertain about how to handle this.
>
Previous Topic:Bug with Outlook Voting Option
Next Topic:Custom contact forms- problems exporting
Goto Forum: