Custom form not executing Read page

T

TNH

I have a custom form based off the Message Template. This is published at the organization level (with send form defintion with item checked)
When I send the form to myself the Read page loads and code behind buttons works.
When I send it to other recipients they can see the read page but the code does not get executed.
I have checked to make sure the recipients outlook is set to MS Outlook Rich Text Format.
If I change the Reply to all action to re-invoke the form the buttons then work, but I really don't want the recipients to have to do this, I would like the buttons to work correctly when they open the form.
Any ideas?
 
S

Sue Mosher [MVP]

By checking the "send form definition with item" box, you have cause the
form to always one-off, which means that code won't run. Uncheck that
option, then republish the form. This will not fix any items already created
with that form, but future items will be able to run code. See
http://www.slipstick.com/outlook/esecup.htm#formsec for more on this issue.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



TNH said:
I have a custom form based off the Message Template. This is published at
the organization level (with send form defintion with item checked).
When I send the form to myself the Read page loads and code behind buttons works.
When I send it to other recipients they can see the read page but the code does not get executed.
I have checked to make sure the recipients outlook is set to MS Outlook Rich Text Format.
If I change the Reply to all action to re-invoke the form the buttons then
work, but I really don't want the recipients to have to do this, I would
like the buttons to work correctly when they open the form.
 
T

TNH

Thanks, I will try it. The reason I had it set was that we have many mail servers in our organization and if the message goes across servers, it appears to loose it's defintion.


By: Sue Mosher [MVP] (search by author) In: microsoft.public.outlook.program_forms

By checking the "send form definition with item" box, you have cause th
form to always one-off, which means that code won't run. Uncheck tha
option, then republish the form. This will not fix any items already create
with that form, but future items will be able to run code. Se
http://www.slipstick.com/outlook/esecup.htm#formsec for more on this issue
--
Sue Mosher, Outlook MV
Author o
Microsoft Outlook Programming - Jumpstart fo
Administrators, Power Users, and Developer
http://www.outlookcode.com/jumpstart.asp

TNH said:
I have a custom form based off the Message Template. This is published a
the organization level (with send form defintion with item checked)
When I send the form to myself the Read page loads and code behind button works
When I send it to other recipients they can see the read page but the cod does not get executed
I have checked to make sure the recipients outlook is set to MS Outloo Rich Text Format
If I change the Reply to all action to re-invoke the form the buttons the
work, but I really don't want the recipients to have to do this, I woul
like the buttons to work correctly when they open the form
 
T

TNH

To try this out do I need to publish it at the organization level?
I just tried it out as a personal published form and although the code now works all the custom fields added to the form are visible but the content is lost.




By: TNH (search by author) In: microsoft.public.outlook.program_forms
Thanks, I will try it. The reason I had it set was that we have many mail servers in our organization and if the message goes across servers, it appears to loose it's defintion.




By: Sue Mosher [MVP] (search by author) In: microsoft.public.outlook.program_forms

By checking the "send form definition with item" box, you have cause the
form to always one-off, which means that code won't run. Uncheck that
option, then republish the form. This will not fix any items already created
with that form, but future items will be able to run code. See
http://www.slipstick.com/outlook/esecup.htm#formsec for more on this issue.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



TNH said:
I have a custom form based off the Message Template. This is published at
the organization level (with send form defintion with item checked).
When I send the form to myself the Read page loads and code behind buttons works.
When I send it to other recipients they can see the read page but the code does not get executed.
I have checked to make sure the recipients outlook is set to MS Outlook Rich Text Format.
If I change the Reply to all action to re-invoke the form the buttons then
work, but I really don't want the recipients to have to do this, I would
like the buttons to work correctly when they open the form.
 
S

Sue Mosher [MVP]

If you want other people to be able to use it then, yes, you must publish it
in the Organizational Forms library.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



TNH said:
To try this out do I need to publish it at the organization level?
I just tried it out as a personal published form and although the code now
works all the custom fields added to the form are visible but the content is
lost.
By: TNH (search by author) In: microsoft.public.outlook.program_forms
Thanks, I will try it. The reason I had it set was that we have many mail
servers in our organization and if the message goes across servers, it
appears to loose it's defintion.
 
S

Sue Mosher [MVP]

Each user needs to have access to the published form definition. For a
message form, this means that it must be in either the Organizational Forms
library or the user's Personal Forms library. If there are multiple Org
Forms libraries, then it must be in each one, with the identical message
class.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



TNH said:
Thanks, one last question.....
We have a scenario in my organization where we have multiple eMail
domains, some are Outlook 2000, some are exchange. Each one has it's own
Organizational Level folders for froms. If we publish the form on each one
and someone on domain a sends to domain b, will they be able to see the form
and all it's content?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top