Using Perl to query Lawson DME revisited with LSF9 environment

 1 Replies
 0 Subscribed to this topic
 1 Subscribed to this forum
Sort:
Author
Messages


jeremy.zerr











Advanced Member



Posts: 23




Advanced Member



    So we just got the LSF9 environment, and I just found out that one of the things that changed is the method of authentication for DME queries.

    In the 8.0.3 environment, basic HTTP authentication was used, which is very easy to navigate using perl.

    However, in the LSF9 environment, the DME authentication switched to the Lawson server side auth, which is basically requiring a login to the same login form that normal users have to log into Portal with.

    This means to access LSF9 DME with a script, we must simulate a login (filling in username/password, and clicking Login) to be authorized to call a DME.  Yeah, its kinda tricky.

    To avoid putting a lot of code on here, I already posted about it on my blog with the full code needed:

    Using perl to access Lawson LSF9 environment DME

    Let me know if you have problems using it.  It works in our environment with the Lawson delivered login page and even through the secure https URL that is the only means we have access to our hosted server.  What you do with the output of the DME query is up to you (but of course I do have some code to parse that out too).

    Thanks,

    Jeremy Zerr

    St. Luke's Regional Medical Center, Boise, ID



    jrbledsoe001











    Veteran Member



    Posts: 91




    Veteran Member



      Hi Jeremy! 

      I just found you on the MS Add In forum.  I see that you are still doing amazing things.  Keep in touch!!

      joanna.bledsoe@jhsmh.org