Custom fields get blanked

G

Guest

We are using customized Task form for logging activities on a particular issue.
We have another customized Message form we are using for sending Internal
and external emails.
Most of the users have Office 2000 installed in their machine while some
users have Office 2002 and Office 2003 (sp3).
When ever a user send an email through customized form, text & some other
properties on customized message form set /append in customized form fields.
This way we keep log of any activity.
The customized task form has a text field we are using for logging all
activities for tracking purpose.
From couple of days we are hearing from our users that there is no text in
task form in text field.
We have investigated and noticed that when a user having office 2003 (sp2)
installed is sending an email the text field of customized task form got
blanked the same is true for office 2002.

Advise/suggestions or solution on this would be highly appreciated.

Thanks
 
S

Sue Mosher [MVP-Outlook]

Where is the custom form published?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

In a folder created under public folder.

Sue Mosher said:
Where is the custom form published?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Custom message forms need to be published in the Organizational Forms library or in each user's Personal Forms library. If you receive a message created with a such a form, Outlook isn't going to know to look for the form definition in a particular public folder.

Tell us more about how the custom message form and custom task form interact.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Sorry, the message form is published in Organizational Forms Library not in
public folder.
On customized task form we are keeping task StoreID and EntryID values in
two separate fields with other fields.
At the time of task creation, the user sends an email through the same task
form (we have a button on task form for that)
This way we send and set values of fields (AssignTo, Priority, Status, Task
Number etc) of task form into message form
When a user reply from the same message form email text and custom
properties values if changed by user like priority, AssignTo etc would be
updated in task form.
We are passing EntryID & StoreID values (Application.Session.GetItemFromID
(EntryID, StoreID)) for getting the related task item object reference.
Hope this will be helpful for both
1. Blanking out issue and
2. Multiple Instances of the same Task (Question Posted on your site) or
Duplicate Item appearing in Public Folder question on the same forum.
 
G

Guest

Sorry, the message form is published in Organizational Forms Library not in
public folder.
On customized task form we are keeping task StoreID and EntryID values in
two separate fields with other fields.
At the time of task creation, the user sends an email through the same task
form (we have a button on task form for that)
This way we send and set values of fields (AssignTo, Priority, Status, Task
Number etc) of task form into message form
When a user reply from the same message form email text and custom
properties values if changed by user like priority, AssignTo etc would be
updated in task form.
We are passing EntryID & StoreID values in Application.Session.GetItemFromID
for getting the related task item object reference.
Hope this will be helpful for both
1. Blanking out issue and
2. Multiple Instances of the same Task (Question Posted on your site) or
Duplicate Item appearing in Public Folder question on the same forum.
 
S

Sue Mosher [MVP-Outlook]

I'm not clear on what the "blanking out" issue actually covers or how it arises.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

I am rephrasing my question:

We are using two customized form developed for fulfilling our organizational
needs.
1. Task Form: (Name: Customer Support Desk, Message Class: IPM.Task &
published in a folder under public folder)
The email sent through the customized message form would be appended in a
field of this form. User can change the AssignTo, Priority and Status of the
Task form from customized Message form. We are passing Item.EntryID and
Item.Parent.StoreID value in user defined fields of Message form for later
use from the task form when user sends email through the same task form.

2. Message Form: (Name: Correspondence Mail, Message Class: IPM.Note &
published in Organizational Forms Library)
We are using this form for sending email (internal & external). There are
some additional fields on this form like (AssignTo, Priority, Status) like we
have on customized task form and will be updated if any user changed them.
The texts of the email sending through this message form will also
logged/append in a field of a task form.
How we recognize that text and other field’s values of the message form
would be updated on related task form?
As I mentioned under section (1) that (We are passing Item.EntryID and
Item.Parent.StoreID value in user defined fields of Message form for later
use) here we are using these values. We passed these values in
Application.Session.GetItemFromID method for getting the reference of
relevant task item.


Issues:
1. User defined field in Task form got blanked:
When a user sends email from Message form the text of this email was not get
logged in Task form user defined field and sometime after this email the text
of in Task form user defined field get blanked. I investigated and found an
article from Microsoft stated that this is a known bug in Office 2003, which
is rectified in SP2, and another article found for the same bug with outlook
2002.
When a user having Office2003 (SP2) installed on his machine sends email
through this message form then user defined field in task form got blanked.
2. Multiple Instances (Duplicate Item)
Some time we have received reports from user that they are having multiple
task items in public folder (task items having same numbers with same
properties (contents) value or some times items having same numbers with
different properties values)
 
G

Guest

