Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Accessing a user defined field in an Outlook Contact

by traveler (Parson)
on Oct 02, 2006 at 22:33 UTC ( [id://575972]=note: print w/replies, xml ) Need Help??


in reply to Accessing a user defined field in an Outlook Contact

I think for your custom fields you need something like
print "Test Field 4: $item->UserProperties(Test4)\n";
(but I have no easy way to test it here).

Replies are listed 'Best First'.
Re^2: Accessing a user defined field in an Outlook Contact
by Anonymous Monk on Oct 03, 2006 at 15:17 UTC
    That seems to be very close, but not quite there. I get the following output:

    Test Field 4: Win32::OLE=HASH(0x1974e98)->UserProperties{Test4}

    How do I get to the actual value?
      In my post I have UserProperties followed by parens because it is a function. Your error shows curly braces. Did you use parens?

      You could also use Data::Dumper to print the $item hash.

      HTH

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://575972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found