Hello Sue.
Thank you for your answer.
I am not trying to change any field on sharepoint directly.
I am trying to change the Internet format on the cached sharepoint list.
My whole scenario is this
www.tinyurl.com/defaultrtf (outlook contacts part of this forum)
Using Outlook 2007 the changes i make doesn't alter after a synchronization.
Outlook by default sets RTF to every imported contact (the imports may be
from Sharepoint or ActiveSync.It doesn't matter)
Unfortunately this is a setting that overrides the global mail format under
Outlook and produces winmail.dat attachements to every contact not using
Outlook. (yeah what a mess...)
A note about the second link that searches for a folder by name.
Unfortunately my programming skills are almost a joke, and i can't make it
work.
I guess that this code runs under ThisOutlookSession (Alt+F11).Right?
Also i can't seem to find the place where i insert the argument's name.
(' Arguments: strFolderName = name of folder to search for)
In which part of the code i enter my folder's name?
Let's say the folder's name is DefaultRTF.
Excuse my funny questions and my lousy English.
.
"Sue Mosher [MVP]" wrote:
> To get a non-default folder, you need to walk the folder hierarchy using the
> Folders collections or use a function that does that for you. For examples,
> see:
> http://www.outlookcode.com/codedetail.aspx?id=628 - uses a folder path
> string
> http://www.outlookcode.com/codedetail.aspx?id=492 - searches for a folder by
> name
> What you're trying to do may not work, though, because (a) SharePoint simply
> doesn't support all the fields and functionality of Outlook contacts and (b)
> the synchronization process may overwrite whatever changes you make in the
> local cached copy of the SharePoint list. I would make the change on an
> individual contact and see what happens at the next sync, before making an
> investment in coding something bigger.
> > Sue Mosher
> > >
> "Alexnts" <Alexnts> wrote in message
> news:028C080A-B525-44FF-9DA8-8142070C14BF@microsoft.com...
> > Good morning to all
> > I am using this piece of code here
> > http://www.vboffice.net/en/developers/edit-internet-format-for-contact
> > to massively change the internet format field of Sharepoint Contacts in
> > Outlook.
> > It works like a charm in the local contact list but not in the cached
> > Sharepoint lists.
> > The problem is at this line i think.
> > Set Items = Session.GetDefaultFolder(olFolderContacts).Items
> > How can i set the script to selectand workon the Sharepoint lists(local
> > cached) instead of the local lists?
> > .
>