This scenario may be familiar for you if you’ve been living in the Lawson world.
Let’s say Sarah got promoted or transferred to a new position. The first thing we do is assign Sarah her new security access, but all the Lawson jobs/reports that she used to run no longer pertain to her new position. Rather, Sarah needs a new set of jobs to run and instead of creating them one by one from another user in her new department, we can simply copy them over from another user.
delusers
By the name of the command, you may think we are deleting users, but nope, there is a hidden gem inside.
First, lets login to LID and then type the delusers command and press enter
You’ll now see a list of your users >> Press F8
You’ll now be able to Copy reports and jobs:
Make sure you select “Yes” for Reports and/or Jobs.
Any existing jobs/reports that have the same name from the user you’re copying from will be prompted to rename the jobs/report before continuing.
Enjoy your new jobs/reports!
https://www.nogalis.com/wp-content/uploads/2016/05/Copy-User-Jobs-Reports-to-Another-User-1.jpg646711Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-05-23 11:57:212016-06-02 15:34:19Copy User Jobs/Reports to Another User
If you haven’t already done so, implementing SSL after the install is a bit of a black art. Without going into gory detail, here’s a very simple set of steps to follow:
On the LSF server turn off all the services related to lawson aside from ADLDS
Import your new certificate (preferably a wildcard cert) into windows as a personal cert
Create a binding within IIS using the imported certificate on port 443
Load up your favorite ldap editing tool. We prefer this one.
Under O=lwsnrmdata -> OU=resources you’ll find all your users and services. You’ll want to edit the following identities (or more if you have other service URLs):
BPM
IOS
IOSAdmin
LSAdmin
mingle
mingle_env
SSO
SSOP
Environment
In each of the cases above you’re going to modify the Service URL and any other http protocol. You’ll also want to change the PROTOASSERT attribute from “Use HTTP only” to “Use HTTPS always”.
Then change every relevant entry in %LAWDIR%/system/install.cfg that refers to http, protoassert, or the secure ports. They’re relatively easy to find.
You can now reboot the LSF server and restart your services.
If you have Landmark installed, then bring up the rich client
In the GEN productline, navigate to: “Security System management” > Services
Change every service to HTTPS_ONLY and change the service properties to HTTP Port=-1 and HTTPS Port=443
Change all the relevant entries in system/install.cfg
Reboot the Landmark server
Run all the smoke tests with updated URL to verify everything is working
If you are using inbaskets you’ll want to import your certificates into Websphere as well but that’s a topic for another article
https://www.nogalis.com/wp-content/uploads/2016/05/How-to-implement-SSL-for-Lawson-Portal-1.jpg464500Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-05-16 11:21:502016-05-16 11:21:50How to Implement SSL for Lawson Portal
When you upgrade to Lawson version 10, you might notice some issues with session timeouts. The most common issue that I’ve seen is that the user will get 30+ blank popups. IF they have the patience to close each popup individually, they can eventually get back to the browser screen and close it. That’s the only way to start a new session. However, most users do NOT have the patience to click 30+ times, and they end up having to kill their browser session in Task Manager. Either way, it is no fun.
Here are some examples of the popups:
Luckily, with several encounters of this bothersome task, here is a solution on how to fix it:
Step 1: Make sure you are on the highest patch level of ios.jar and lawsec.jar for your version of Lawson.
You can find your current version in LID by typing in the commands “univver ios.jar” and “univver lawsec.jar”.
Then, you can check with Infor support to determine if you need to update, and they will direct you to the appropriate patches
Step 2: Copy the msgdlg.xml to the appropriate location
The system seems to generate all these popups in a panic because it can’t find the msgdlg.xml file where it is expected
Navigate to LAWDIR/persistdata/lawson/portal/data/msgs/en-us.
If the msgdlg.xml file is there, COPY it to WEBDIR/lawson/portal/data/msgs/en-us
If the msgdlg.xml file is not there, ask Infor to provide it for you
Once you copy the file over, upon session timeout you should receive ONE popup message. Once you click OK, you will be taken back to the logon screen where you can start a new session.
If you have every had to figure out what version of a certain Java executable you have you will appreciate this simple trick. Simply point your browser to this url:
This example displays the version of the ios.jar file as shown below.
In the above case the version of ios.jar file on the server is 9.0.1.11.521.
This information can be very helpful when working with Infor support to determine if patches are needed.
https://www.nogalis.com/wp-content/uploads/2016/05/How-to-determine-the-version-of-your-Lawson-jar-files-1.jpg441500Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-05-09 13:32:542016-06-02 15:23:51How to determine the version of your Lawson jar files
During an upgrade, re-pointing all your LBI reports to your new database may seem like a daunting task. Never fear! You don’t have to do it manually (at least not all of them). Here are the steps to overwrite your data sources using a SQL update query:
Create an ODBC connection on your LBI server that connects to your NEW database server.
Don’t forget that you have to use the 32-bit ODBC tool for LBI data sources!
Create your new data source in LBI
Tools > Reporting Services Report Administration > Server Administration > New Data Source
Open SQL Server Management Studio (or whatever database management tool you use)
Log-in to your LBI database server
Navigate to the LawsonRS database
BACK UP YOUR ERS_REPORTDATASOURCES TABLE! (You should always back up the table or the database if you are making changes directly)
Run a query to view all the reports for which you plan to change the data source:
When you are ready, run your update query using the same WHERE clause that you used when you viewed your reports in step 7
NOTE: you are updating RSDATASOURCE. This is so that the report data source will be overridden.
If you have a new username & password for this data source, you will also need to update the DEFAULTUSER and DEFAULTPASSWORD fields as well.
Now your reports should run against the new data source. There are a few cases in which you will need to manually reset the data source in Crystal and republish the report. They are:
If your report mixes schemas (i.e. it uses tables owned by dbo, and views owned by xyz)
If your report has subreports
If your report has a command that explicitly defines the database name (and the database name has changed)
There may be more, but these are the instances that I discovered on a recent upgrade!
https://www.nogalis.com/wp-content/uploads/2016/05/A-More-Efficient-way-to-Update-Report-Data-Sources.jpg454500Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-05-06 07:39:342016-06-02 15:21:33A More Efficient way to Update Report Data Sources
So your client has scheduled LBI reports that they rely on and for whatever reason, it didn’t run on the day it was scheduled for. Now, it’s Monday and it’s too late to run the report manually! Furthermore, the client wants the report to be available in the LBI “History” section of the report viewer for later reference.
First thing we need to do is start Crystal Report and open the latest instance of our editable report. For our client, this is located on their LBI server in: D:\LawsonDocuments\60_Revenue Check Daily – MRN\
Once your report is open, either enter the date parameters for the report (if it takes parameters) or hard code the dates in the report to reflect the day it was supposed to grab data from. Don’t forget to set the front-end display dates that the end-user will see.
Once the data is verified by the end-user, export the report in crystal format.
Select a directory and name you want your crystal report to export.
Now, find the directory of the instance that didn’t run properly or simply does not exist.
For me, this wasD:\LawsonDocuments\60_Revenue Check Daily – MRN\Instances\2016-04-08_1606\
If a crystal report exists in that directory, delete or move it elsewhere.
Now copy in your exported LBI report that you edited and rename it to the exact name of the report + “_instance number”.
Ours is Revenue Check Daily – MRN + _1606 so Revenue Check Daily – MRN_1606
The instance number can be found in the folder name that is generated by LBI.
That’s it! You can now go back to LBI Report Viewer and click on that report that errored out earlier.
https://www.nogalis.com/wp-content/uploads/2016/05/How-to-Fix-a-Scheduled-LBI-Report-That-Didn’t-Run-Properly.jpg646711Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-05-02 13:54:522016-06-02 15:19:13How to Fix a Scheduled LBI Report That Didn’t Run Properly
Administering Lawson on Windows has traditionally required using the basic toolset within windows to get things done. With Windows 2012 it seems like some of the very basic tools users are used to are hidden away and require several extra clicks to get to. Here are some quick ways to make Windows 2012 easier to deal with:
This is by far the easiest way to get Windows 2012 to act more like Windows 2008.
Method 2
Since installing 3rd party applications like Classic Shell is not going to appeal to every client. Here’s a quick way to get at least your programs menu back without the help of any 3rd party applications:
Steps (4 total)
Display “Hidden items” on your C: Drive – Open File Explorer and browse to your C: Drive. On the View tab, check the “Hidden items” checkbox.
Add a New Toolbar on your Taskbar. – Right-click on a blank area of your Taskbar and select Toolbars > New Toolbars.
Browse to the Start Menu\Programs folder. – In the New Toolbar dialog box, browse to the “C:\Program Data\Microsoft\Windows\Start Menu\Programs” folder.
Click the “Select Folder” button. – Click the “Select Folder” button to add the new Toolbar to your Taskbar.
https://www.nogalis.com/wp-content/uploads/2016/04/How-to-Setup-Your-2012-Server-for-Easy-Administration-1.jpg434475Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-04-25 13:30:512016-06-02 15:16:58How to Setup Your 2012 Server for Easy Administration
After dust from the upgrade settles, it’s usually time to automate any and everything that can be automated. When it comes to Lawson (LSF) related services though things can get a big tricky.
There’s a precise order bringing up the services on windows and one way to ensure this happens correctly is to setup service dependencies on your windows applications server.
Let’s first review what depends on what and why.
The services that need to come up are in order:
ADLDS
Lawson Environment
IBM Webshphere Cell Manager (Optional)
IBM Websphere Node Agent
IBM Websphere Application Server
Web server (IIS)
Obviously, since all the authentication work happens through ADLDS, it makes sense that it would be the services to come up first. And since ADLDS has it’s own set of dependencies, we don’t need to create new ones there.
Next we setup a dependencies for the Lawson Environment Service to depend on ADLDS.
To do this, bring up the services window (Start-> Run-> services.msc).
Right click on your ADLDS service and note the service name.
Right Click on your Lawson Environment Service and note the service name.
Now bring up a cmd prompt as administrator and type in the following command:
sc config [service name] depend= <Dependencies(separated by / (forward slash))>
Note: There is a space after the equals sign, and there is not one before it.
Warning: depend= parameter will overwrite existing dependencies list, not append. So for example, if ServiceA already depends on ServiceB and ServiceC, if you run depend= ServiceD, ServiceA will now depend only on ServiceD.
In the above example, my Lawson environment service is called “laserv-prod” and my ADLDS service is called: “ADAM_ProdInfor10ADLDS”.
Once you hit enter, a message should appear that says: “[SC] ChangeServiceConfig SUCCESS”
You have now setup a dependency for the Lawson Environment service to depend on ADLDS. You can confirm this by checking the service properties:
Now you can continue with the rest of the services and setup dependencies as you go. Keep in mind that the Cell manager is really an optional service and you may not want it running all the time, so you can avoid that dependency if you like.
Next, you’ll want to change all the services named above to be automatic. We usually don’t setup any recovery options as they can lead to some unintended results.
In the end, your Web Server’s dependencies should look similar to this:
https://www.nogalis.com/wp-content/uploads/2016/04/How-to-setup-dependencies-for-Lawson-services-1.jpg646711Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2016-04-18 15:15:372016-06-02 14:42:05How to Setup Dependencies for Lawson Services