Tip:
Highlight text to annotate it
X
In this video, we will show you how to build a simple user interface
that will interact with the InfoSphere MDM application.
We'll use the IBM InfoSphere application toolkit
in order to build the UI that will provide the user with the search form
for the last name.
The search will run against the InfoSphere MDM
and then display the results in a table. After the demonstration
we will talk about where to go next for further InfoSphere MDM
education.
In this demonstration, we'll create a new business process to allow the users to
search for person based on the last name.
The business process will use the InfoSphere MDM to perform the search
and display the results to the user. To start off we'll use the
BPM process designer to create our new application.
To create our new application we'll click on the create new process App in the
top right hand corner
and we'll call our new process : Search
Person App or SPA for short.
We'll click on the create button.
That will create our new Search Person App inside our designer. We can click on
open in designer, so we can modify our new application. Before we begin
we need to actually import our application toolkit
into our dependency. So we can go into the toolkit
and click on the plus button. And inside here you'll see that we have
two things we need to import. The first is the application toolkit. So we can
select the application toolkit.
And the second one is actually our physical MDM Object Types.
This is because we're going to be
invoking
a physical MDM service. So click on both of those
and import those into our toolkit. Once the dependencies are imported or the
toolkit are imported into this application we can begin creating our user interface.
To do this we can go up to the user interface and click on the plus button.
And here, we'll create a Human Service which will allow us to create
UI screens plus services embedded behind-the-scenes.
So click on the Human Service and we'll call our new service Search Person
and click on the Finish button.
In our diagram what it will start with is our start node
and it will have our end node and between those two nodes we'll
bring our UI screen and we'll
put our embedded service. So for this service we're gonna have two UIs.
We're going to have our search form
where a user can input their last name. We'll have
an embedded service that will invoke the physical MDM module
service and then we'll have a result screen.
In the process designer our UI screens are called coaches so we can
drag
on our first coach. And our first coach will be the search form.
And our second UI
will be the search results. The next piece comes from our application toolkit.
So, if we scroll down
we'll see a nested service. Once we gather input from our search
form we can invoke the service on the
MDM physical module using a nested service. We can drag our nested service
onto our diagram and we'll call this an MDM Search.
Once you've entered the name in the search we can go into the Properties tab
if you select the the box and you can click on the implementation.
Inside here you can specify which nested service you actually invoke.
Click on the Select button and once you click on the Select button and you can actually
just start typing and it will
filter the services that you are typing.
So, we'll type in MDM and then space
and search and it'll come up with the MDM search from the MDM Application
Toolkit.
So, that's the implementation. The other side in the implementation is the actual
data mappings. So rather than actually programming the search what we're going
to do is we're going to configure it
to invoke the service on the MDM. So click on the data mapping and we can see
which types of
variables we need to bind to this service.
So the first one is our connection. The MDM connection allows us to connect
to the InfoSphere MDM
to perform our search. Then we have our input object. Our input object is what
were gonna pass into that search
request. And then we have our results which is gonna come back with a list of
parties or persons the comes back from a person search.
We also have parameters if we are doing an inquiry service
on the InfoSphere MDM. We can pass some parameters instead of a BObj.
And to find out what type of input we need for our requests and what the business
objects that we're gonna get in response
we can take a look at the MDM product documentation.
Inside the product documentation which you could find by performing
internet search on Info Center
MDM version 11, we can look under the developing
for standard and advance edition under the physical MDM because we're
invoking the services on the physical MDM.
We can take a look at the transaction reference
and we can look at the physical MDM transactions.
Inside here, we're gonna perform a search person so we can scroll down to the
search person
service.
And, we take a look at the SearchPerson services you can scroll down to the bottom
where it'll tell us what the input
and what the output result is. So the input is gonna be a TCRM person search business
object
the response object will be a TCRM person search results business object.
So back into our designer.
To create these objects
we can go into our variables app at the top and we can create new private
variables. So click on the Add Private to create our first private variable.
And the first one we're gonna create is an MDM connection. So we can create
our MDM
connection. We will create the MDM
connection as a private, however it can be useful to make the MDM connection
as an input variable if you want to combine services in the future.
Right now we'll leave it as a private. Now we
named it mdmConnection. We can click on the variable type by select.
And here, if we just start typing connection will see that from the MDM
application toolkit we have an MDM connection object. For mdmConnection
object we'll give it default values
since we don't have a form to actually populate. So click on the
Has Default
And we can populate the default values for the MDM
connection.
So, here I've populated the default values "localhost" because we have
local InfoSphere MDM install at 9080
the user name and password has already been setup so mdmadmin
and the locale is English and the requesterUser will be BPMuser
the server type
is optional so we've left it blank in this case.
Now two other variables we need to create. The first is the input to the search in
the second one is the output. So we'll create
an add private and for this one we'll
put as our search input. And if you remember from the product documentations
the search input or the input to the search the MDM search
is going to be a person search and it's going to be the TCRMPersonSearch
business objects. So we can select that. And then we'll add another private
and this will be search results.
Now for the search results, it is a list that comes back
so we can click on the Islist and we can select
and this is also a person search but it's
a person search results - TCRM person search results.
And once you've done that, you can click on the Save button
to save our variables. Once our variables have been saved, we can click on the diagram again
and now we can start binding some of our
variables to our search service.
So down into the data mapping and select MDM search
in the data mapping. We can click on the selected variable for MDM connection.
And we can select our MDM connection. Populate
that to bind it to the connection. The input object, we can select our search
input. For the results
we can select our search results.
And now, the next thing we need to do is populate
that search input with the last name. To do that, select the search form
and double-click and that will open our coaches view which allow us to modify
the
user or the user screen that they will see when they're in the search form.
If we go down to the variables, we can see that we have our search input and if
we open up our search input, these are all the attributes
of the search person BObj. So we can drag the last name
onto our form. And because it is a text stream text value
it will automatically create a text form for us.
We can change the name on the button to be search.
And that's all we really need for our first UI screen.
They provide the last name, they click on the search. That
search form is binded to the search input which will then provide the values
for our search service.
In the search results, we can go to our other variable, our search results,
and we can go to our current item. And in our current item we can
drag any one of the values over. So what we can do is we can start with
maybe the party ID
and that will create a vertical
selection but the vertical selection down by the Properties tab at
the bottom
we can see the type of view that we're using
and we can click on the select button and we can select it as a table. So if we select the
table now
the Party Id gets moved out to the table below and click on the Party ID
and drag into the table and this will show us a table with a number
rows from our results. So the other things we might want to add to this
is the Given Name One
Last Name
and maybe we can add the
address line 1 as well.
Once that's done
we can save our coaches and click back on our diagram.
Where now there's no flow or there's no connection between the UI screens,
the embedded search, the search result and the end. So
we'll want to do is click on the sequence flow and drag
a line from the start to the search form and then from the search form to the
MDM search
and you'll see that it is invoked by that search button
from the MDM search, the search results and then search results to the end.
Now to test this out, once you've saved it, click on the
play button in the top right hand corner or the run service
and this will allow us to test out our new application.
Now, we've already entered a number people
in the MDM server on our local machine that start with Wil
for the first for the last name so just put W-i-l
and then percent sign which is the wild-card on the
InfoSphere MDM and click on the search button.
The search will go against the MDM server and come back
and this is our list that we just created
in the process designer.
And that's it for the demonstration. Here we've shown that we can actually create
a simple UI fairly quickly using the application toolkit
to invoke our services against the Infosphere MDM.
To deepen your understanding of the InfoSphere MDM, you can enroll in a
number of
MDM courses including the 1Z800 which is a
web-based introduction to the Infosphere MDM
The ZZ820 which goes over the InfoSphere MDM
architecture. The ZZ840 which introduces
the InfoSphere MDM Workbench where you can customize
the default implementation. Each of these courses is offered in a
number of training formats including the classroom,
a self-paced virtual course where you are provided an eLab
and the web-based training. You can review training paths for InfoSphere
MDM training paths
to get an understanding how you progress through the InfoSphere MDM training.
We also offer a Developer certification for the InfoSphere MDM server version
9.0
which is the physical InfoSphere MDM module.
Thank you for attending and watching this video.