Inside Windows Live Contacts Control

How it works? I meen is there any web services that helps retrieve groups and contacts? Is there way retrive this information from desktop application?

[214 byte] By [AlexanderS.Manenko] at [2008-2-6]
# 1

Hi Alexander,

I'm working on a blog article that dives into the details of how the contacts gadget is able to send contact data across domain boundaries after end user approval. Hopefully that will be posted in the next week or so, after I return from TechEd Europe.

The contacts control cannot currently return group info, but that is on our to-do list. How would you want to receive that info? Find out what groups a contact is a member of, or find out what contacts are in a specific group? Remember that the end user has to approve any data transfer first.

The only way currently available to retrieve contacts in a desktop app is to place an html control in your app to host the contacts control, and then use ActiveX scripting interfaces to transfer the data from the control to the app. I haven't done this myself, but I believe it can be done.

Part of the reason we're focused primarily on the browser web app as a dev platform for the contacts control is that it targets a much larger audience than a Win32 or .NET control. The contacts control can be used on Windows and non-Windows machines, in a variety of browsers, and can be incorporated into a web app by just about anyone with a little bit of scripting experience.

-Danny

DannyThorpeMSFT at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 2
Hi Danny!
Thank you for your answer! I'm wating for your article =)
I'm interesting on retrieving something like tree of groups and contacts (xml?):
group1
user1 (user info)
user2 (user info)
user3 (user info)
group2
user4 (user info)
user5 (user info)
...



AlexanderS.Manenko at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 3
I would really appreciate the possibility to (de)select all contacts in one click.
kratpalm at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 4

Ok, I see what you're looking for now. Thanks for the feedback!

The contact infos are returned as an array of JavaScript objects. To return groups, we could return an array of groups, and each group contains an array of contact infos.

-Danny

DannyThorpeMSFT at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 5
Yes, it's can be helpful, thanks :)
AlexanderS.Manenko at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 6
Danny, can you tell me if there will be a "select all" link in the future? That -easily implemented- feature is something really, really useful!
kratpalm at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 7
Here
AlexanderS.Manenko at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 8

Hi Kratpalm,

I think it's likely that eventually the contacts control will add a "select all". The main factor to push that forward is for MS to see enough demand from legitimate (non-abuse) scenarios to outweigh the abuse scenarios that worry the keepers of the data.

The good news is, it would probably only take one major (Amazon-scale) client to demand the feature for it to break through the resistance. The bad news is, in the absence of a major client, it will take a lot longer for the little guys to gang up and present a strong enough case to break through the resistance.

Being one of the little guys myself, I think it will happen eventually, either way. It just may take awhile.

-Danny

DannyThorpeMSFT at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...
# 9

Hi Danny,

I think my employer will be very glad to hear this.

Thanks!

kratpalm at 2007-9-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...

Windows Live Developer Forums

Site Classified