30 Aralık 2016 Cuma

How to create a table domain in maximo

If you are reading this post, you probably know what domain means for maximo and you have already been played around with ALN domain, So It is not different. But there are couple of different things you need to implements. Lets just cut the foreplay and start how to achieve this. 

For this example, I created an attribute called “mx_domainsample” on the “WORKORDER” table (object). After everything finished, user will see asset table rows but to put a little bit of challange and difference, we will only displays assetnums beginning with the letter of “A”.

First, open the domains application. Click on add new domain button and select table domain. When you do that, you will see a dialog like below. 


Now, click on new row to specify which table’s data will be shown when you finish everything. For this example, I selected asset table. After you do that examine the figure below. If you notice, there is this list where clause field. I placed a small sql where clause to only show assets starting with the letter ‘A’.
Now Save it. 


We are almost done with the whole thing. What we need to do next is that we need to assign our domain to a specific attribute. To do that open up the database configuration application. Remember that we created a custom attribute “mx_domainsample” in the workorder table. So open the workorder table and on the attributes tab find our new attribute. When you expand its details you will see that the domain field is empty, so place the new domain we created in that domain field like I showed in the picture below.


There is one more thing to do in the database configuration application. If you look carefully above picture, I tried to draw a red colored circle. We are gonna click on that to configure one more thing. Because did not specify which asset attribute will be assigned our newly created attribute “mx_domainsample” in the workorder table. That is gonna look like below picture. 


Now on the list tab of the database configuration application click on select action and click on apply configuration changes. Now we are done with the db configuration app.

Okayy, you are probably wondering, is that all ? No, because we did not change the  interface or properties of any application components which uses “WORKORDER” table as its main object.

Next open the designer app to make our last changes. Open any application which uses workorder as its main object like picture in the below 


I choosed quick reporting app. Now in the main tab place a textbox and set its attribute properties to our newly created attribute “mx_domainsample” and save it as its shown in the picture or you can use different app which uses workorder object. 


Okay we are almost done, I promise.
Now in the designer app click on select action menu and click on “Export System XML” and choose “LOOKUPS”. After you do that you will have an xml definations of all the lookups which maximo uses. We have to put a look up defination for our newly created table domain “TDOMAIN”. To do that save the xml first and open it with any text editor like notepad++ or intellij idea. Its all up to you. Now, Examine the picture below and think about what you see in the picture. 


If you look carefully I copied the bottom table tag from the above table tag and changed some of its important attributes not to get an error or invalid binding error. Okay now save this LOOKUPS.XML file and import it to the maximo. 

Final step, we are gonna edit our textbox properties one more time. This time we are gonna set its lookup property to what we inserted in the LOOKUPS.XML. The id of the lookup we inserted was “tdomainsample”. Examine below picture. 


Okay. Done :D
Let see the result 


As you see, it only shows assetnums starting with letter of ‘A’.
Untill the next post stay cool guys.

PIECE, Aytunc MATRAC 

9 Ağustos 2015 Pazar

Rebuilding and deploying maximo ear

Hello again,
In this post I am gonna show you how you can rebuild and deploy maximo.ear file everybody.
First of all, in order to do this you are gonna need to stop mxserver first


So step 1;
Log in to Websphere admin console. After you log in this is what you are going to see.


Step 2;

Now, expand servers and expand server types and click Web sphere application servers and select the server you want it to stop and then click stop like below figure.


Step 3;

After you make sure you stoped MXServer, now it is time to uninstall the old maximo.ear file to do that expand Applications, click enterprice application and and select maximo.ear file and click uninstall like below figure.


Step 4;
Now its time to rebuild the new maximo.ear and this the tricky part everyone now pay attention starting from this step.
Open the command promt and run cmd
And change the directory to this C:\IBM\SMP\maximo\deployment

Note: It may in a different directory in your system of course so be careful about that.


Step 5;
Now run the buildmaximoear command 


Step 6;
Wait untill this process finishes,

note : it will take 5 to 10 minutes to build the maximo.ear file



Step 7;
After you finish building maximo.ear file go back to the Websphere admin console and expand applications and click install.
Once you click install you will see something like this.
And now specify a path of your maximo.ear file which will most likely be in this path
“C:\IBM\SMP\maximo\deployment\default\maximo.ear”

And then click next. 


Step 8;

Choose fast path and click next.


Step 9;

Click next again.


Step 10;

Choose all of the components like below. And click next


Step 11;

On the layout in front of you apply multiple mapping and select maximo host like below


Step 12;

Click next.


Step 13;

This will take some time like 15 minutes.


Step 14;

When you see this screen click save.



Step 15;

