View Full Version: Lbi And Linking To Portal Forms

LawsonTalk > Reporting (NEW!!) > Lbi And Linking To Portal Forms



Title: Lbi And Linking To Portal Forms
Description: Links on a DB that open a Lawson form


mtom5 - May 1, 2007 05:02 PM (GMT)
Has anyone had difficulty implementing a link on a dashboard that opens a Lawson Back office form (such as PO20) using the method described in the LBI manual?

I keep getting and error and Lawson has suggested I look at KB article 551424
which has a totally different procedure than what is outlined in the manual.


mnye - May 1, 2007 06:38 PM (GMT)
can you post the link you are using and also the error youre recieving?

vc727 - May 1, 2007 08:24 PM (GMT)
launchForm("LAWFORM|PDL="+ top.lawsonPortal.getUserVariable("PRODLINE")+"|TKN=HR11.1")

I use links like this one to jump from a dashboard back to portal screens. They work fine as long as the action selected is

onClick

We don't have the PO system or I would have tried to get to the form you requested. I do use it for many different forms

for custom custom forms this one works

launchForm2("LAWFORM|PDL="+ top.lawsonPortal.getUserVariable("PRODLINE")+"|TKN=HR11.1"+"|ID=vc_quickview")

where the ID=" " is the custom form id from design studio.

mtom5 - May 2, 2007 01:41 PM (GMT)
Here is the script from the CONTENT tab

launchForm("LAWFORM|PDL=DEVL|TKN=PO20")

And the error message is:

Could not launch the requested portal form - Permission denied

mnye - May 2, 2007 04:13 PM (GMT)
What action did you select? Be sure you properly edited your servenv.js file on both the Portal and EFS server.

When you click the link is the error originating from the dashboard or after Portal form is attempting to load?

mtom5 - May 2, 2007 05:25 PM (GMT)
Thanks - I have my IT folks looking at the servenv.js file now

shane pennington - May 10, 2007 01:32 PM (GMT)
Try this:
----
FSRemote?fsid=ERP:ERP-PROD Portal:PO20&_HK="yourcompanynumber"
----
The "fsid=" breaks down as follows:

"ERP" == Provider Type
"ERP-PROD Portal" == value of the "providerid" on your "Display Portal Form" service.

You can get the information specific to your instance by going to Manage Services on the Tools dashboard and clicking the "Display Portal Form" for the Portal Service.

If you do not have a Portal Service under Manage Services, you will have to register one. This is very easy to do, just let me know if you need help.

mtom5 - May 17, 2007 07:54 PM (GMT)
Shane:

I don't seem to have the "Display Portal Form" in my Manage Services menu. Which Module should it be displayed under??

mnye - May 18, 2007 01:24 PM (GMT)
this would be under the Portal module. If you havent registered Portal within EFS, go back to the Tools dashboard, click Register Applicaiton then click the Portal link for the version you are on. I believe you just need to put the portal base url NOT the full Portal url. Once youve done this you should see the Portal module.

hth,
matt

mtom5 - May 18, 2007 07:53 PM (GMT)
Where could I find the data for

&_HK="yourcompanynumber"

Thanks

mnye - May 21, 2007 01:10 PM (GMT)

mtom5 - May 21, 2007 07:26 PM (GMT)
When I tried that link to KB I got:

This document existed at one time in the Knowledge Base. Since then, it has been removed

Can you send a copy of article

mtombasco@geisinger.edu

Thanks

mnye - May 21, 2007 09:38 PM (GMT)

mtom5 - May 23, 2007 07:42 PM (GMT)
Thanks for your help but I am tired of playing with this. I think I am going to deploy LBI as a shortcut in Portal so that if a user wants to get to a Portal form they just enter the form number in the Search window

cjmart - September 28, 2007 08:46 PM (GMT)
I realize you have decided to go a different direction, but for the benefit of others...

The error you specified does to point to your servenv.js. Check out this link:

http://kmsearch.lawson.com/kb/showdoc.asp?...avkey=568143530

Btw, for an informative article that talks about "_HK" in more detail, check out this link:

http://lglug.org/feb06%20mtg%20-%20uploadi...a%20actions.doc

cjmart - September 28, 2007 08:49 PM (GMT)
Regarding identifying Hidden Key values ("_HK"), this one's even better:

http://kmsearch.lawson.com/kb/ShowDoc.asp?...K&clientId=6073

mtom5 - October 30, 2007 07:52 PM (GMT)
I now have the following working in LBI 9.0.2

http://<MY SERVER>/lawson/portal/index.htm?&_TKN=PO20

Works like a charm - right to the PO20 screen !

cjmart - October 31, 2007 02:59 AM (GMT)
Great to hear. I thought that this wasn't working previously. What changes did you have to make to get this working? Was it the servenv.js?

mtom5 - November 1, 2007 07:41 PM (GMT)
Not sure why it works now - all I know is that this URL did not work

launchForm("LAWFORM|PDL=DEVL|TKN=PO20")

and this one does

http://<MY SERVER>/lawson/portal/index.htm?&_TKN=PO20




Hosted for free by InvisionFree