Salesbuilder source code available

As promised, here is the source code for the Salesbuilder Flex / Air sample application:

salesbuilder_src_beta2.zip

Disclaimer: This is work in progress and some code still needs to be polished and documented. I’m planning on continuing to develop the application, starting with complete server integration and synchronization. Your feedback and ideas are welcome.

I also took the opportunity to fix a few bugs. You can install the latest version of the app (corresponding to the source code posted above) here:

Install Salesbuilder

Christophe

  • Bobby Lashley

    thanks alot , now i can learn more flexin

  • Mike Hazard

    Thanks for the code. I’ve been checking back every so often to see if you posted it. It’s a very interesting AIR example, and I’m hoping that it might convince people here to consider developing with AIR once it’s a full release.

    Again, thanks!

  • Robinson Edward

    thanks, this code is an incentive to develop good applications.

  • Scott

    License?

  • Scott,
    I’m making this code available under the Open Source MIT license. So feel free to use it or modify it in your own applications.
    Christophe

  • Cheers for sharing Christophe, great stuff! Kharma

  • Leflou

    Thanks! I will learn a lot from that one!

  • I think you’ve just kickstarted a new level of RIA :-)

  • Michael

    Hi thank you very much,

    I get an error while trying to drag…

    ReferenceError: Error #1069: Eigenschaft null für com.salesbuilder.model.Opportunity nicht gefunden und es ist kein Standardwert vorhanden.
    at com.salesbuilder.util::DragExcel/::dgToHTML()
    at com.salesbuilder.util::DragExcel/::startDragging()

    Version 0.7 on Mac

    Maybe my fault?
    Mike

  • Hi Thanks a lot!!!

  • Aubweb

    Hi Christophe,

    Thanks a lot for your job !
    Very helpful !

    Aubry

  • The install does not seam to work for me on win XP SP2

  • Bobby Lashley

    just a heads up if u decide to open this in flex, delete the bin folder first then compile the program again otherwise ur gona get a couple of error messages and wont let you start

  • Mike,
    Good catch. Thanks! I fixed the opportunity drag-and-drop issue issue and just updated both the source code and the air file as version 0.71.
    Christophe

  • Hi Mike,

    In the opportunity page when i select a opportunity and double click on it, i am getting the following error.

    ReferenceError: Error #1069: Property OPPORTUNITY_ID not found on com.salesbuilder.model.Opportunity and there is no default value.
    at com.salesbuilder.view::OpportunitySummary/__dg_doubleClick()

    Thanks,
    Sankar

  • Bobby Lashley

    hey i am wondering since i am doing this in flex and not air, is there any way i can upload the data information to microsoft sql or would i have to manually type that stuff

  • Sheriff

    Hey, I was wondering can i get permission to release this app for Flex. I reworked it so that it uses coldfusion and microsoft Sql and rewrote the entire thing with lots of comments so people can understand what is going on.

  • Garrett

    This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

    I downloaded the code open up Flex 3 starting a new project using the salesbuilder as my source folder.

    I diden’t change anything my goal is to simply recreate the air application. I try to export it but it but the finish button is greyed out and it shows no files to check or uncheck. Any idea what I am doing wrong? This question is open to anyone so please feel to reply.

    Thanks, Garrett

  • Garrett

    Ok I seem to be getting the hang of this.
    I downloaded the code of other sample Air Apps and successfully compiled them by first using the
    “Import>Existing project s into workspace” option in Flex 3. Once imported I was then able to run the app within the Flex 3 environment (The sample I was using was the Adobes employeedirector)
    I then tried “Import>Existing project s into workspace” with Salesbuilder and it imported successfully. Great. However it will not run giving me the following message
    “The file is not launchable!” I think the problem is with the salesbuilder.mxml file. It opens (i.e. I can view in source) in Flex 2 but will not open in Flex 3.

    Not too sure what I am doing wrong but any suggestions would really, really be appreciated.
    Thanks a lot Garrett

  • Let me state a big “Thank you” I feel honored to be able to reuse such a great app during our ‘evaluation’ of air! The UI is in my point of view perfect! Let us try to create such apps for real use! Our sales reps for example would love such a thing!

    Thanks a lot
    Arno

  • Abd

    Thanks for the wonderful app Christophe!

    Can this application be configured to use LiveCycle Data Services?

  • I love the app and the LocalSQL .db file streaming.
    The design is noticeably easy on the eyes, and a joy to navigate.
    i have one comment though:
    the synchronization fxns do not update the server files, only the local DB files are Updated. If i modify the serverdata.xml file, no changes would be detected and the local .db file remains the same. the “lastupdated” node is always 0 and that makes the application skip the if statement in the DAO files. How can i upload the changes in the .db file to the serverdata.xml?

  • I wrote :
    “the “lastupdated” node is always 0 and that makes the application skip the if statement in the DAO files. How can i upload the changes in the .db file to the serverdata.xml?”

    i meant the SyncManager.as not the DAO files.

  • Garrett

    Has anyone converted Salesbuilder to Flex yet? I’ve managed to get the Salebuilder for Air working now looking at migrating it so its a Web app. If anyone has can they let me know here or/and garrettatreynolds.yahoo.co.uk

    cheers

  • Sheriff

    ya i have, but i rewrote the entire thing, i dont know if i even have permission to post it, since technically it is not my idea

  • Garrett

    Hi Sheriff – have you seen the question about licence and Christophe’s reply further up the page?

  • Mrs. Weasley

    Sheriff,
    The source was posted “under the Open Source MIT license. So feel free to use it or modify it in your own applications,” according to Christophe. You ought to post source for your version just to show your appreciation for the work of those that came before you!

  • Sheriff

    Here is the link
    http://code.google.com/p/salesbuilder/downloads/list

    its 85% done, i did it before school started and it took me a week. Lots of comments and stuff. I’ll finish it hopefully before end of the month. Everything is functional except sending stuff back to the Database and a little minor stuff.

  • Garrett

    Sheriff – thank a lot for putting the code up – its a great piece of work – all the comments are really helpful

  • Pingback: Just Flashing - Today’s Top Blog Posts on Flash - Powered by SocialRank()

  • Willy

    (on 1st october) When I try to launch Salesbuilder.air version 0.71 it says: This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. So can you update it please ? Seems a great app by the way !

  • Alex

    Just getting into flex.
    Thanks for the code…an open source like that is better than any book, tutorial etc…

  • thanks for the GREAT post! Very useful…

  • Bjorn

    Hi Christophe,

    Are you using a modified version of Myriad Web Pro.
    One where the glyphs position is actually lowered.
    If so do you have a modified version of Myriad Web Pro Condensed

    regards,

    Bjorn

  • Pingback: betting card strategy 7 stud()

  • Pingback: » Blog Archive » SalesBuilder()

  • Flexxor

    Does anyone have advice/instructions for how to get the database operations hooked up in Flex Builder 3? I’ve messed around with the code for a while and the app finds the database but every time a sql statement is executed the app throws an error – if I try to reinitialize the database (home -> initialize database) I get error #3105: “Operation is only allowed if a connection has an open transaction” — PLEASE HELP!

  • thanks alot , now i can learn more flexin

  • ya i have, but i rewrote the entire thing, i dont know if i even have permission to post it, since technically it is not my idea

  • thanks for the GREAT post! Very useful…

  • thanks

  • When I try to launch Salesbuilder.air version 0.71 it says: This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. So can you update it please ? Seems a great app by the way !

  • This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

  • now i can learn more flexin

  • thanx nice post good

  • This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

  • Hi Thanks a lot!!!

  • Is it still work in progress or has the completed version been posted elsewhere? thank you

  • thanks very nice

  • adem
    Matbaa

  • seri üretim,fiyat uygunluğu ve kaliteli üretim bizlerde

  • seri üretim,fiyat uygunluğu ve kaliteli üretim bizlerde.http://www.jonsunsport.com/antrenman-malzemeleri.html

  • nice and veryyyy good works

  • Etiler Klima Servisi

    great share thanks

  • Paul Ambler

    Hey, what a brilliant blog post I have discovered and also believed me I have been seeking for this comparable type of message for past a week and also hardly encountered this. Thanks very much and will try to find even more postings from you. donegalatlanticwayultra.com/download-gmods-latest-version-for-free-with-multiplayer/

css.php