A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Custom Fields - Deleting And Where Are They Saved



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 24th 10, 12:39 PM posted to microsoft.public.outlook.program_forms
SRM
external usenet poster
 
Posts: 8
Default Custom Fields - Deleting And Where Are They Saved

On Feb 23, 9:38*am, "Karl Timmermans" wrote:
If my assumption as to what is going on is correct - you don't
have an issue with "orphan" fields and most likely don't have
anything to clean up. The meer action of adding and deleting
a field when designing a custom form will result in this field
remaining in the UserProperty collection. However, there is a
very simple way to clean this up -- re-create the custom form
and re-publish it with the same name. If no fields were
deleted when re-creating the form, the "deleted fields"
issue with the other export program will be a thing of the past.

As for the "Folder Level" question - in general terms,
user-defined fields are only available for anything if
included at the "folder level" when using the standard
contact form (IPM.Contact) or when part of a custom
form. UDFs that exist solely at the contact item level are never
accessible for any kind of global function/views etc. Only way
you'll see item level fields which are not included in the "folder
group" is by opening each contact individually.

Karl
--
__________________________________________________ __________
Karl Timmermans - The Claxton Group
ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr
"Contact import/export/data management tools for Outlook '2000/2010"http://www.contactgenie.com

"SRM" wrote in message

...
On Feb 22, 3:05 pm, "Karl Timmermans" wrote:

"May its an issue with the 3rd party program."


My I offer a suggestion that will probably save you a great deal
of unnecessary aggravation and time....


Given that you are using a custom form, focus ONLY on
the fields you explicitly see in Outlook (those fields
and any UDF's displayed by any ContactGenie program
should be identical). Ignore everything else unless additional
user-defined fields were added to an individual contact
after a custom form was assigned to it. In this case, the custom
form will be "one-offed" but that still should never result in
any "deleted" field from appearing.


IF the program you are using is explicitly iterating through the
contact item's UserProerties collection from start to finish
(i.e. starting at entry #1 for the total number of entries in the
collection) - there is absolutely no question that extraneous info
may be found and if each and every entry is not checked to
ensure that it is valid - you will get the results you are seeing -
deleted fields will be included - there are no ifs, ands or buts
about it. Outlook is not especially meticulous as to what the
UserProperty collection contains but it knows what is relevant
for its purposes. That was a lesson learned the hard way a long
time ago with the release of the first ContactGenie program
back in 2001.


Without knowing the background, sounds nothing more than
what you are seeing is the field add/delete activity that took place
when the custom form was designed (deleting a field from a
custom form does not delete it from the raw UserProperties
collection which I'm guessing is what is going on and not at all
something that you should be remotely concerned about).


Karl
--
__________________________________________________ __________
Karl Timmermans - The Claxton Group
ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr
"Contact import/export/data management tools for Outlook
'2000/2010"http://www.contactgenie.com


"SRM" wrote in message


....
On Feb 22, 11:34 am, "Karl Timmermans" wrote:


#1 - If you are using a custom form - user-defined fields should
ONLY be added/deleted within the custom form. You should
NEVER add any additional fields to a contact item assigned
to a custom form since you will only one-off the form. As for
copying contacts that use a custom form - make sure that the
custom form is available (i.e. by either publishing it to the target
folder or to the Personal Forms Lib but strongly advise against
the same form published to both the Pers Lib and a folder -
recipe for problems)


