By default, Employee Directory picks up the CSV information from a zip file. You can change that behaviour by changing the parser class.
Take a look at employeeDataURL XML node in config/employeedirectory_config.xml.
I just wanna say thank you
I tried changing the parser class
Here employeeDataURL XML node in config/employeedirectory_config.xml.
I added a new .csvfile into samplehtdocs, and added that csv file to this node. It does not get refreshed at all.
Any ideas or direction will be great.
Like I mentioned above, Employee directory picks up the CSV from a zip file. Just zip up your csv. The changes should be reflected.
Thanks for the quick reply. I was googling all these time to find the answer, but never returned to this forum to check you answer :). I added my sample entries along with the existing records in the csv and it worked fine. But when I delete all and created a new one, with some more entries. It is still showing the old entries, with out 2 new samples added. I could not get to refresh the application. Any idea, how to refresh. Thanks for your time.
Try setting a breakpoint at com.adobe.empdir.commands.data.LoadDataFileCommand.execute() to see which zip file is being parsed or if the zip file is being parsed at all.
Thanks for your time, I found the solution. I deleted the C:\Documents and Settings\user\Application Data\employeedirectory.... and it picked up the correct data, after I reran. Now the application seem to be running perfect. I shared this app with few of my colleagues. They liked it. Now we are planning to add more to the list who will use and eventually whole company.. I'm working towards that final.. I have a question (I'm googling as well), Now, 5 of my colleagues are using. How do I do auto-update to installed air to these colleagues who are already using and send the AIR to 10 more of them. The staff directory is expected to grow/ or get updated on a weekly basis. Is that possible at all, for the air to auto-update, without me sending them every week an updated AIR and reinstall. Can you direct me to any good examples, if you have come across in the AIR community. I know this should be a common problem for anyone, and adobe would have thought about it. Thanks for any help.
This is excellent stuff. AIR has built-in APIs to self update. The idea is simple, you can hit an XML file hosted somewhere to see if the installed version is up to date or not. Then, simply download the file using URLLoader, call Updater.update().
I suspect that is already built into employee directory. Check the config file at src/config/ for checkForAppUpdates and appCurrentVersionURL. You'd need to change the appCurrentVersionURL to a URL that is hosted and accessible to all the users of your application (Something like http://yourinternalserver.com/app_version.xml).
I'm tearing my hair out trying to figure out this app. I've edited the cvs file and zipped it but I literally have no idea where to go from here.
Can anyone out of the kindness of their hearts spell it out in laymen's terms for me? I'm so lost and Google is not helping
I'm having trouble getting the Employee Directory to run and wanted to see if you have any ideas.
1) 1st I installed Flex Builder 3 and I didn't do any other configuration changes to the default install.
2) I imported the employee directory zip file and it created a project for me.
3) When I opened up the employeedirectory.mxml file it's just a blank canvas. Is this correct?
4) I tried to run it, but noting happens, no errors and even under debug I get the following error:
Process terminated without establishing connection to debugger.
"/Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/adl" -runtime "/Applications/Adobe Flex Builder 3/sdks/3.2.0/runtimes/air/mac" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug/employeedirectory-app.xml" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug"
Output from command:
error while loading initial content
Any ideas to get me going?