Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Modify Outlook 2007 Task Form to get a resource via HTTP & Parse XML from SharePoint

Posted on 2013-01-31
3
Medium Priority
?
330 Views
Last Modified: 2013-02-20
In SharePoint 2007, I have a project task list. One of the columns in that project task list is a lookup to the project list to get the project name.

I connect the project task list to Outlook and can now manage these tasks from Outlook.

Since the project name is a lookup in the SharePoint project task list (that I connected to Outlook), I cannot see the project name in the Outlook task form.

Is there a way to modify the task form in Outlook, possibly with VBA, to get a resource via HTTP? If so, I can reference the XML from the project list but then I would need to parse it to reference only the project name column (is that possible)?
0
Comment
Question by:lessthan2
[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 76

Expert Comment

by:David Lee
ID: 38843245
Hi, lessthan2.

You can modify the task form in Outlook and you can add code to the form that gets a value from a web page.  That code would be in VBScript though, not VBA.  I'm not nearly knowledgeable enough on SharePoint to tell you how to go about doing what you've described though.  Do you have the URL of the project list?
0
 

Author Comment

by:lessthan2
ID: 38844748
Yes, I do have the URL for the project list. Are there examples of the VBScript that you can point me to?
0
 
LVL 76

Accepted Solution

by:
David Lee earned 1200 total points
ID: 38844797
You can use something like this to get whatever the URL points to.  You'll then have to parse the returned string to get what you want.

Function GetURL(strURL As String) As String
    Dim objHTTP
    Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP")
    objHTTP.Open "GET", strURL, False
    objHTTP.Send ""
    GetURL = objHTTP.responseText
    Set objHTTP = Nothing
End Function

Open in new window

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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: …

718 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