tag:blogger.com,1999:blog-70028699301605620852024-03-18T20:18:34.021-07:00maximobytesBooshanhttp://www.blogger.com/profile/06636589053033250537noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7002869930160562085.post-67826929043845593172017-08-13T07:41:00.000-07:002017-08-13T07:41:44.852-07:00How to create Conditional Fields in IBM Anywhere?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
<b><span style="font-family: Arial, sans-serif; font-size: 10pt;">How to create Conditional Fields in IBM
Anywhere?</span></b><b><span style="font-family: Arial, sans-serif; font-size: 18pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">This article explains the steps to make a field mandatory based on a
condition. </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-family: Arial, sans-serif; font-size: 10pt;">Requirement:</span></b><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">For a workorder, when the status has been changed to Hold from another
status, the “Memo” field should become mandatory and if the memo field is not
filled then app should throw an error message. For the other statuses “Memo”
field is not mandatory.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<!--[if mso & !supportInlineShapes & supportFields]><span
style='mso-element:field-begin;mso-field-lock:yes'></span><span
style='mso-spacerun:yes'> </span>SHAPE <span
style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span><![endif]--><!--[if gte vml 1]><v:rect
id="Rectangle_x0020_5" o:spid="_x0000_s1026" alt="https://www.blogger.com/blogger.g?blogID=7002869930160562085"
style='width:24pt;height:24pt;visibility:visible;mso-wrap-style:square;
mso-left-percent:-10001;mso-top-percent:-10001;mso-position-horizontal:absolute;
mso-position-horizontal-relative:char;mso-position-vertical:absolute;
mso-position-vertical-relative:line;mso-left-percent:-10001;mso-top-percent:-10001;
v-text-anchor:top' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59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ked="f">
<o:lock v:ext="edit" aspectratio="t"/>
<w:wrap type="none"/>
<w:anchorlock/>
</v:rect><![endif]--><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><![endif]--><!--[if mso & !supportInlineShapes & supportFields]><v:shape
id="_x0000_i1027" type="#_x0000_t75" style='width:24pt;height:24pt'>
<v:imagedata croptop="-65520f" cropbottom="65520f"/>
</v:shape><span style='mso-element:field-end'></span><![endif]--><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<span style="color: blue; font-family: Arial, sans-serif; font-size: 13.5pt; text-decoration-line: none;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1026" type="#_x0000_t75" alt="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_kEH64JHAuLXKr9g8hk-T_1zKbPX84WCAUf9X81eJ01jl8aZeH20cpVXiJ9Y8LeVhjpQ0xAg9BRznIb1FGePgJy06eLxUsfp28kY9ciMXBSVTe0rRRqpnC8YCp8hqPyk9rbcmJwta-2c/s320/1.png"
href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_kEH64JHAuLXKr9g8hk-T_1zKbPX84WCAUf9X81eJ01jl8aZeH20cpVXiJ9Y8LeVhjpQ0xAg9BRznIb1FGePgJy06eLxUsfp28kY9ciMXBSVTe0rRRqpnC8YCp8hqPyk9rbcmJwta-2c/s1600/1.png"
style='width:240pt;height:108.75pt;visibility:visible;mso-wrap-style:square'
o:button="t">
<v:imagedata src="file:///C:\Users\Deepa\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrnXk53UII1aEOrBfAnkHGPSJLwoGoYFFb6Kq_mvk23ZqXIub5_86uoCqzsze7fi5En_SKhVLAZdRNizAtjt-aIJ-Lyc4PJB7kd2i0KkUzST1iQfwGxetQLFJ3TnogK53pUq6SyEeMTTc/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="274" data-original-width="602" height="145" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrnXk53UII1aEOrBfAnkHGPSJLwoGoYFFb6Kq_mvk23ZqXIub5_86uoCqzsze7fi5En_SKhVLAZdRNizAtjt-aIJ-Lyc4PJB7kd2i0KkUzST1iQfwGxetQLFJ3TnogK53pUq6SyEeMTTc/s320/1.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinYoFzCVQLqQrbbtrUmBvjQmdAOfzV3yGAi9XKiB5dw3dqc_WHCMHGegoWmGWI1qaexX9vnObGQOkp8RPG707NnzW2ZyVnjZ77nAnL3RNlNFhA_t-mfZIqabi034K7xR51j42ypcerrcs/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="274" data-original-width="605" height="144" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinYoFzCVQLqQrbbtrUmBvjQmdAOfzV3yGAi9XKiB5dw3dqc_WHCMHGegoWmGWI1qaexX9vnObGQOkp8RPG707NnzW2ZyVnjZ77nAnL3RNlNFhA_t-mfZIqabi034K7xR51j42ypcerrcs/s320/2.png" width="320" /></a></div>
<o:p></o:p><br />
<div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6z3cNWhSwtted7rCqca2dEs9BYy2LeMQireuCbRsfKa8yWoKvLCfP7Mdzfgj-NSUW7NSiBWjuPNGhTfOIbQKK-Em2ugIZBuQ5p0pAiP694xo8aSFwygF0MVNnFJsqaBa0HE0fPV8n2wU/s1600/2.png"><span style="color: blue; font-family: Arial, sans-serif; font-size: 13.5pt; text-decoration-line: none;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6z3cNWhSwtted7rCqca2dEs9BYy2LeMQireuCbRsfKa8yWoKvLCfP7Mdzfgj-NSUW7NSiBWjuPNGhTfOIbQKK-Em2ugIZBuQ5p0pAiP694xo8aSFwygF0MVNnFJsqaBa0HE0fPV8n2wU/s320/2.png"
href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6z3cNWhSwtted7rCqca2dEs9BYy2LeMQireuCbRsfKa8yWoKvLCfP7Mdzfgj-NSUW7NSiBWjuPNGhTfOIbQKK-Em2ugIZBuQ5p0pAiP694xo8aSFwygF0MVNnFJsqaBa0HE0fPV8n2wU/s1600/2.png"
style='width:240pt;height:108pt;visibility:visible;mso-wrap-style:square'
o:button="t">
<v:imagedata src="file:///C:\Users\Deepa\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title="2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span></a><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-family: Arial, sans-serif; font-size: 10pt;">Solution:</span></b><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">To implement the above requirement you need to specify an event handler
in the app.xml file to make the “Memo” field mandatory which depends on value
of status field selected by mobile user.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> 1.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Open the app.xml for
the app that you want to update and make the following changes</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">a.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Add the custom message to show when the
“Memo” field is empty</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"><messages
id="messages"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"><message
defaultMessage="Please fill in the Memo Field"
id="MemoValidation"/></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"></messages></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">b.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">In the Status Change Container of the
app.xml, add a Validate type of event handler to the “New Status” field</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 108.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: -108.0pt; vertical-align: baseline;">
<span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">i.</span><span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="border: none windowtext 1.0pt; color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-border-alt: none windowtext 0cm; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; padding: 0cm;">In the <text> element of the new field, add a
child element named <eventHandlers>.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 108.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: -108.0pt; vertical-align: baseline;">
<span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">ii.</span><span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="border: none windowtext 1.0pt; color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-border-alt: none windowtext 0cm; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; padding: 0cm;">In the <eventHandlers> element, add a child
element named <eventHandler>.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 108.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: -108.0pt; vertical-align: baseline;">
<span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">iii.</span><span style="color: #323232; font-family: ""times new roman"",serif; font-size: 7.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span><span style="border: none windowtext 1.0pt; color: #323232; font-family: "Arial",sans-serif; font-size: 10.0pt; mso-border-alt: none windowtext 0cm; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; padding: 0cm;">Specify Vaidate as the event attribute,
and add the method and class attributes.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> <container
id="WorkExecution.EditStatusView_statusChangeResource_container_0"
resource="statusChangeResource"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<group id="WorkExecution.EditStatusView_group_1"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<groupitem id="WorkExecution.EditStatusView_statusChangeResource_groupitem_0"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<text editable="true" id="WorkExecution.EditStatusView_statusChangeResource_groupitem_0_changedate_StatusDate"
label="Status Date" placeHolder="Select"
required="true" resourceAttribute="changedate"/></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</groupitem></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<groupitem
id="WorkExecution.EditStatusView_statusChangeResource_groupitem_1"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<text editable="false"
id="WorkExecution.EditStatusView_statusChangeResource_groupitem_1_statusdesc_NewStatus"
label="New Status" lookup="WorkExecution.statusLookup"
placeHolder="Select from list" required="true"
resourceAttribute="statusdesc"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<eventHandlers
id="WorkExecution.EditStatusView_statusChangeResource_groupitem_1_statusdesc_NewStatus_eventHandler"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> <span style="background: yellow;"><eventHandler class="application.handlers.StatusChangeHandler"
event="validate"
id="WorkExecution.EditStatusView_statusChangeResource_groupitem_1_statusdesc_NewStatus_eventHandlers_validate"
method="makeMemoMandatory"/></span></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background: yellow; font-family: Arial, sans-serif; font-size: 10pt;">
</eventHandlers></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</text></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</groupitem></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<groupitem
id="WorkExecution.EditStatusView_statusChangeResource_groupitem_2"></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
<text editable="true" id="WorkExecution.EditStatusView_statusChangeResource_groupitem_2_memo_Memo"
label="Memo" placeHolder="Tap to enter"
resourceAttribute="memo"/></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</groupitem></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</group></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</container></span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> 2.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Apply the condition for the event
handler to <span style="background: white;">StatusChangeHandler </span> javascript
file or you can <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> create your own
custom javascript file and add the below logic</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">makeMemoMandatory:
function(eventContext){</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var workOrder=eventContext.getCurrentRecord();</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var statusChange = CommonHandler._getAdditionalResource(eventContext,"statusChangeResource").getCurrentRecord();</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var newStatus=statusChange.get("status");</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var currMemo = statusChange.get("memo"); </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
if (newStatus == "HOLD" && currMemo == null){</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var fieldMetadata = statusChange.getRuntimeFieldMetadata("memo");</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
fieldMetadata.set('required',
true); </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
}else if(newStatus !== "HOLD"){</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
var fieldMetadata = statusChange.getRuntimeFieldMetadata("memo");</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
fieldMetadata.set('required', false);</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
}</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
}</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> 3.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Add the following
code in commitWOStatusChange method of StatusChangeHandler.js to check <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: -18.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> if the Memo field is
empty or not</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">var currMemo =
statusChange.get("memo"); </span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">if (newStatus ==
"HOLD" && currMemo == null){</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> throw new
PlatformRuntimeException("MemoValidation");</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">}</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"> 4.</span><span style="font-size: 7pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Save your changes and
preview the updated mobile app in a mobile browser simulator.</span><span style="font-family: Arial, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Booshanhttp://www.blogger.com/profile/06636589053033250537noreply@blogger.com0tag:blogger.com,1999:blog-7002869930160562085.post-72522945114253303192014-05-30T03:02:00.000-07:002014-05-30T03:13:02.656-07:00How to Translate Start Center Contents?<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><!--[if !mso]><img src="//img2.blogblog.com/img/video_object.png" style="background-color: #b2b2b2; " class="BLOGGER-object-element tr_noresize tr_placeholder" id="ieooui" data-original-id="ieooui" />
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<br />
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<span style="font-family: Arial; font-size: 10.0pt;">If you would like to translate the
start center contents then you need to translate the following</span></div>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<br /></div>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial; font-size: 10.0pt;">Result Set Portlet Headings</span></li>
<li class="MsoNormal" style="mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial; font-size: 10.0pt;">Result Set Portlet Columns</span></li>
<li class="MsoNormal" style="mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial; font-size: 10.0pt;">Start</span><span style="font-family: Arial; font-size: 10.0pt;"> Center</span><span style="font-family: Arial; font-size: 10.0pt;"> Headings</span><span style="font-family: Arial; font-size: 10.0pt;"><span style="mso-tab-count: 1;"><br /></span></span></li>
</ul>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<span style="font-family: Arial; font-size: 10.0pt;">Portlet Descriptions, "headings
on portlets", are picked up from the LAYOUT table and the
LAYOUT.DESCRIPTION field is merely LOCALIZABLE and MLSUPPORTED. These strings
are picked from MAXLABELS or L_MAXLABELS. Below are the steps to translate the
portlet headings.</span><br />
</div>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">INSERT INTO L_MAXLABELS(L_MAXLABELSID,LANGCODE,value,ownerid) SELECT
L_MAXLABELSSEQ.NEXTVAL,<langcode>,<translated text>, MAXLABELSID
FROM MAXLABELS WHERE VALUE LIKE <portlet heading> AND MAXLABELSID NOT IN
(SELECT OWNERID FROM L_MAXLABELS WHERE OWNERID IN(SELECT MAXLABELSID FROM
MAXLABELS WHERE VALUE LIKE <portlet heading> ) and langcode=<langcode>);</span></i></div>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<br /></div>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">Result set columns are available in RSCONFIG table. Translation for RSCONFIG.DESCRIPTION retrieved from </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">maxattribute/l_maxattribute table. So you don’t need to do the translation separately for RSCONFIG.DESCRIPTION if the </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">translation is available in l_maxattribute.</span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;"> </span></pre>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<span style="font-family: Arial; font-size: 10.0pt;">Start</span><span style="font-family: Arial; font-size: 10.0pt;"> Center</span><span style="font-family: Arial; font-size: 10.0pt;"> Descriptions, "headings on Startcenter",
are picked up from the SCTEMPLATE table and the SCTEMPLATE.DESCRIPTION. These strings
are picked from MAXLABELS or L_MAXLABELS. Below is the script to translate the start
center headings.</span></div>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;"> </span></pre>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">INSERT INTO L_MAXLABELS(L_MAXLABELSID,LANGCODE,value,ownerid) SELECT
L_MAXLABELSSEQ.NEXTVAL,<langcode>,<translated text>, MAXLABELSID
FROM MAXLABELS WHERE VALUE LIKE <SC Template heading> AND MAXLABELSID NOT
IN (SELECT OWNERID FROM L_MAXLABELS WHERE OWNERID IN(SELECT MAXLABELSID FROM
MAXLABELS WHERE VALUE LIKE <SC Template heading> ) and langcode=<langcode>);</span></i></div>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;"> </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">Start center template needs to be updated after modifying the start center contents. </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;"> </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">First of all you have to identify the set of start centers to be reset. In this example I want to reset all the start centers </span></pre>
<pre style="text-align: justify; text-justify: inter-ideograph;"><span style="font-family: Arial;">of the user's belonging to SECGROUP security group. Run this select and check the results. </span></pre>
<div class="MsoNormal" style="text-align: justify; text-justify: inter-ideograph;">
<br /></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM rsconfig WHERE layoutid
IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid FROM
scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM faconfig WHERE layoutid
IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid FROM
scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM inbxconfig WHERE
layoutid IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid
FROM scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM kpilconfig WHERE
layoutid IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid
FROM scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM kpigconfig WHERE
layoutid IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid
FROM scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM actionscfg WHERE
layoutid IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid
FROM scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<i style="mso-bidi-font-style: normal;"><span style="font-family: Arial; font-size: 10.0pt;">DELETE FROM portletdisplay WHERE
layoutid IN (SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid
FROM scconfig WHERE groupname='SECGROUP'));</span></i></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-family: Arial,Helvetica,sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="font-size: 10pt;">DELETE FROM layout WHERE layoutid IN
(SELECT layoutid FROM layout WHERE scconfigid IN (SELECT scconfigid FROM
scconfig WHERE groupname='SECGROUP'));</span></i></span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
</span><br />
<div class="MsoNormal">
<span style="font-family: Arial,Helvetica,sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="font-size: 10pt;">DELETE FROM scconfig WHERE
scconfigid IN (SELECT scconfigid FROM scconfig WHERE groupname='SECGROUP');</span></i></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial; font-size: 10.0pt;">When the
user either logs in or returns to the start center, the system will rebuild the
start center from the appropriate template that was updated.</span></div>
</div>
Booshanhttp://www.blogger.com/profile/06636589053033250537noreply@blogger.com0tag:blogger.com,1999:blog-7002869930160562085.post-18157748448424277232014-05-07T03:20:00.001-07:002014-05-07T03:20:51.889-07:00System properties to control the left navigation pane in SCCD 7.5<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif;">There are four System Properties introduced in SmartCloud Control Desk
7.5 which control the left navigation pane and other related visual
attributes:</span></span>
<span style="font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br />
<b>mxe.webclient.homeButtonHeaders</b><br />
Navigator: Moves Goto menu to left of the screen and adds Start Center button to the header</span></span>
<span style="font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br />
<b>mxe.webclient.systemNavBar</b><br />
Navigator: Enables the lefthand navigation</span></span>
<span style="font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br />
<b>mxe.webclient.tabBreadCrumbs</b><br />
Navigator: Removes tabs from list view</span></span>
<span style="font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br />
<b>mxe.webclient.verticalLabels</b><br />
Navigator: Sets label above each input field</span></span></div>
Booshanhttp://www.blogger.com/profile/06636589053033250537noreply@blogger.com0tag:blogger.com,1999:blog-7002869930160562085.post-17385086884002038312013-09-02T00:23:00.004-07:002013-09-02T00:23:33.354-07:00IBM Maximo 7.5 Customization Detection Tool<div dir="ltr" style="text-align: left;" trbidi="on">
Do you need a quick way to determine what customizations you’ve made to your Maximo7.5 ? <br /><br />If so, check out the Customization Detection tool. The tool provides information about customizations for business objects, field classes, and services that were customized (extended/added) for the out-of-the-box system. It does not provide information about UI bean classes or other configuration changes.<br /><br />The tool currently works on Maximo Asset Management Version 7.5.0.0 and higher.<br /><br />You can download the tool via the Integrated Service Management (ISM) Library.<br /><br />https://www-304.ibm.com/software/brandcatalog/ismlibrary/details?catalog.label=1TW10MA4S</div>
Booshanhttp://www.blogger.com/profile/06636589053033250537noreply@blogger.com3