Tag Archives: Mashups

Enabling a button on CurrentItemChanged in a Mashup

One of the nice features in WordPress is that I can see what users search for on my blog. One of the searches last week was “xaml enable button after listpanel currentitemchanged”. In this case I think I know what the reader wanted to do so this post is about how to control IsEnabled on a button depending on the current item changed event. Continue reading

Formatting dates and numbers in a Mashup

Lawson Smart Office comes with a set of converters developed for making formatting issues easier in Mashups. Much formatting can be done using StringFormat and this is standrad WPF. But if you want to use the M3 user’s format or if you want to surpress Zero there are converters that we have developed for you. Continue reading

Selecting the first row in a M3 list to trigger CurrentItemChanged

When you have a M3 list in a Mashup a common scenario is that you would like to have the first row selected so that any dependant mashup control can react to CurrentItemChanged.

This is for example a scenario when you open the Mashup from a panel with JScript so that you pass in a Customer id, CUNO. You want to load related information right away. This requirement is something that we will consider for future versions to have an option to say, ‘select first line on startup’.

But until then there is a workaround that involves using a JScript to set the selected item in the list. I’ll do an example with a mashup that loads CRS610 and reacts to CurrentItemChanged to load related data in a MIPanel. Continue reading

Connecting a S3 form with Landmark Application Data

I’ll show you how easy it is to create a Mashup that connects a S3 Form and data from Contract Management, a Landmark Application. In Lawson Smart Office 9.1.2 we introduced three new DataService controls; the DataPanel, DataListPanel and DataDetailPanel.

In the first version we added support for making REST http calls to web services as well as making M3 API Calls. In 9.1.3 we added support for a Landmark DataService. If you like to implement and plugin your own DataService as part if using LSO SDK that is as simple as implementing an Interface (IDataService) and registering your service. Continue reading