#2 - Custom forms do not have "orphan fields" - the UDF list is
assigned at the "custom form level" and every contact item
assigned a given custom form has the same UDF fields (unless you
have manually added other UDF's (see point #1) . As the two
articles regarding User-Defined fields point out - UDF's
for Folder/Items are different animals then those assigned within
a custom form


#3 - Custom fields in a custom form would be available to be
added to any view - not sure about anything added to the folder
or item outside of the custom form (see item#1). That said,
UDF's added manually to a contact item outside of the
custom form is not a scenario handled by CG Toolkit by design.


If you have 15000 contacts assigned to a custom form and
these contacts additionally have UDF fields that have been
manually added - that by definition means that each and every
one of the manually added UDF's has had a value added to it
a standard UDF does not get added to a specific contact item
unless and until a value is entered into the field. So the question
in this is - how exactly are you determining that the contacts
assigned to a custom form have extra fields - via Outlook or the
3rd party export program you are using?


#4 - Any of the ContactGenie products with export functionality
only include user-defined fields defined at the Folder level
(for items assigned to IPM.Contact) - all item level UDF's are
ignored for the reason(s) mentioned in the original answer. Items
assigned to a custom form only use the UDFs assigned to the
form regardless of what may actually be contained in the a
contact item's UserProperty collection. None of the CG products
directly reference any item via the Outlook object model (OOM)
anymore but instead use Redemption (http://www.dimastr.com)
which avoids a lot of potential problems (not sure about O'2007
and beyond but dealing with the UserProperty collection directly
via OOM opened up a wide variety of potential problems -
not the cleanest collection of fields in the world). Only reason for
mentioning this is that if your 3rd party export program (please
don't reference it by name in this thread - don't know what it is
and don't want to know) is still reporting UDF's outside of those
contained in the custom form, it is going through the contact item's
userproperty collection directly which will include anything and
everything that was ever added to it, something which should be
of no concern if you are using a custom form.


#5 - "Deleted field" not appearing in the CG Toolkit export
field list. Don't understand the comment - why would you want
a deleted field to appear?


Off the cuff, if you want to clean up what sounds like a mess - you
may want to try the following (backing up your PST file before
proceeding!!!!!!)


a) Re-publish your custom form under a new name
b) assign all your contacts to this new form name - that should result
in your contacts only having the UDF's assigned to the custom form
and everything returns to normal. the only custom fields you
should see at this point are those solely assigned within the custom
form. (Am assuming this to be correct but not 100% sure since
haven't tested what happens when #1) UDF's have been manually
added to an item assigned to a custom form and then
#2) changing the assigned custom form)


Karl
--
__________________________________________________ __________
Karl Timmermans - The Claxton Group
ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact
Mgr
"Contact import/export/data management tools for Outlook
'2000/2010"http://www.contactgenie.com


"SRM" wrote in message


....
On Feb 20, 5:43 pm, "Karl Timmermans" wrote:


First a couple of articles that you may find of interest
#1 - User-defined fields - (in folder) versus (in
item)http://www.contactgenie.com/blog/?p=99


#2 - User-Defined (Custom) fields in Custom
Formshttp://www.contactgenie.com/blog/?p=102


To specifically answer your 2 questions:
#1 - Unless you have specifically deleted a user-defined field
for a given item - it has not been deleted for that item
(hence, whatever export program you're using is picking
up the data at the item level versus the folder level)
Exporting every field at the item level may be a nice
concept but the drawback to that is that "technically"
every contact can have a different set of fields - i.e.
in your case, 15,000 contacts can each have a different
UDF resulting in 15,000 different UDF fields for the
folder. Try and put all your contacts in one file and you
have nothing short of a "mess". The chances of every
contact having a different UDF is highly unlikely but
rest assured that we've seen some "highly creative"
environments when it comes to Outlook data which is
also the basis for another article:
"Yes you can..but should you?"
http://www.contactgenie.com/blog/?p=54


#2 - There is no place in Outlook that lists "orphan" user-defined
fields - you may find ContactGenie Toolkit of interest
which has a function that addresses that particular issue
http://www.contactgenie.com/toolkit_4_outlook.htm


Karl
--
__________________________________________________ __________
Karl Timmermans


...

read more »


Karl:

Thanks. I made a new contacts folder and copied some contacts over to
complete some tests (per your instructions).

1. I took the default Outlook form, published it as the form I was
using (SRM). I added no new fields. Basically is was the default
Outlook form published as a new name. No change. Old deleted fields
still appearing.

2. I edited my current form and just published with a new name
(Test1). I changed the form of each contact to the new form. Also
changed the posting to the new form. No change. Old deleted fields
still appearing.

3. With the same contacts, I then took the default Outlook form,
published it as a new form (Test2). I changed the form of each contact
to the new form. Also changed the posting to the new form. There were
now no no fields at the item level or the folder level. No change. Old
deleted fields still appearing.

Shawn

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
share custom calendar wtih mac, export custom fields ayla99 Outlook - Calandaring 1 December 3rd 09 01:55 AM
Does deleting temp files remove attachments from saved msgs? Jack B Outlook Express 2 February 14th 08 03:51 PM
How to move fields in custom form to "user-defined fields in folde austex Outlook - Using Contacts 0 January 9th 08 11:51 PM
deleting saved e-mail addresses from Outlook 2003 Stephen Fisher Outlook - General Queries 2 March 20th 07 03:59 PM
importing custom fields into a custom form susan lasalle Outlook - Using Contacts 1 January 16th 07 09:01 PM


All times are GMT +1. The time now is 04:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.