Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-12-06
3
Medium Priority
?
806 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

636 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