I am rephrasing my question:

We are using two customized form developed for fulfilling our organizational
needs.
1. Task Form: (Name: Customer Support Desk, Message Class: IPM.Task &
published in a folder under public folder)
The email sent through the customized message form would be appended in a
field of this form. User can change the AssignTo, Priority and Status of the
Task form from customized Message form. We are passing Item.EntryID and
Item.Parent.StoreID value in user defined fields of Message form for later
use from the task form when user sends email through the same task form.

2. Message Form: (Name: Correspondence Mail, Message Class: IPM.Note &
published in Organizational Forms Library)
We are using this form for sending email (internal & external). There are
some additional fields on this form like (AssignTo, Priority, Status) like we
have on customized task form and will be updated if any user changed them.
The texts of the email sending through this message form will also
logged/append in a field of a task form.
How we recognize that text and other field’s values of the message form
would be updated on related task form?
As I mentioned under section (1) that (We are passing Item.EntryID and
Item.Parent.StoreID value in user defined fields of Message form for later
use) here we are using these values. We passed these values in
Application.Session.GetItemFromID method for getting the reference of
relevant task item.


Issues:
1. User defined field in Task form got blanked:
When a user sends email from Message form the text of this email was not get
logged in Task form user defined field and sometime after this email the text
of in Task form user defined field get blanked. I investigated and found an
article from Microsoft stated that this is a known bug in Office 2003, which
is rectified in SP2, and another article found for the same bug with outlook
2002.
When a user having Office2003 (SP2) installed on his machine sends email
through this message form then user defined field in task form got blanked.
2. Multiple Instances (Duplicate Item)
Some time we have received reports from user that they are having multiple
task items in public folder (task items having same numbers with same
properties (contents) value or some times items having same numbers with
different properties values)
 
S

Sue Mosher [MVP-Outlook]

Issue #1) What KB article? What code in the message form logs message text in the related task?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Issue #1) What KB article? What code in the message form logs message text in the related task?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Articles for Issue#1
http://support.microsoft.com/kb/290781/en-us (Office 2002)
http://support.microsoft.com/kb/906451 (Office 2003) (Ref. row 197 in excel
sheet)

1. For getting customized Task form we pass the EntryId & StoreID values in
Application.session.GetItemFromID(EntryId , StoreID)
3. After getting ref. of that object we fetch the text from the custom
form's custom fields using following syntax:
OldHistory = Object.UserProperties.Find("CustomFieldName").value
4. If the length of the ‘CustomFieldName ’value is < 31800 then we
concatenate (NewText= OldHistory + New email text )and add this value in
customized task form’s custom field using following syntax:
Object.UserProperties.Find("CustomFieldName").value= NewText
 
G

Guest

Articles for Issue#1
http://support.microsoft.com/kb/290781/en-us (Office 2002)
http://support.microsoft.com/kb/906451 (Office 2003) (Ref. row 197 in excel
sheet)

1. For getting customized Task form we pass the EntryId & StoreID values in
Application.session.GetItemFromID(EntryId , StoreID)
3. After getting ref. of that object we fetch the text from the custom
form's custom fields using following syntax:
OldHistory = Object.UserProperties.Find("CustomFieldName").value
4. If the length of the ‘CustomFieldName ’value is < 31800 then we
concatenate (NewText= OldHistory + New email text )and add this value in
customized task form’s custom field using following syntax:
Object.UserProperties.Find("CustomFieldName").value= NewText
 
S

Sue Mosher [MVP-Outlook]

AFAIK, the 32kb limit for item content aside from the message body still applies, but I'll do some checking to see if we can find out more about what this SP2 fix actually consists of.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

What is AFAIK?
We make sure length of characters entered in custom filed (31800) before
inserting/adding new text.
Furthermore we are using these lines of code for getting
StroeID: Item.Parent.StoreID
EntryID: Item.EntryID
Hope that this will help you to figure out the problem

Thanks
 
S

Sue Mosher [MVP-Outlook]

AFAIK = as far as I know

32k is the limit for all the item's content aside from the main message field, not just the limit for a single field.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Hi All,

Is there any update on this issue?


Sue Mosher said:
AFAIK = as far as I know

32k is the limit for all the item's content aside from the main message field, not just the limit for a single field.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

No.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Also, I checked on the article you cited and confirmed that it makes no change in the maximum size for the item.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


AFAIK = as far as I know

32k is the limit for all the item's content aside from the main message field, not just the limit for a single field.
 
S

Sue Mosher [MVP-Outlook]

I checked on the article you cited. It definitely does not make any change in the maximum size.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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