<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Burak BÖLEK - Blog &#187; Maximo Connections</title>
	<atom:link href="http://www.burakbolek.com/blog/tag/maximo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.burakbolek.com/blog</link>
	<description>Burak BÖLEK</description>
	<lastBuildDate>Fri, 03 Sep 2010 06:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Show Workorder on Google Map</title>
		<link>http://www.burakbolek.com/blog/2009/03/show-workorder-on-google-map/</link>
		<comments>http://www.burakbolek.com/blog/2009/03/show-workorder-on-google-map/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 07:06:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Backend Development]]></category>
		<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[Maximo User Interface]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[Maximo Connections]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=92</guid>
		<description><![CDATA[Hello; If you store coordinates in your workorders or location etc. you can show the places on google maps in Maximo. I implemented this on Maximo 6. There are many steps to accomplish this task.. I will tell you about it step by step&#8230; 1-You have to get a Google Map api key from this [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_100" class="wp-caption alignleft" style="width: 310px"><img src="http://www.burakbolek.com/blog/wp-content/uploads/2009/03/google-maps-on-workorder-300x187.jpg" alt="Google Map in Workorder Tracking" title="google-maps-on-workorder" width="300" height="187" class="size-medium wp-image-100" /><p class="wp-caption-text">Google Map in Workorder Tracking</p></div>
<p>Hello;</p>
<p>If you store coordinates in your workorders or location etc. you can show the places on google maps in Maximo. I implemented this on Maximo 6. There are many steps to accomplish this task.. I will tell you about it step by step&#8230;<br />
1-You have to get a Google Map api key from this address: http://code.google.com/apis/maps/signup.html .. Write your maximo server address to the textbox and click Generate Key.. Note your key.. We will use it later&#8230;<br />
2-Create iframe control: Go to %MAXIMOROOT%\applications\maximo\maximouiweb\webmodule\webclient\controls and create a folder named: iframe. We will send data to google map script from this control.  I assume that longitude and latitude are stored in Workorder object as Longitude and Latitude attributes&#8230;<br />
Create a jsp file named <strong>control.jsp</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;%</span>@ include  file<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;../../common/controlheader.jsp&quot;</span> <span style="color: #339933;">%&gt;</span>
	<span style="color: #339933;">&lt;%--</span> 
		PROPERTY	GLOBAL		VALUES
		id		<span style="color: #000066; font-weight: bold;">true</span>		...
		<span style="color: #006633;">height</span> 		<span style="color: #000066; font-weight: bold;">false</span> 		###
		width		<span style="color: #000066; font-weight: bold;">false</span> 		###
		url 		<span style="color: #000066; font-weight: bold;">false</span>		...
	<span style="color: #339933;">--%&gt;</span>
	<span style="color: #339933;">&lt;</span>mro<span style="color: #339933;">:</span>handleevent eventtype<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;loadinit&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>mro<span style="color: #339933;">:</span>loadglobalproperties <span style="color: #339933;">/&gt;</span>
		<span style="color: #339933;">&lt;%</span>
		<span style="color: #000066; font-weight: bold;">int</span> height <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;height&quot;</span>, <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> width <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;width&quot;</span>, <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">String</span> url <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;src&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #339933;">%&gt;</span>
	<span style="color: #339933;">&lt;/</span>mro<span style="color: #339933;">:</span>handleevent<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>mro<span style="color: #339933;">:</span>handleevent eventtype<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;render&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;%</span>
		<span style="color: #000066; font-weight: bold;">int</span> height <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;height&quot;</span>, <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> width <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;width&quot;</span>, <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">String</span> url <span style="color: #339933;">=</span> controlProperties.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;src&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">String</span> apptitle <span style="color: #339933;">=</span> sessionContext.<span style="color: #006633;">getCurrentApp</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getAppTitle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		psdi.<span style="color: #006633;">util</span>.<span style="color: #006633;">MXSession</span> mxs<span style="color: #339933;">=</span>sessionContext.<span style="color: #006633;">getMXSession</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		psdi.<span style="color: #006633;">mbo</span>.<span style="color: #006633;">MboSetRemote</span> woSet<span style="color: #339933;">=</span>mxs.<span style="color: #006633;">getMboSet</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;WORKORDER&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		woSet.<span style="color: #006633;">setWhere</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;WOCLASS in ('WORKORDER', 'ACTIVITY') and istask=0 and boylam is not null and enlem is not null&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;WO Count: &quot;</span><span style="color: #339933;">+</span>woSet.<span style="color: #006633;">count</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		java.<span style="color: #006633;">util</span>.<span style="color: #003399;">ArrayList</span> coordinateList <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> java.<span style="color: #006633;">util</span>.<span style="color: #003399;">ArrayList</span><span style="color: #009900;">&#40;</span>woSet.<span style="color: #006633;">count</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i<span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>i<span style="color: #339933;">&lt;</span>woSet.<span style="color: #006633;">count</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		java.<span style="color: #006633;">util</span>.<span style="color: #003399;">ArrayList</span> coordinate<span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> java.<span style="color: #006633;">util</span>.<span style="color: #003399;">ArrayList</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		psdi.<span style="color: #006633;">mbo</span>.<span style="color: #006633;">MboRemote</span> wo<span style="color: #339933;">=</span>woSet.<span style="color: #006633;">getMbo</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinate.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>,wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;WONUM&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinate.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span>,wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;DESCRIPTION&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinate.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span>,wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;STATUS&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinate.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3</span>,wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;LONGITUDE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinate.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">4</span>,wo.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;LATITUDE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		coordinateList.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>coordinate<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #009900;">&#125;</span>
		session.<span style="color: #006633;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;CoordinatesList&quot;</span>,coordinateList<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #339933;">%&gt;</span>
		<span style="color: #339933;">&lt;</span>iframe src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;%=url%&gt;&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;%=height%&gt;&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;%=width%&gt;&quot;</span><span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;/</span>iframe<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>mro<span style="color: #339933;">:</span>handleevent<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;%</span>@ include file<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;../../common/controlfooter.jsp&quot;</span> <span style="color: #339933;">%&gt;</span></pre></td></tr></table></div>

<p>Here we defined iframe control and we added the workorder information to the CoordinatesList variable of session.</p>
<p>Now create another file called <strong>allwoongmaps.jsp</strong> in the same folder..</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
	    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
	&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot;&gt;
	  &lt;head&gt;
	    &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
	    &lt;title&gt;&lt;/title&gt;
	    &lt;script src=&quot;http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=&lt;strong&gt;KEY&lt;/strong&gt;&quot;
	            type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
	    <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
	    <span style="color: #003366; font-weight: bold;">function</span> initialize<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>GBrowserIsCompatible<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	        <span style="color: #003366; font-weight: bold;">var</span> map <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GMap2<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;map_canvas&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			 GEvent.<span style="color: #660066;">addListener</span><span style="color: #009900;">&#40;</span>map<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;click&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>overlay<span style="color: #339933;">,</span> point<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			 <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>point<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			     map.<span style="color: #660066;">addOverlay</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> GMarker<span style="color: #009900;">&#40;</span>point<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			     <span style="color: #003366; font-weight: bold;">var</span> msg <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;Latitude: &quot;</span><span style="color: #339933;">+</span>point.<span style="color: #660066;">lat</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;br&gt;&quot;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;Longitude: &quot;</span><span style="color: #339933;">+</span>point.<span style="color: #660066;">lng</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			     document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;mypoint&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> msg<span style="color: #339933;">;</span>
			 <span style="color: #009900;">&#125;</span>  <span style="color: #006600; font-style: italic;">//close if(point)...</span>
&nbsp;
&nbsp;
		   <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #006600; font-style: italic;">//close GEvent...</span>
&nbsp;
			<span style="color: #003366; font-weight: bold;">var</span> yellowIcon <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GIcon<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	yellowIcon.<span style="color: #660066;">image</span> <span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://esa.ilmari.googlepages.com/markeryellow.png&quot;</span><span style="color: #339933;">;</span>
	yellowIcon.<span style="color: #660066;">iconSize</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GSize<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">20</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">34</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	yellowIcon.<span style="color: #660066;">iconAnchor</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GPoint<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">9</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">34</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> turqIcon <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GIcon<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	turqIcon.<span style="color: #660066;">image</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;http://www.google.com/uds/samples/places/temp_marker.png&quot;</span><span style="color: #339933;">;</span>
	turqIcon.<span style="color: #660066;">iconSize</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GSize<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">20</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">34</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	turqIcon.<span style="color: #660066;">iconAnchor</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GPoint<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">9</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">34</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
	 <span style="color: #339933;">&lt;%</span>
	java.<span style="color: #660066;">util</span>.<span style="color: #660066;">ArrayList</span> CoordinateList<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>java.<span style="color: #660066;">util</span>.<span style="color: #660066;">ArrayList</span><span style="color: #009900;">&#41;</span> session.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;CoordinatesList&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>int i<span style="color: #339933;">=</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>i<span style="color: #339933;">&lt;</span>CoordinateList.<span style="color: #660066;">size</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			java.<span style="color: #660066;">util</span>.<span style="color: #660066;">ArrayList</span> Coordinate<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>java.<span style="color: #660066;">util</span>.<span style="color: #660066;">ArrayList</span><span style="color: #009900;">&#41;</span>CoordinateList.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			String wonum<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>String<span style="color: #009900;">&#41;</span>Coordinate.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			String description<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>String<span style="color: #009900;">&#41;</span>Coordinate.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			String <span style="color: #000066;">status</span><span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>String<span style="color: #009900;">&#41;</span>Coordinate.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			String enlem<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>String<span style="color: #009900;">&#41;</span>Coordinate.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			String boylam<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>String<span style="color: #009900;">&#41;</span>Coordinate.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			double boydouble<span style="color: #339933;">=</span>Double.<span style="color: #660066;">parseDouble</span><span style="color: #009900;">&#40;</span>boylam<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			double enlemdouble<span style="color: #339933;">=</span>Double.<span style="color: #660066;">parseDouble</span><span style="color: #009900;">&#40;</span>enlem<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
			String marker<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;marker&quot;</span><span style="color: #339933;">+</span>i<span style="color: #339933;">;</span>
			String point<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;point&quot;</span><span style="color: #339933;">+</span>i<span style="color: #339933;">;</span>
			String icon<span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>wonum.<span style="color: #660066;">equalsIgnoreCase</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;1000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
			icon<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yellowIcon&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">else</span> icon<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;turqIcon&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">==</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #339933;">%&gt;</span>
	        map.<span style="color: #660066;">setUIToDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			map.<span style="color: #660066;">setCenter</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> GLatLng<span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;%=</span>boydouble<span style="color: #339933;">%&gt;,&lt;%=</span>enlemdouble<span style="color: #339933;">%&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #339933;">&lt;%</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">%&gt;</span>
	          <span style="color: #003366; font-weight: bold;">var</span> <span style="color: #339933;">&lt;%=</span>point<span style="color: #339933;">%&gt;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GLatLng<span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;%=</span>boydouble<span style="color: #339933;">%&gt;,&lt;%=</span>enlemdouble<span style="color: #339933;">%&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			  <span style="color: #003366; font-weight: bold;">var</span> <span style="color: #339933;">&lt;%=</span>marker<span style="color: #339933;">%&gt;=</span><span style="color: #003366; font-weight: bold;">new</span> GMarker<span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;%=</span>point<span style="color: #339933;">%&gt;,</span><span style="color: #009900;">&#123;</span>icon<span style="color: #339933;">:&lt;%=</span>icon<span style="color: #339933;">%&gt;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	          map.<span style="color: #660066;">addOverlay</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;%=</span>marker<span style="color: #339933;">%&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	     <span style="color: #339933;">&lt;%</span> 
	    <span style="color: #009900;">&#125;</span><span style="color: #339933;">%&gt;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	    <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
	  &lt;/head&gt;
&nbsp;
	  &lt;body onload=&quot;initialize()&quot; onunload=&quot;GUnload()&quot;&gt;
	  &lt;div id=&quot;mypoint&quot;&gt;&lt;/div&gt;
	    &lt;div id=&quot;map_canvas&quot; style=&quot;width: 470px; height: 200px&quot;&gt;&lt;/div&gt;
&nbsp;
	  &lt;/body&gt;
	&lt;/html&gt;</pre></td></tr></table></div>

<p>On line 7 we add our own Google api key that we noted before&#8230; and we create our own map from longitude and latitude information on Workorder&#8230;<br />
Now open Application Designer and export your application as xml file.Save it and back it up. then add this line to whereever you want.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;iframe</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;http://localhost:7001/maximo/webclient/controls/iframe/allwoongmaps.jsp&quot;</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;500&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;genid_headera_4_child_1&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>localhost should be your servers ip&#8230;;<br />
Save it and import from application designer.. Rebuild and redeploy&#8230; You&#8217;re going to see map like this&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/03/show-workorder-on-google-map/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Import AlnDomain from Excel Sheet</title>
		<link>http://www.burakbolek.com/blog/2009/03/import-alndomain-from-excel-sheet/</link>
		<comments>http://www.burakbolek.com/blog/2009/03/import-alndomain-from-excel-sheet/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 20:04:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Backend Development]]></category>
		<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[excel import]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Maximo Connections]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=33</guid>
		<description><![CDATA[Hello; Now I will explain a bit about importing from excel sheet. Here I will use Jexcel Api to read excel files. This script was written for Maximo 6.2.1, and I will use Jexcel Api 2.6.9 which can be downloaded from here. Here is the code: /* * addAlnDomain.java * * Created on September 2, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello;</p>
<p>Now I will explain a bit about importing from excel sheet. Here I will use Jexcel Api to read excel files. This script was written for Maximo 6.2.1, and I will use Jexcel Api 2.6.9 which can be downloaded from <a href="http://sourceforge.net/project/showfiles.php?group_id=79926&amp;package_id=81471&amp;release_id=642912">here</a>.<br />
Here is the code:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
 * addAlnDomain.java
 *
 * Created on September 2, 2008, 4:00 PM
 */</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.File</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.PrintStream</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">jxl.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.app.system.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.mbo.MboRemote</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">psdi.util.MXSession</span><span style="color: #339933;">;</span>
<span style="color: #008000; font-style: italic; font-weight: bold;">/**
 *
 * @author  bbolek
 */</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> addAlnDomain <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #008000; font-style: italic; font-weight: bold;">/** Creates a new instance of addAlnDomain*/</span>
    <span style="color: #000000; font-weight: bold;">public</span> addAlnDomain<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> add<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> filename<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
            MXSession s<span style="color: #339933;">;</span>
            s <span style="color: #339933;">=</span> MXSession.<span style="color: #006633;">getSession</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            s.<span style="color: #006633;">setHost</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;localhost:9898/MXServer&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Server Name</span>
            s.<span style="color: #006633;">setUserName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wilson&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            s.<span style="color: #006633;">setPassword</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wilson&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            s.<span style="color: #006633;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
            Workbook workbook <span style="color: #339933;">=</span> Workbook.<span style="color: #006633;">getWorkbook</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">File</span><span style="color: #009900;">&#40;</span>filename <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;.xls&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            Sheet sheet <span style="color: #339933;">=</span> workbook.<span style="color: #006633;">getSheet</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">int</span> k <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">String</span> description, value<span style="color: #339933;">;</span>
                MaxDomainSetRemote maxdomain<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>MaxDomainSetRemote<span style="color: #009900;">&#41;</span> s.<span style="color: #006633;">getMboSet</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;MAXDOMAIN&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                maxdomain.<span style="color: #006633;">setWhere</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;DOMAINID='DOMAINNAME'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                maxdomain.<span style="color: #006633;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                MboRemote maxDomain<span style="color: #339933;">=</span>maxdomain.<span style="color: #006633;">getMbo</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span>sheet.<span style="color: #006633;">getCell</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>, k<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getContents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">length</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                value <span style="color: #339933;">=</span> sheet.<span style="color: #006633;">getCell</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>, k<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getContents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                description <span style="color: #339933;">=</span> sheet.<span style="color: #006633;">getCell</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span>, k<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getContents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;VALUE :&quot;</span><span style="color: #339933;">+</span>value<span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; DESCRIPTION: &quot;</span><span style="color: #339933;">+</span>description <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                ALNValueSetRemote alnSet <span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>ALNValueSetRemote<span style="color: #009900;">&#41;</span> maxDomain.<span style="color: #006633;">getMboSet</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ALNDOMAINVALUE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ALNValueRemote aln <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
                aln <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>ALNValueRemote<span style="color: #009900;">&#41;</span> alnSet.<span style="color: #006633;">addAtEnd</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                aln.<span style="color: #006633;">setValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;VALUE&quot;</span>, value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                aln.<span style="color: #006633;">setValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;DESCRIPTION&quot;</span>, description<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	        alnSet.<span style="color: #006633;">save</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                k<span style="color: #339933;">++;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> E<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            E.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
    <span style="color: #008000; font-style: italic; font-weight: bold;">/**
     * @param args the command line arguments
     */</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">// TODO code application logic here</span>
        addAlnDomain new_AlnDomain <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> addAlnDomain<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        new_AlnDomain.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Example&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>In here; between line 28-32 server settings are set. Then on line 34 excel workbook is opened.<br />
On line 35 first sheet is selected. On line 39 the domain with name &#8220;DOMAINNAME&#8221; is selected.<br />
Line 42 shows that the loop will continue if there is a value on the first column of excel.<br />
Line 43 and 44 reads the excel and sets the variables. And on line 48 we create a new ALNDomain mbo. And on 49 we added it to the AlnDomainSet.<br />
Then we bind the variables and save the MboSet&#8230;<br />
On line 62 we set the excel filename&#8230;Here it is <a href="wp-content/uploads/2009/03/example.xls">Example.xls</a></p>
<p>All Mbo&#8217;s can be read from excel and imported to Maximo in this way. It is quite easy and customizable&#8230;For example you can set some rules to import in java like<br />
-import data that starts with 1,<br />
-import data which is like &#8216;%10%&#8217;<br />
-etc&#8230;</p>
<p>Have a good day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/03/import-alndomain-from-excel-sheet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Database Export Utility</title>
		<link>http://www.burakbolek.com/blog/2009/02/database-export-utility/</link>
		<comments>http://www.burakbolek.com/blog/2009/02/database-export-utility/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 08:49:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[Maximo Connections]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=7</guid>
		<description><![CDATA[Hello; There is a little known utility that helps us to export maximo database. This utility helps us to export database in any db type. For example assume that we are using oracle but we want to export database to use it in DB2. We can use this utility. It supplies us a maximo.db2 file [...]]]></description>
			<content:encoded><![CDATA[<p>Hello;</p>
<p>There is a little known utility that helps us to export maximo database. This utility helps us to export database in any db type. For example assume that we are using oracle but we want to export database to use it in DB2. We can use this utility. It supplies us a maximo.db2 file which is like we use in maxinst.bat. You can find it in %MAXIMOROOT%\tools\maximo\internal\Unlcvt.bat</p>
<p>Here are the parameters that you can use with this tool:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">Runs psdi.configure.Unlcvt.
The default name of the output <span style="color: #c20cb9; font-weight: bold;">file</span> is Unlcvt.ora <span style="color: #7a0874; font-weight: bold;">&#40;</span>Oracle<span style="color: #7a0874; font-weight: bold;">&#41;</span>, Unlcvt.sqs <span style="color: #7a0874; font-weight: bold;">&#40;</span>SqlServer<span style="color: #7a0874; font-weight: bold;">&#41;</span>, or Unlcvt.ddl <span style="color: #7a0874; font-weight: bold;">&#40;</span>DB2<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
The default database is defined <span style="color: #000000; font-weight: bold;">in</span> the maximo.properties file.
The commandline parameters <span style="color: #000000; font-weight: bold;">for</span> overriding the defaults are listed below.
Also see javadocs <span style="color: #000000; font-weight: bold;">for</span> psdi.configure.Unlcvt.
<span style="color: #660033;">-a</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>db <span style="color: #7a0874; font-weight: bold;">alias</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    Database alias. If not specified, uses mxe.db.url property.
<span style="color: #660033;">-f</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>filename<span style="color: #7a0874; font-weight: bold;">&#41;</span>    Filename <span style="color: #000000; font-weight: bold;">for</span> properties file.  If not specified, uses maximo.properties.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>Also see <span style="color: #660033;">-k</span> parameter <span style="color: #000000; font-weight: bold;">for</span> propfile directory.<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #660033;">-k</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>propfile <span style="color: #c20cb9; font-weight: bold;">dir</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    Directory <span style="color: #000000; font-weight: bold;">for</span> properties file.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>Also see <span style="color: #660033;">-f</span> parameter <span style="color: #000000; font-weight: bold;">for</span> propfile filename.<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>filename<span style="color: #7a0874; font-weight: bold;">&#41;</span>    Filename of output <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>without path or extension<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
<span style="color: #660033;">-p</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>password<span style="color: #7a0874; font-weight: bold;">&#41;</span>    Password <span style="color: #000000; font-weight: bold;">for</span> database connection.
If not specified, uses mxe.db.password property, or <span style="color: #ff0000;">&quot;maximo&quot;</span>.
<span style="color: #660033;">-u</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>username<span style="color: #7a0874; font-weight: bold;">&#41;</span>    Username <span style="color: #000000; font-weight: bold;">for</span> database connection.
If not specified, uses mxe.db.user property, or <span style="color: #ff0000;">&quot;maximo&quot;</span>.
<span style="color: #660033;">-x</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>db platform<span style="color: #7a0874; font-weight: bold;">&#41;</span>    Output to a different db platform that the one being used <span style="color: #000000; font-weight: bold;">for</span> input.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>The default is to output to the same platform.<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Values <span style="color: #000000; font-weight: bold;">for</span> platform are: <span style="color: #000000;">1</span>=Oracle, <span style="color: #000000;">2</span>=SqlServer, <span style="color: #000000;">3</span>=DB2.</pre></td></tr></table></div>

<p>Example Usage:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">Unlcvt.bat -x3 </pre></td></tr></table></div>

<p>  exports database as db2 file&#8230;.</p>
<p>Have a good day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/02/database-export-utility/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Maximo Debug Window</title>
		<link>http://www.burakbolek.com/blog/2009/02/maximo-debug-window/</link>
		<comments>http://www.burakbolek.com/blog/2009/02/maximo-debug-window/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 08:43:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Maximo Tips]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[Maximo Connections]]></category>

		<guid isPermaLink="false">http://www.burakbolek.com/blog/?p=3</guid>
		<description><![CDATA[Hello; If you enter these to the address bar of your browser in any application of Maximo a new window appears which shows info about the client moves.. It is very useful for developers.. First enter.. javascript:eval&#40;document.getElementById&#40;'debug_eventwindow'&#41;.style.visibility=''&#41;; And Then javascript:eval&#40;document.getElementById&#40;'commframe'&#41;.style.display=''&#41;; Then you will see a little window pop up on the left of the screen.. [...]]]></description>
			<content:encoded><![CDATA[<p>Hello;</p>
<p>If you enter these to the address bar of your browser in any application of Maximo a new window appears which shows info about the client moves.. It is very useful for developers..</p>
<p>First enter..</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'debug_eventwindow'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">visibility</span><span style="color: #339933;">=</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And Then</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'commframe'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p style="text-align: left;">Then you will see a little window pop up on the left of the screen..</p>
<p style="text-align: left;">Have a good day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burakbolek.com/blog/2009/02/maximo-debug-window/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
