Explore the community Forums Lectora Inspire Tools Questions & Answers Getting data from offline published title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #443726 Score: 0
    Profile photo of LBY
    LBY
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    @LBY

    I want to run a title in a Win-10 tablet offline and want to store/read variables to/from database (e.g. score, progress, last location) so that a report can be generated. I have read that this can be done via ‘cgi script’ and Put and Get  but I am kind of confused. I think (?) this is done inside the title in some script.

    There will be an app that registers users in the db and when user login he/she can launch the title and that’s the data I want to store in the db. The app is being written but the guys don’t know anything about Lectora and I want to know what can I do an/or tell them to get the info.

    Does anyone has any suggestions please?

    Thanks,
    Louie
    Lectora Inspire 18

    #443760 Score: 1
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    74 pts
    @wheels

    So this is a pretty involved topic, and you’d be better off if you can get down to some specifics.

    For now maybe try these examples for a leader board, it shows how to interact with variables and putting in scripting to do two way server communication.

    https://elearningbrothers.com/blog/how-to-create-a-leaderboard-elearning-google/

    How to Create a Leaderboard for eLearning with Google (Part 2)

    This post has received 1 vote up.
    #443774 Score: 0
    Profile photo of LBY
    LBY
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    @LBY

    Thanks Joe.

    I am a taking a look at this now. I hope it guides me in the right direction.

    The samples you sent me deal with  writing/reading data to Google which I imagine is similar to a database through cgi script, correct?

    Thanks again for your help.

    Luis

    #443867 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    74 pts
    @wheels

    Hi @lby,

    I picked the example because it shows the necessary client side pieces that you need to do Lectora to Server communication. For your server side situation you might search for specific information on that, this isn’t probably the best place to get server side scripting information, unless it is specific to a supported feature in Lectora. But that being said there are a lot of very smart people in our forums who might jump at a challenge.

    Always glad to help (or try to help)!

    – Joe

    #443986 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    friend finder
    47 pts
    @CarlFink

    Joe, I don’t know if you noticed, but LBY wants to interact with the database “offline”. Perhaps via an EXE file? That takes the “server side” out of the equation, yes?

    I have never really used Lectora executables–do they start a local web server, the way previewing HTML does? Is that local server capable of database interactions?

    #449708 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    74 pts
    @wheels

    Hi @lby,

    @carlfink is right, I totally missed your use case of being in an offline environment. It would depend on what you have available on the Windows tablet, and if you plan to use published offline executables, or a HTTP server to run the courses. It would be helpful to expand on how you intend to launch the courses, if you still need help.

    – Joe

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.