Since there is no way to debug a JScript in LSO developers have to use other means to find errors. This can include writing to the debug console in the Script Tool, writing to the Smart Office log file or the classic, showing dialog boxes.
In many cases you want to write both to the debug console for development purposes and to the log file for troubleshooting deployed scripts. One way to solve this is to create your own wrapper functions that does both these things and some of you have probably done this already. To make logging a bit easier from JScript we have added some new methods and properties to the ScriptDebugConsole class. First I will describe how a log wrapper function might be implemented and then how the new API methods can be used to remove the need for a wrapper function. Continue reading
This post will cover something that you can do in JScript that is actaully on the edge of what you can but shouldn’t do. JScript is a great tool for doing small enhancements to M3 panels and S3 forms. However doning more advanced stuff requires a lot of experience. There are however a few tricks that you pick up along the way. In this post I’ll show you two useful things.
1. How to log to the Lawson Smart Office log file.
2. How to simulate pressing a key, in this case we will use page down.
3. How to run against your own local script instead of the central deployed onces. Continue reading
This post describes some of things you need to be aware of when building a Mashup using bookmarks that have dates as part of the primary key. The first part is a rather long discussion of why things are the way they are but if you’re just interested in how to get things working you can skip this and jump to the second part directly. Continue reading
As you all know Smart Office is installed with the help of Lifecycle Manager (LCM), but do you know that fixes to Smart Office are delivered through Customer Correction Self Service (CCSS) and downloaded and applied through the LCM client? Continue reading
In Lawson Smart Office your home is the Canvas. You have your informative widgets and your shortcuts just one click a way. But what if you would like to completely swith the canvas for a specific task so that the widgets and shortcuts reflect the type of work that you need to get done? I’ve written about How to create a Menu Widget using the News Reader Widget, you can take this one step further by having the links in the RSS Xxml to point to different Canvas files. Continue reading