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

Links Error for Public Folder Items



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 30th 07, 05:38 PM posted to microsoft.public.outlook.program_forms
Dan Allason
external usenet poster
 
Posts: 7
Default Links Error for Public Folder Items

Hi All,

I don't know if this is a solvable problem or not but it has had me in a
twist for a couple of days now. I am developing a CRM system for our company
sales team to use and have opted to have all contacts,tasks,journal items,
etc stored in Public Folders on our Exchange server. I have just finished
coding a new Task form to store a Contact Plan to make contact with one or
many customers. On saving the Contact Plan item I have all the selected
customers from an OVC window added to the Links collection by the following
vbscript:

Set custSelection = viewCustomers.Selection
If custSelection.Count 0 Then
For J = custSelection.Count To 1 Step -1
Set objItem = custSelection.Item(J)
Item.Links.Add(objItem)
Next
End If

Where viewIndividuals is an OVC control. This works seamlessly until you try
and open the saved Contact Plan from another machine (or perhaps user?!) and
attempt to open a link - the links are still shown in the collection but when
they are double-clicked an error is seen saying that the requested operation
(Open Calendar???) is not allowed on items of this type. I need the links
collection to work not only the activities page of a contact but so that when
the Contact Plan is completed, the VBScript can go through the links and
update their 'NextContactDueBy' date.

I have a suspicion that this problem is something to do with access
permissions or ownership of the items but can't see how this should be a
problem when using public folders (I have set all the relevant access
permissions to 'OWNER' for testing purposes). Any help with this would be
terribly appreciated!

Best Regards,
Dan Allason
System Developer




Ads
  #2  
Old February 1st 07, 01:54 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Links Error for Public Folder Items

That sounds just plain weird. Do the items show up OK in the Activities page? And they work OK on the machine where the links are created? Are the users working from two different server replicas? Or one with offline folders?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dan Allason" wrote in message ...
Hi All,

I don't know if this is a solvable problem or not but it has had me in a
twist for a couple of days now. I am developing a CRM system for our company
sales team to use and have opted to have all contacts,tasks,journal items,
etc stored in Public Folders on our Exchange server. I have just finished
coding a new Task form to store a Contact Plan to make contact with one or
many customers. On saving the Contact Plan item I have all the selected
customers from an OVC window added to the Links collection by the following
vbscript:

Set custSelection = viewCustomers.Selection
If custSelection.Count 0 Then
For J = custSelection.Count To 1 Step -1
Set objItem = custSelection.Item(J)
Item.Links.Add(objItem)
Next
End If

Where viewIndividuals is an OVC control. This works seamlessly until you try
and open the saved Contact Plan from another machine (or perhaps user?!) and
attempt to open a link - the links are still shown in the collection but when
they are double-clicked an error is seen saying that the requested operation
(Open Calendar???) is not allowed on items of this type. I need the links
collection to work not only the activities page of a contact but so that when
the Contact Plan is completed, the VBScript can go through the links and
update their 'NextContactDueBy' date.

I have a suspicion that this problem is something to do with access
permissions or ownership of the items but can't see how this should be a
problem when using public folders (I have set all the relevant access
permissions to 'OWNER' for testing purposes). Any help with this would be
terribly appreciated!

Best Regards,
Dan Allason
System Developer




  #3  
Old February 1st 07, 11:47 AM posted to microsoft.public.outlook.program_forms
Dan Allason
external usenet poster
 
Posts: 7
Default Links Error for Public Folder Items

Hi Sue,

Thanks for your reply! The items were showing up fine on the activities page
of the creating machine but not on the non-creating machine. Both machines
were working on a single Exchange server in the online Public Folders tree. I
have now opted to link the items manually with a GUID and just have the form
create modular objects for the two links I need with each item. It works out
better this way because I am linking to a SQL back-end and wouldn't be able
to generate the links collection for records added by a back end user (at
least not very easily).

By the way - I read your book and was helped greatly by it! Big Fan!

Dan

"Sue Mosher [MVP-Outlook]" wrote:

That sounds just plain weird. Do the items show up OK in the Activities page? And they work OK on the machine where the links are created? Are the users working from two different server replicas? Or one with offline folders?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dan Allason" wrote in message ...
Hi All,

I don't know if this is a solvable problem or not but it has had me in a
twist for a couple of days now. I am developing a CRM system for our company
sales team to use and have opted to have all contacts,tasks,journal items,
etc stored in Public Folders on our Exchange server. I have just finished
coding a new Task form to store a Contact Plan to make contact with one or
many customers. On saving the Contact Plan item I have all the selected
customers from an OVC window added to the Links collection by the following
vbscript:

Set custSelection = viewCustomers.Selection
If custSelection.Count 0 Then
For J = custSelection.Count To 1 Step -1
Set objItem = custSelection.Item(J)
Item.Links.Add(objItem)
Next
End If

Where viewIndividuals is an OVC control. This works seamlessly until you try
and open the saved Contact Plan from another machine (or perhaps user?!) and
attempt to open a link - the links are still shown in the collection but when
they are double-clicked an error is seen saying that the requested operation
(Open Calendar???) is not allowed on items of this type. I need the links
collection to work not only the activities page of a contact but so that when
the Contact Plan is completed, the VBScript can go through the links and
update their 'NextContactDueBy' date.

I have a suspicion that this problem is something to do with access
permissions or ownership of the items but can't see how this should be a
problem when using public folders (I have set all the relevant access
permissions to 'OWNER' for testing purposes). Any help with this would be
terribly appreciated!

Best Regards,
Dan Allason
System Developer





 




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
Items Missing on Public Folder Calendar in Outlook chris w. Outlook - Calandaring 1 January 2nd 07 04:35 PM
Duplicating public folder items in personal folders Doug Glancy Outlook and VBA 4 December 5th 06 09:56 PM
Outlook 2000 crashes when accessing public folder items Labuiacs Outlook - Installation 0 November 13th 06 04:15 PM
Exporting certain public folder calendar items Travis Wallace Outlook - Calandaring 5 August 18th 06 07:05 PM
items not appearing in public folder. [email protected] Outlook - Calandaring 0 July 5th 06 07:26 PM


All times are GMT +1. The time now is 09:55 PM.


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.