Introduction to Web Mashups

Here’s a quick introduction to Web Mashups for Infor M3Ā H5 Client;Ā Web MashupsĀ are the cousinsĀ of Infor Smart Office Mashups. To do Web Mashups, you’ll needĀ Infor Smart Office, the Mashup Designer, and Infor M3 H5 Client.Ā I’ll showĀ lots of screenshots.

What are Web Mashups

Historically, Smart Office Mashups were just called Mashups and would run in Smart Office. Smart Office is currently the main user interface for M3, built using C# andĀ Microsoft WPF. With the launch of InforĀ M3 H5 Client released aboutĀ 2013, M3 can now run in HTML5/JavaScript in any major web browser (for example Microsoft Internet Explorer, Google Chrome, Apple Safari, Mozilla Firefox), in any major operating system (for example Microsoft Windows, Mac OS, Ā Linux, etc.), inĀ any major device (Mac, PC, iPhone, iPad, Android, etc.). As part of that web enablement,Ā Mashups are now automatically converted fromĀ Smart Office Mashups to Web Mashups, and they can run inside H5 Client or standalone in a browser.

To doĀ Web Mashups, the developer creates Mashups as usual in XAML with the Smart Office Mashup Designer, and the server converts the XAML the best it can intoĀ HTML5/JavaScript, jQuery, REST/SOAP, and JSON/XML. CurrentlyĀ Web Mashups don’t support all the controls that Smart Office Mashups supports. I successfully tested m3:ListPanel, m3:DetailPanel, as well as Grid, StackPanel, Label, TextBox, and Button. It seems MIListPanel and MIDetailPanel are not supported. It seems Document Archive is supported. And it seems XAML’s ListView may already beĀ supported, to be confirmed. According to the Product Manager and component owner at Infor, they are adding support for more and moreĀ controls. I expect loss along the conversion as I don’t think it’s possible toĀ automatically convert all ofĀ XAML, Binding, Converters, and other advanced WPF tricks. But it should work fine if we stick to a specific subset of Mashups.

Documentation

You can read more about Web Mashups on the Infor InfoCenter:
doc

Web Mashup demo

I’m working with Ryan, an IBrix and J2EE developer at a long-time customer, to help himĀ convert IBrix from the obsolete Movex Workplace to the new M3 13.1 as part of theirĀ company’s upgrade. We’re evaluating the capabilities of Web Mashups, and the best strategy to do IBrix conversion. Here I’ll illustrate the basics.

First, I’ll create a simple Mashup usingĀ the built-in example atĀ Mashup Designer > Help > M3 Transactions > Item list & details:
1b

That simple Mashup is good for illustration purposes as it shows records from M3 Customer. Open – CRS610, and it is made of a m3:ListPanel to show the list CRS610/B, and a m3:DetailPanel to show fields from CRS610 panels EFG:
2b

Then, I’ll put theĀ XAMLĀ insideĀ a Mashup Project (*.manifest), and I’ll deploy the MashupĀ privately as a Web Mashup deployment target:
3b

Then, Smart Office opens a Deployment Result popup confirming the Web Mashup is deployed privately,Ā with two buttons Open and Debug:
4b

Then, I click Open, and Smart Office launches the Web Mashup in my browser at /mashup/web/MyMashup, and the server prompts me for M3 authentication with User Name and Password:
5b

Finally, I can use the Web Mashup, it works great:
6b

I tried the Debug to simulate a Search event with a Query parameter, but it didn’t work for me, nothing happened when I clicked Execute event, and I don’t yet know why:
7b

You can also check the version of your Mashup gridĀ application at /mashup/about/version, in my case it’s 10.1.0.3.23:
1b

You can also go to the Administration UI and see the deployed Mashups at /mashup/admin:
10

You can also generate a *.webmashupĀ package to deploy the Web Mashup globally:
g

You can also see the supported controls, parameters, and events:
7

You can also check some of the files in LifeCycle Manager:
2b

That’s it!

Also, check out the post onĀ Web Parts for H5 Client.

And don’t forget to subscribe by clickingĀ the FollowĀ button below, leave us your comments, share, and contribute.

Published by

thibaudatwork

ex- M3 Technical Consultant

9 thoughts on “Introduction to Web Mashups”

  1. UPDATE: I just found out MIListPanel and MIPanel controls are supported in Web Mashups. I don’t yet know which component enables it. I have this other customer where it works and they have Grid 11.1.11.0 27, M3 H5 Client 10.2.1.2 (Enterprise), Mashup Administration Client 10.1.0.3.23, Smart Office 10.1.1.0.19.

    Like

  2. Hi,
    Do you know which Component that enables the MIPanels and MIListPanels? HavenĀ“t found it myself yet.

    /7Olof

    Like

    1. Tjena Olof. I believe those are included and need not be activated. Ensure your Smart Office profile for the M3 settings are all correct. And check that MITest++ can call APIs. That’s all I can think of. /Thibaud

      Like

    2. Olof, I just realized you are referring to Web Mashups, not Smart Office Mashups. I think the MI controls are version based, you must have a certain version of H5 to get the MI controls, something like that. Check with Infor Support. /Thibaud

      Like

  3. HI there,
    I would like to get training on MM/WM and Financial modules. Is there anyone who can help me?

    How can I download Infor Smart Tool for practice?

    Like

    1. Hi Johnny, I am not a financial consultant, so I am unable to train you, but I can ask my employer for a trainer. Send me a detailed request at my Ciber email address. As for Infor Smart Tool, do you mean Smart Data Tool? It’s available from Infor, I think after purchasing the license.

      Like

  4. Hi,

    I was just wondering if since 2014 anything has changed in terms of Mashup Designer? Still, In 2018 do we need to have Smart Office, Mashup Designer or Is there any other new Mashup tool available exclusively for H5 only?

    The reason for asking this question is, I got to know Infor is planning to stop supporting smart office very soon and continue only H5. If that is the case there should be another alternative tool to create web Mashup right? Any idea on this, please.

    Best Regards,
    Jaydeep

    Like

Leave a comment