User defined fields , field chooser

  • Thread starter Thread starter j
  • Start date Start date
J

j

Hi All,


After creating mailItem, fill it with User defined fields
(UserProperties.Add(........) ) and move it to some folder
it's takes a lot of time when i can see these properties in
fieldChooser --> User defined fields (approximately 30 minutes),
however
when i open Field Chooser in INBOX folder these fields appears
momentary.


Any Suggestions???


TNX in advance
 
Are you looking under User-defined Fields in Folder? Have you previously defined the fields in that folder?
 
Thanks for replay,
Are you looking under User-defined Fields in Folder? Yes

Have you previously defined the fields in that folder?
No, these fields are not, after creating mailItem (programatically)
and adding userProperties they appear only under INBOX, and
not under folder to where i moved mailItem.


Ideas ???

Tnx in advance.
 
Add the fields to the folder, manually through the folder's Field Chooser.
 
User defined properties (or rather their definitions) are added to the
parent folder fields when UserProperties.Add is called. When a message is
copied/moved to another folder, it ts custom properties will not be
automatically added to the target folder fields.
Also keep in mind that Outlook is trying to be "helpful" by creating regular
message (MailItem) in the Drafts folder even when you are trying to
explicitly add it to a particular folder other than Drafts by calling
MAPIFolder.Items.Add
<plug> Redemption allows to explicitly manipulate folder fields definitions
through the RDOFolder2.FolderFields collection
http://www.dimastr.com/redemption/rdo/RDOFolderFields.htm </plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

Add the fields to the folder, manually through the folder's Field Chooser.
 
Oh, I completely forgot about MAPIFolder.UserDefinedProperties in Outlook
2007!

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

As does Outlook 2007. <g>
 
Add the fields to the folder, manually through the folder's Field Chooser.


i can't add them manually cause thety not appear i nthe field chooser.
It takes some period of time (20-30 minutes) when they will appear in
field chosser.
Just to note in INBOX's field chooser they appear momentary .


Ideas????
 
"add manually" means to click the New button on the Field Chooser. What happens when you do that?
 
"add manually" means to click the New button on the Field Chooser. What happens when you do that?
It's works, i can manually ad field, however i expirience problem to
see custom fields in field chosoer, ater i added them to mailItem and
moved this
mailItem to folder.

Any Ideas?
 
I'm not sure what problem you're describing, but the basic requirement for being able to see fields in a folder view is that those fields be defined in the folder. Adding them to a MailItem does not do that. It only adds the fields to the individiual item and to that item's parent folder. If you move that item to another folder, those fields will not be visible in that folder's views until you define those fields **in that folder.**
 
Back
Top