Solved

Outlook Custom View and changing Field Names Public Shared Folder Can Be Done In VB?

Posted on 2003-12-06
3
782 Views
Last Modified: 2007-12-19
I am the owner of a shared (75 users) Outlook public folder that is on an Exchange server.
How can I change the names of outlooks fields ie mileage and have it updated/so the 75 users can see the new fields names and views without me going around to every pc.
I tried to defined views and have no luck with in getting all of the subfolders (I am the owner) to work.
Can oyu tell me if this can be done in VB, Visual Basic 5 or 6?
In other words - I want to create a view using outlooks fields with the option to drag the fields in the group drag box (rt click on title and select group by box), drag fields to top to group.
Thanks
0
Comment
Question by:buyitnow
  • 2
3 Comments
 
LVL 13

Expert Comment

by:stefri
ID: 9891617
did you try:
in the view, right click the header label, format columns then modify Label
You cant change mileage as it is an outlook internal field but you can change was is displayed
stefri
0
 

Author Comment

by:buyitnow
ID: 9893436
I am looking for VB, Script, Visual Basic code, COM, ActiveX or an answer on how to force an Outlook view on the other users pcs.I was able to change the column display names.
0
 
LVL 13

Accepted Solution

by:
stefri earned 500 total points
ID: 9923331
you create specific views with the column display names set to what you want and restrict the use of views to the views you have created
This is done in View/define view
show only created views for that folder
Right click the Public folder/Administration Set initial view on folder to: yourView

stefri
PS: Outlokk object model documentation (ol2002) shows:
XML Property

Returns or sets a value that specifies the XML definition of the current view. The XML definition describes the view type by using a series of tags and keywords corresponding to various properties of the view itself. When the view is created, the XML definition is parsed to render the settings for the new view. Read/write String.

expression.XML

expression   Required. An expression that returns a View object.

Example
Returns or sets a value that specifies the XML definition of the current view. The XML definition describes the view type by using a series of tags and keywords corresponding to various properties of the view itself. When the view is created, the XML definition is parsed to render the settings for the new view. Read/write String.

expression.XML

expression   Required. An expression that returns a View object.

Example
The following example creates a new view and displays its XML definition in the Immediate Window.


Sub XMLView()
'Creates a new view and displays the XML definition
'in the immediate window

    Dim olApp As Outlook.Application
    Dim objViews As Views
    Dim objView As View

    Set olApp = Outlook.Application
    Set objViews = _
    olApp.GetNamespace("mapi").GetDefaultFolder(olFolderInbox).Views
    Set objView = objViews.Add _
       ("New Table View", olTableView, olViewSaveOptionAllFoldersOfType)

    Debug.Print objView.XML

End Sub
The modified properties which are visible in the following XML source code. In addition to the property definitions, the XML source also defines any objects  that make up the view. The following example displays the XML definition of columns that appear in the above view.

<column>
    <heading>Flag Status</heading>
    <prop>http://schemas.microsoft.com/mapi/proptag/0x10900003</prop>
    <type>i4</type>
    <bitmap>1</bitmap>
    <style>padding-left:3px;text-align:center;padding-left:3px</style>
</column>
<column>
    <format>boolicon</format>
    <heading>Attachment</heading>
    <prop>urn:schemas:httpmail:hasattachment</prop>
    <type>boolean</type>
    <bitmap>1</bitmap>
    <style>padding-left:3px;text-align:center;padding-left:3px</style>
    <displayformat>3</displayformat>
</column>


0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

864 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

23 Experts available now in Live!

Get 1:1 Help Now