Reduce custom form size

Posted on 2011-10-19
Last Modified: 2012-06-27
Hello Experts,

I am looking for some tips on shrinking the size of the contacts saved from cutoms forms.
An average contact only has about 40kb but it looks like we are filling up about 200kb. There is not a lot of discernable field differences. Is there some overhead to the Outlook Custom forms that can be avoided, or other methods of reducing the size of these contacts within a custom form ?

Thank you
Question by:kings-wong
    LVL 11

    Accepted Solution

    It could be that you are 'one off'ing your contacts.

    In Outlook if you have an item using a custom form, and you add a custom field to that item which is not defined in the custom form, then Outlook stores the form definition with the item.

    The resolution is to make sure that all the custom fields you are using on that item are included on the custom form definition. Two symptoms of this are:
    1. The size of an item is unusually large
    2. the message class is IPM.Contact   even if it should be using a custom form (ie IPM.Contact.XXXXX)

    The way to fix it is to find all the rogue fields and add them to the form.
    You may find you have synchronisation solutions or other addins adding fields you didn't realise were there.

    Open a contact in developer mode.
    Go to the View Fields Tab
    Select Custom Fields in Item - and make a screen shot or note them al down.

    Now open a clean version of your custom form with nothing added. Go into design mode and check the same thing.
    If there are additional fields in the first view - you need to edit your custo formand add the new fields to a page somewhere (you can even hide the page - just add them)
    Re-publish your form .
    You may also need to write a script to change all the messageclasses of the contacts back to your custom form class.

    Author Comment

    Thank you for the information. I will get back to you once we review the form for these custom fields.
    I do not know what a messageclass does but we will look into that area as well.

    Cheers, Kings.

    Author Closing Comment

    The issue turned out to be how the custom class is assigned.
    The custom form used has a full page of hidden form elements.
    As this needs to be removed our goal would be to back up the custom form first then re-assign the new message class to all the rest of the contacts.

    Thanks for the feedback.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now