View Full Version: Html/url To Do A Token Call

LawsonTalk > Reporting (NEW!!) > Html/url To Do A Token Call



Title: Html/url To Do A Token Call
Description: how do i make a token all via url?


mmrobinette - June 14, 2007 02:35 AM (GMT)
Hey all, we are in the process of trying to figure out how to use a url command to do a tokendef. Does anyone have any examples of how to do this. we found ways to do it in LAWFORM but we want to just enter a command in a url and call a form as well as populate fields on that form. Any help/advice would be appreciated.

mnye - June 22, 2007 06:04 PM (GMT)
Where is this link originating from? What you are trying to do is possible using Lawson Application Linking (LAL). See LAL for SmartNotifications and Reporting Services for the most dynamic usage.

If you can post more specific answer I might be able to post some sample links.

hth,
Matt

mmrobinette - June 22, 2007 07:36 PM (GMT)
Matt

Thank you for the reply.

To be more specific we were trying to call a HR11.1 screen and fill in information via a link. We couldn't find any good information on what LAL is or how we could leverage it for ourneeds. Could you assist? If so, your help is GREATLY appreciated.

mnye - June 25, 2007 07:56 PM (GMT)
Micheal,

LAL is a servlet that is provided with Framework Services portion of LBI. Im not aware if it is delivered else where. Syntax is as follows:

/efs/LAL?SID=ERP-Apptrn-login&SF=TKN&_TKN=PA90.1&_HK=[Company][Employee][Establishment][Seq-nbr]

translates to:

http://apptrn.lawson.com:7092/lawson/porta...20%20%20%200004

The above example is a static example. You can use the _DATAPARAM parameter to dynamically generate urls without having to account for all character paddings and length issues.

/efs/LAL?SID=ERP-Apptrn-login&SF=TKN&_TKN=PA90.1&_HK=_DATAPARAM~~OSH-COMPANY~[Company]~~OSH-EMPLOYEE~[Employee]~~OSH-ESTABLISHMENT~[Establishment]~~OSH-SEQ-NBR~[Seq-nbr]


ERP-Apptrn-login will equate to the ID of you Portal Login service within Framework Services.

These links can be embedded in a Dashboard, Scorecard, SmartNotification or Crystal Report.

hth,
matt




Hosted for free by InvisionFree