In my user profile service in sharepoint, I have created some custom properties (using Business Connectivity Services) for people to have.
One of them is called "MyOffice".
How can I get the value of this property using the client object model script for the current user logged in?
I know that I can do things like get items created by current user using the
<UserID/> code in caml query, or if I get an items Author field, I can call the getlookupid() function on it, and it will give me its username.
Is there a way like this I can get the value of a custom property, if I pass in a people object or lookup name or something?