After you click next it will take you enterprise applications again so if you see this you are on the right path. Now expand server types and click Websphere application servers and start Mxserver.


Step 16;
Now here is out last step,
Go to enterprise applications again and start maximo.
Sorry about this I already started mine but you will see something like this.


Thanks folks, see you guys in another post.


8 Ağustos 2015 Cumartesi

Installing IBM maximo 7.6

Hello Everyone, in this post I ll explain the whole process of installing IBM Maximo Asset Management 7.6

To me, the hardest part was just the organizing what comes out from the zip files, because once you unzip them, you need put them in a specific directory to make installer able to find those files and use it. And I do not think, none of you guys will have trouble with the rest.  

Okay Step 1.

  • To be able to install maximo, you are gonna need to install middleware too, I mean Websphere and as I mentioned before, installer is not able to find your websphere setup files. So go through your Middl_Inst_WAS_855_1of3_Win directory and please do it your second and thirt part too, and in the native and files folder, you are gonna find a lot of files, cut them and paste it to the part 1 natives and files folder. 



Step 2, finish the combining middleware parts



Step 3, once you finish combining middleware parts you are gonna need to put one specific folder into installer folder. 
and the folder name is something like this : mam76\Install\mwi_WASv8.5.3_images



Step 4, Now we are ready to launch installer, I mean "launchpad64.exe". After launching that exe you are gonna see a layout like this.

Once you open it you will see a couple of options like if you wanna install db2 database which I don't like or you can configure the installation process.


Step 5, We are gonna install all the packages.


Step 6, After middleware installation process finish, a configuration panel will pop up, So click configure and wait between 30 minutes and 60 minutes.


Step 7, now go back to installer again and now we are installing Maximo 7.6, I mean just click the Maximo 7.6 product and leave the others unchecked.


Step 8, Click next


Step 9, Click next


Step 10, wait until the installation process finishes. you are gonna see sth like this also.


Step 11, After it finishes, you are gonna see this layout.
https://127.0.0.1:9043/ibm/console/logon.jsp and by using this link you can check if your middleware is working or not.


Step 12, and at this point we are gonna go back to configuration panel and we are gonna start making configuration for maximo.  Click Prepare configuration.


Once you click it you are gonna see this layout first, at this point you, maximo needs you to point where the database is which maximo is gonna use.


Step 13,  Fill these textboxes with valid info and click next.


Step 14, Click next


Step 15, Fill Database connection information and click next.


Step 16, Give a Websphere admin console name and password and leave the others untouched. Then click next. 


Step 17, for maximo admin group users indicate the passwords so they will be able to login by using those passwords.


Step 18, Choose the base language then click next.


Step 19, Choose the second language then click next.


Step 20, and finally we get to build maximo.ear file, just click finish and sat back,



Step 21, wait until this process finishes and once you see below message panel. 
You can go http://127.0.0.1:9060/maximo and start using you maximo product.



Do not forget to subscribe folks. ;)

6 Ağustos 2015 Perşembe

Introduction to Git

Hello everyone, 
In this post I will be explaining one example of version control systems. I mean git.

         In case of you guys dont know what version control systems are, or you don't know what they do or any example of version control systems like git. Let me tell you this, they basicly keeps track of every change you make on your files and make you able to go back in time to any particular state of your file or version or whatever you say it is. This means, you can revert your changes back to it's previous states and this was one of the most important features of git. And also git can almost work with any type of files. Before I use git I was drawing in my project files  trying to remember which one was the last version of my code or what did I do last and the list goes like that but after I met with git everything got easier. and seriously git is just awesome I believe every programmer should know how to use git I am not saying that to force you watch these tutorials seriously it is just awesome.

        Git also makes you able to colloborate with different people and this is the other killing feature of git. Well you guys may think that colloborating with different people shouldnt be so difficult but let me give you an example;

   Lets say you are working in a huge software development team, and you need to work together with your colleages. Without using git you guys would probably spend tons of hours to merge all of your codes you typed. Just think about it. Lets say you wrote 200 lines of code in 10 different function and your colleges wrote 1000 of lines of code in 50 different function on the same *.java file lets say. Also you are guys are gonna need to compare your code in order to find out which function work fine or better and second, you guys are gonna need to merge those developments. So how would you do it, how would you merge those distrubuted developments without using any version control system right? 

        Git also allows you to revert files back to a previous state or the entire project if you want, or you can check who edited the last. it has just bunch of features you can use while developing software and I heart that graphic designer is also using git too, pretty usefull.

         So, to make long story short git can fix anything if you screw up thats what i usually do most of the time.

        That is it for this post everyone.