No fields visible in read layout

M

Marty Peterson

I have a custom form that I can filll in the data fine when I go to run it.
The form is published in a Public Folder.

When I fill in the fields and send it, when I open it in Outlook (2003), I
just get my regular signature for my emails (another problem I need to fix
sometime) and I don't see any of the fields that are supposed to show up.
The subject is what I had set it to, but there are no cutom fields at all.

I can check the box to save form definition with item, when publishing this
form to my public folder, and then I can see the custom fields, but then of
course my vbscript code won't run when I click the button that is to launch
it. I can't figure out what would cause this to happen. I have read about
the one-off problems but can't seem to figure out how to fix this.

The form is a hidden form (only for responses) that is called from another
form, but that all seems to bring up the form and display data correctly.

Any help would be appreciated.

thanks

Marty
 
S

Sue Mosher [MVP-Outlook]

Message forms need to be published somewhere other than a public folder.
Think about it: How would Outlook know to look in one among potentially
thousands of folders for this particular form?
 
M

Marty Peterson

Hmm, so what would be the difference in the fact that my original Form (we
can call this Form1) that is published in a public Folder can be launched
(actions menu), filled out, and sent to myself then I can open this item out
of my inbox and see my custom data in the read view all successfully, and
this other one (Form2)?

I originally open Form1 from the Actions menu fill in my custom fields and
the recipient (myself) and click the regular old Send button in Form1 to
send it. I send it to myself, open the item in my Inbox (which the icon
looks like a post btw), and can read the data I entered in fine as the read
page layout should be. I can click my vbscript button and run the code
associated with it without a problem.

I can set Form2 (my problem form) so that it isn't for responses only, so
that I can see it from the Actions menu, run it from the actions menu just
like Form1, fill in some custom fields, send it to myself from the regular
old send button, but can't read the data unless I make sure I check the box
to send form definistion with the form.

I guess my question is why would Outlook know where to look for one but not
the other. (I have cleared the cache each time before I run it just to make
sure)

I am getting better at the coding, but still confused about much of this.
Your book has been ordered btw...just not here yet.

thanks

Marty
 
S

Sue Mosher [MVP-Outlook]

Form1 works because it's in your forms cache ... because you already used it
to create the message. Outlook looks in the cache first. If you clear the
cache between the time you send it and when you open the received message --
after you send the item, not before you create it -- you should get a better
picture of what someone else would see.

I don't know why Form2 isn't being cached, but that's sure what the symptoms
sound like.

Try publishing

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Hollis D. Paul

When I fill in the fields and send it, when I open it in Outlook (2003), I
just get my regular signature for my emails (another problem I need to fix
sometime) and I don't see any of the fields that are supposed to show up.
The subject is what I had set it to, but there are no cutom fields at all.
Did you notice that, by default, a form in design mode is split into a
compose form and read form. If you did not put anything on the read form,
you won't see anything when you open it. If you really do not need a split
form, then open a new item, that is displayed with that form, and uncheck the
split button on the forms layout form. Accept the warning, and republish.

It is better to publish a form to the Exchange Forms Library, rather than a
Public Folder, as that is the first place outlook will look for it. Just
make sure that it is only published once.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
M

Marty Peterson

I tested this clearing the cache before launching the form that is published
to the public folder, then launched it, filled it out, and sent it. I then
went back in a cleared the cache again before opening it and it works fine.
I can still see all of the data, so I am again scratching my head as to
why...

It sounds like you are saying that only org. forms can pass the data that I
need and have code behind them (Outlook 2003 clients). Forms published in a
public folder will not. So, what is the solution for "hiding" these forms
from others in the organization? I don't want everyone to be able to run
some of these which is why I am using the public folder method.

Must I publish them as Hidden to the org folder and publish a copy
(unhidden) in the public folder??

thanks

Marty
 
M

Marty Peterson

Good info to know. Is there a way to tell Outlook to look in a particular
Public folder when launching forms?

I am in quite a large organization here and they want to limit the forms to
only certain areas of the business. I can do this through personal forms or
using Public Folder permissions. However, if Outlook won't look there for
the form definition, how does one accomplish this? The workaround I have now
is to publish the form both in the public folder and the Organizational
Forms library. Then edit the one in the org. forms to be hidden. This is
fine for people when they attempt to choose a form, but if the choose to
design it, they can see the hidden ones, cancel on the password, and still
run the form.

All of these forms have code in them so I can't choose to save the form
definition with the form if I want Outlook 2003 to work properly. So what is
the standard method of accomplishing this goal? (or can it even be?) Can
Outlook 2003 be set to run code that is included in an item? Can the Org
forms library be limited in the permissions of who can see what forms?

thanks for any help that you may be able to provide.

Marty Peterson


Hollis D. Paul said:
When I fill in the fields and send it, when I open it in Outlook (2003),
I
just get my regular signature for my emails (another problem I need to
fix
sometime) and I don't see any of the fields that are supposed to show up.
The subject is what I had set it to, but there are no cutom fields at
all.
Did you notice that, by default, a form in design mode is split into a
compose form and read form. If you did not put anything on the read form,
you won't see anything when you open it. If you really do not need a
split
form, then open a new item, that is displayed with that form, and uncheck
the
split button on the forms layout form. Accept the warning, and republish.

It is better to publish a form to the Exchange Forms Library, rather than
a
Public Folder, as that is the first place outlook will look for it. Just
make sure that it is only published once.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

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