Wabysabi

The Personal and Professional website of Daniel Wabyick

Monday, October 1, 2007

Employee Directory V2 Released on Adobe

NOTE: Updated URL’s to adobe.com

Employee Directory V2 Screenshot
Just thought I would announce the re-release of the Employee Directory AIR application on Labs. I am excited to show off what I think is a very useful corporate directory application that provides a better experience for finding fellow employees and conference rooms.

Technically, the application is probably not the best place for pure beginners to learn Flex and AIR, as it was built using best practices for extensible medium to large applications. That said, it is a great starting point for building your own corporate directory application – its very similar to what we’re using internally at Adobe.

Some of the AIR features demonstrated:

  • Offline data storage using SQL API’s
  • Resizable, transparent windows with automatic position management
  • Data synchronization and automatic application updates

Check out the sample application here.

posted by admin at 9:15 am  

30 Comments »

  1. Hi,

    I browsed the source code, it seems really neat and will definitely be inspiring for us..

    If you have time (and if you are @Max) come by our stand (Business Objects, #37), I would be really pleased to talk to you (and I have some demo too :p)

    Mathieu

    Comment by Maz — October 2, 2007 @ 3:18 am

  2. I’d love to add into this our help desk/asset tracking list of who has which equipment.

    Numara Track-It uses a SQL db, this oughta be possible…

    Comment by Jeff (no, the other one) — October 10, 2007 @ 5:28 pm

  3. Well, now I see the reference to DSML XML schema being how Adobe used it internally, and we use Active Directory…

    Comment by Jeff (no, the other one) — October 17, 2007 @ 6:07 pm

  4. Hi, Daniel,

    What a great program! I have been studying your program for a while and I am always impressed by its elegance. I am just wondering, how long does it take you to write such a program?

    Comment by ilsh — January 14, 2008 @ 9:29 pm

  5. Heya Daniel, do you have any tutorial for your Employee Directory?

    I kinda messed around with SQL statement in your code, i did uncomment create table and all that stuff, but it still executing it.

    If you have any pointers that would be great.

    Kenami

    Comment by Kenami — February 28, 2008 @ 4:43 pm

  6. Daniel,
    The App has been removed from Labs. Where can we find it now?

    Comment by Hilary Bridel — March 13, 2008 @ 2:05 pm

  7. Ah, they moved it to adobe.com:

    http://www.adobe.com/devnet/air/flex/samples.html

    Comment by admin — March 14, 2008 @ 9:00 am

  8. How do you get it to refresh the data? In your post about the older version you said there was a ? icon. I dont see it in this version.

    Comment by Brian — August 11, 2008 @ 12:12 pm

  9. I remember this being demo’d at FlexCamp London – there was an office map feature included in that version, and there’s not one in the online demo. I don’t suppose we could see the source for that feature, could we? – cheeky, I know.

    Comment by James — September 22, 2008 @ 8:36 am

  10. James, Christian Cantrell released a library and application that interfaces with Exchange.

    http://code.google.com/p/as3exchangelib/
    http://code.google.com/p/lineup/

    Comment by admin — September 22, 2008 @ 11:03 am

  11. No documentation on the exchange library right? Any starting point you recomend. Thanks

    Comment by Juan — November 20, 2008 @ 2:09 pm

  12. Thank you for creating such a wonderful app. but before I pull (what’s left of) my hair out, could you please explain how to change the app’s data sync/refresh rate, which I believe is currently set at 24hrs???

    Thanks again!

    Comment by Chris — December 11, 2008 @ 6:58 am

  13. Hello and how are you.
    I am an experienced Flash Developer and have decided to get my feet wet with Flex. I have downloaded the Flex 3 trial as well as the source code for the employee directory app. I imported the employee director and ran it from within the flex builder and it fails every time.

    Error creating AIR file:304:ERROR, 10

    Any insight would be greatly appreciated.
    Thanks

    Comment by Garfield — January 5, 2009 @ 3:16 pm

  14. This application is excellent, I congratulate you, I am a
    systems administrator with 10 years of experience in the
    IT area, and I’m starting to break into the
    Tool Flex 3, I think that is what is best
    to develop graphical interfaces, it was watching
    application code to understand how it was
    developed but when not wanting to compile
    nothing happens, and I do not throw any error, I would love me
    could help, saying that I need to do to
    compile the application of EMPLOYEE DIRECTORY hope I
    you can help, I would greatly appreciate

    Comment by Alberto Villegas — May 17, 2009 @ 7:27 am

  15. I have question regarding using the directory for my staff and i am really new to flex and i can’t get how to handle (redo) the DB files (zip and cvs)

    [i don't really understand how we can check the reply to the questions above? i would also like to know what was said to:"Kenami" post 5 ?]

    thanks

    Comment by foxchx — May 18, 2009 @ 11:01 pm

  16. See the README and check out employeedirectory_config.xml to see how to update / configure the files. Note that its currently set to work off a zip of the empployee content. Also, you may need to set syncTimeoutHourInterval to a really small value, so that you can see your changes immediately. I believe it defaults to 24 hours.

    Comment by admin — May 19, 2009 @ 8:31 am

  17. Alberto, sorry. I don’t fully understand your problem. You are not getting an error when you compile? That’s good, right? You need to ‘run’ or ‘debug’ your project to see it actually work.

    Comment by admin — May 19, 2009 @ 8:31 am

  18. great i managed to see the changes using the syncTimeoutHourInterval, but that’s because i changed the zip manualy, what i don’t get is how to make the changes using the app…

    I might be confiused but i choose this app because the flex in a week was using it as well, i can’t figure what would allow me to go in the htm mode and upload new entries?(basically the proper way)

    Thanks

    Comment by foxchx — May 20, 2009 @ 9:42 pm

  19. Regarding the reload of data from the zip file:

    the tip about ?/! then pressing the magnifying glass seems to work (only from flex builder, not when installed, good) but it never finish uploading….

    the app shows :”uploading directory info…” and never resolves!?!?!?

    any idea why?

    Comment by foxchx — June 4, 2009 @ 11:43 pm

  20. I too experience same problem as Alberto. Whenever I import projects compiled from old versions of Flex, or AIR application that plays in old versions of AIR, I always replace this line of code in the xml of the main application mxml:

    to

    I don’t know if I am doing it right but it works for me. Violent reactions are welcome ^_^ I am noob in AIR as well as Flex.

    Mcometa

    Comment by Mcometa — June 10, 2009 @ 1:36 am

  21. Ooops, code did not display.

    From:

    application xmlns=”http://ns.adobe.com/air/application/1.0″

    to

    application xmlns=”http://ns.adobe.com/air/application/1.5″

    Double post >_<

    Comment by Mcometa — June 10, 2009 @ 1:39 am

  22. Thanks for the comments guys! I’ll try to have the Adobe labs guys update the app.

    Comment by admin — June 10, 2009 @ 9:45 am

  23. i would to assume that there’s ANISI vs UTF8 issue here but don’t have a clue where i can go to tweak this.

    (trying to implement chinese(mandarin) names in the adobe employee directory but i only get ???? instead)

    Any Ideas?

    Comment by foxchx — June 23, 2009 @ 11:21 pm

  24. I’ve changed the employee cvs directory and zipped it but I have no idea where to go from here. Can you sum up in laymen’s terms exactly what steps I’m meant to take? I’m tearing my hair out trying to figure this out >_<

    Comment by Kit — July 12, 2009 @ 7:57 am

  25. What are you trying to do exactly? Did you read through the config file and see if it made any sense? One of the keys to remember is that it only checks for data on a certain interval, which is set to 24 hours. You may want to delete local data, or make the config period really really small.

    Comment by admin — July 13, 2009 @ 3:29 pm

  26. As anybody figured how to fix the Chinese characters issue with employee directory???

    what i gathered so far:

    the air DB as no problem displaying Chinese characters(at least, one you change the encoding of the cvs file) you can see your chinese characters being displyed in “lita” but for some reason, when the info is transfered from the DB back to ED…all is lost.

    we are using myriad (which doesn;t support chinese characters) but i don;t think that’s the problem, i am vaguely sure that i tested with other font without success.

    thanks

    Comment by foxchx — October 13, 2009 @ 11:08 pm

  27. I know it’s kida useless now but just in case you comeback to this site… KIT

    To reset your DB you can :

    1-Delete the DB from your desktop (C:\Users\{username}\AppData\Roaming)
    Just delete the directory called “employee directory” when the app look for it, if it aint there, it will recreate a new one with the latest CSV that was zipped. (best way cleanest way to reset your DB)

    2- You can also click on “Info” button, then click on the app icon in the info panel. there’s a script there that reinstall the Db.

    3- Is to change the update time in your configfile to 1 hour instead of 24… but frankly this 24 hour thing is a pain to work with(is useful when using the app but not for developping)

    Comment by foxchx — January 14, 2010 @ 10:59 pm

  28. Hi,
    Employee Directory is very good application, and this is helping to get good understanding on AIR application and Frame work. I would like to modify this tool as per my requirement and enhance with some more features. Could you please help me, how Do i proceed and any good tips for me. and also is there any legal problems for modifying this code?

    Please help me,i am very existed to work on Adobe applications.

    Thank you
    -Jana

    Comment by Jana — July 8, 2010 @ 5:37 am

  29. I am having no luck building this using Flash Builder. I’ve tried using the Flex 3.5 SDK but get an error:

    Process terminated unexpectedly.

    error while loading initial content

    Launch command details: “/Applications/Adobe Flash Builder 4/sdks/3.5.0/bin/adl” -runtime “/Applications/Adobe Flash Builder 4/sdks/4.0.0/runtimes/air/mac” /Users/cbol/Projects/EmployeeDirectoryAdobe/EmployeeDirectory/bin-debug/employeedirectory-app.xml /Users/cbol/Projects/EmployeeDirectoryAdobe/EmployeeDirectory/bin-debug

    When I use the Flex 4 SDK I get 11 compiler errors showing missing functions / properties. I think this is a fantastic app, and want to use it to better understand design patterns.

    Comment by Chris — July 14, 2010 @ 7:10 am

  30. Hi,
    I’ve imported it in Flash Builder 4.0 (Flex 3.5 – air 2.0.2), and tried to learn about it. But I don’t understand why I can not be able to display none ascii characters in for example TitleControls’s labeles ? It seems display those characters blank.

    BEST

    Comment by afshin — July 16, 2010 @ 5:31 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress