简体   繁体   中英

How can I import outlook contacts to a flex web application?

As the question says, I have a flex web application that I would like to have a button which imports contacts from the users MS Outlook.

Basically this functionality is necessary so the user does not have to type in all that data again.

I see this stackoverflow posting: Outlook and Python for Python/Outlook and enter link description here for Javascript & Outlook.

This blog post shows how vCards can be imported Flex & vCard but I was hoping for something more direct.

Any suggestions ?

When working with a Flex Web application you are not able to arbitrary access user's machine local data (like accessing files, retrieving directory list etc) as it is restricted by the Flash Security Policy.

In your case I see 3 solutions:

  • make a user explicitly select each vCard file, in this case Flash will allow this;
  • or use Adobe AIR. AIR can access local files without Open File dialog box;
  • load vCard files over the net with HTTPService or something like that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM