Solved

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

Posted on 2013-01-31
3
326 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 300 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
Changing a few Outlook Options can help keep you organized!
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
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…

734 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