Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Can you modify UI properties through MBO Extensions?

From: robigd2923 (2012-03-20 03:18)

Are you able to access UI properties through MBO custom Java extensions?
I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
Thanks!


From: Jason Verly (2012-03-20 15:17)


Just curious what requirements do you have that makes you want to create a custom class versus using the conditional formatting already available.
--- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@...> wrote:
>
> Are you able to access UI properties through MBO custom Java extensions?
>
> I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
>
> Thanks!
>


From: in2data (2012-03-20 16:21)

Hi,
Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
Dave Bone
--- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@...> wrote:
>
> Are you able to access UI properties through MBO custom Java extensions?
>
> I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
>
> Thanks!
>


From: Greg Robinson (2012-03-20 10:01)

Thank you for your answers.
My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
Thanks!
________________________________
From: in2data <in2data@yahoo.com>
To: MAXIMO@yahoogroups.com
Sent: Tuesday, March 20, 2012 12:21 PM
Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?

 
Hi,
Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
Dave Bone
--- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@...> wrote:
>
> Are you able to access UI properties through MBO custom Java extensions?
>
> I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
>
> Thanks!
>


From: Shannon Rotz (2012-03-20 18:51)

They are aware that you can view the Warranty information for that asset by doing

Select Action / View / Warranty Information

Right? (Of course, I’m assuming that we’re dealing with V7, here). Maybe they would be happy with just an indicator that tells them that warranty information exists (like the Long Description indicator or the Linked Documents indicator).




Shannon

From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of Greg Robinson
Sent: March-20-12 10:01 AM
To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?


Thank you for your answers.
My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist.
When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
Thanks!
________________________________
From: in2data <in2data@yahoo.com <mailto:in2data%40yahoo.com> >
To: MAXIMO@yahoogroups.com <mailto:MAXIMO%40yahoogroups.com>
Sent: Tuesday, March 20, 2012 12:21 PM
Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?

Hi,
Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
Dave Bone
--- In MAXIMO@yahoogroups.com <mailto:MAXIMO%40yahoogroups.com> , "robigd2923" <robigd2923@...> wrote:
>
> Are you able to access UI properties through MBO custom Java extensions?
>
> I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
>
> Thanks!
>


From: in2data (2012-03-21 15:50)

Hi,
You need a condition that runs a query to look for any active warranty for the work order asset and it should always evaluate.
Then in application designer you can use that condition to change any field color.
You should also be able to use that condition to restrict access to the warranty tab. You may not be able to hide it but you should be able to "gray it out" so they cannot use it.
Dave Bone
--- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@...> wrote:
>
> Thank you for your answers.
>
> My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
>
> When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
>
> I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
>
> If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
>
> Thanks!
>
>
> ________________________________
> From: in2data <in2data@...>
> To: MAXIMO@yahoogroups.com
> Sent: Tuesday, March 20, 2012 12:21 PM
> Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
>
>
>  
> Hi,
>
> Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
>
> That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
>
> I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@> wrote:
> >
> > Are you able to access UI properties through MBO custom Java extensions?
> >
> > I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
> >
> > Thanks!
> >
>
>
>
>
>
>


From: Greg Robinson (2012-03-22 06:02)

Thank you guys.
This is working like a champ! You have been a great help.
One more question pertaining to my requirement. I would like to make a field required as well if my condition returns true. I put the condition on my field in App Designer setting the property inputmode to required if it evaluates true. It is not making the field required. Is there a "required" property I am overlooking somewhere?
Thanks again.
________________________________
From: in2data <in2data@yahoo.com>
To: MAXIMO@yahoogroups.com
Sent: Wednesday, March 21, 2012 11:50 AM
Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?

 
Hi,
You need a condition that runs a query to look for any active warranty for the work order asset and it should always evaluate.
Then in application designer you can use that condition to change any field color.
You should also be able to use that condition to restrict access to the warranty tab. You may not be able to hide it but you should be able to "gray it out" so they cannot use it.
Dave Bone
--- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@...> wrote:
>
> Thank you for your answers.
>
> My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
>
> When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
>
> I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
>
> If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
>
> Thanks!
>
>
> ________________________________
> From: in2data <in2data@...>
> To: MAXIMO@yahoogroups.com
> Sent: Tuesday, March 20, 2012 12:21 PM
> Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
>
>
>  
> Hi,
>
> Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
>
> That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
>
> I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@> wrote:
> >
> > Are you able to access UI properties through MBO custom Java extensions?
> >
> > I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
> >
> > Thanks!
> >
>
>
>
>
>
>


From: robigd2923 (2012-03-22 14:12)

One more quick note on my last post. I am trying to make a checkbox required. The inputmode=required works fine on a textfield attribute, but doesn't seem to work on a checkbox attribute.
I am in 7.1.1.6. Not sure if this is a known bug, or if I am just using the wrong property.
Thanks!
--- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@...> wrote:
>
> Thank you guys.
>
> This is working like a champ! You have been a great help.
>
> One more question pertaining to my requirement. I would like to make a field required as well if my condition returns true. I put the condition on my field in App Designer setting the property inputmode to required if it evaluates true. It is not making the field required. Is there a "required" property I am overlooking somewhere?
>
> Thanks again.
>
>
> ________________________________
> From: in2data <in2data@...>
> To: MAXIMO@yahoogroups.com
> Sent: Wednesday, March 21, 2012 11:50 AM
> Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
>
>
>  
> Hi,
>
> You need a condition that runs a query to look for any active warranty for the work order asset and it should always evaluate.
>
> Then in application designer you can use that condition to change any field color.
>
> You should also be able to use that condition to restrict access to the warranty tab. You may not be able to hide it but you should be able to "gray it out" so they cannot use it.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@> wrote:
> >
> > Thank you for your answers.
> >
> > My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
> >
> > When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
> >
> > I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
> >
> > If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
> >
> > Thanks!
> >
> >
> > ________________________________
> > From: in2data <in2data@>
> > To: MAXIMO@yahoogroups.com
> > Sent: Tuesday, March 20, 2012 12:21 PM
> > Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
> >
> >
> >  
> > Hi,
> >
> > Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
> >
> > That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
> >
> > I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
> >
> > Dave Bone
> >
> > --- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@> wrote:
> > >
> > > Are you able to access UI properties through MBO custom Java extensions?
> > >
> > > I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
> > >
> > > Thanks!
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>


From: Pat Morrow (2012-03-22 08:21)

It is working the way it was intended.  Check boxes are 'yorn' fields (yes or no) and you set a default when the field is created in the database.  So, the field is required, and will be unchecked when the value is 'NO' or 0 and checked when the value is 'Yes' or 1.
 
Workaround - create an aln field and create a domain of two values (Yes and No).
Use a control type of 'Radio Group Button Properties'
Pat Morrow
pmorrow8@yahoo.com
________________________________
From: robigd2923 <robigd2923@yahoo.com>
To: MAXIMO@yahoogroups.com
Sent: Thursday, March 22, 2012 10:12 AM
Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
 
One more quick note on my last post. I am trying to make a checkbox required. The inputmode=required works fine on a textfield attribute, but doesn't seem to work on a checkbox attribute.
I am in 7.1.1.6. Not sure if this is a known bug, or if I am just using the wrong property.
Thanks!
--- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@...> wrote:
>
> Thank you guys.
>
> This is working like a champ! You have been a great help.
>
> One more question pertaining to my requirement. I would like to make a field required as well if my condition returns true. I put the condition on my field in App Designer setting the property inputmode to required if it evaluates true. It is not making the field required. Is there a "required" property I am overlooking somewhere?
>
> Thanks again.
>
>
> ________________________________
> From: in2data <in2data@...>
> To: MAXIMO@yahoogroups.com
> Sent: Wednesday, March 21, 2012 11:50 AM
> Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
>
>
>  
> Hi,
>
> You need a condition that runs a query to look for any active warranty for the work order asset and it should always evaluate.
>
> Then in application designer you can use that condition to change any field color.
>
> You should also be able to use that condition to restrict access to the warranty tab. You may not be able to hide it but you should be able to "gray it out" so they cannot use it.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@> wrote:
> >
> > Thank you for your answers.
> >
> > My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
> >
> > When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
> >
> > I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
> >
> > If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
> >
> > Thanks!
> >
> >
> > ________________________________
> > From: in2data <in2data@>
> > To: MAXIMO@yahoogroups.com
> > Sent: Tuesday, March 20, 2012 12:21 PM
> > Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
> >
> >
> >  
> > Hi,
> >
> > Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
> >
> > That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
> >
> > I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
> >
> > Dave Bone
> >
> > --- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@> wrote:
> > >
> > > Are you able to access UI properties through MBO custom Java extensions?
> > >
> > > I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
> > >
> > > Thanks!
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>


From: Greg Robinson (2012-03-22 09:04)

Thank you very much!
________________________________
From: Pat Morrow <pmorrow8@yahoo.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Thursday, March 22, 2012 11:21 AM
Subject: Re: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?

 
It is working the way it was intended.  Check boxes are 'yorn' fields (yes or no) and you set a default when the field is created in the database.  So, the field is required, and will be unchecked when the value is 'NO' or 0 and checked when the value is 'Yes' or 1.
 
Workaround - create an aln field and create a domain of two values (Yes and No).
Use a control type of 'Radio Group Button Properties'
Pat Morrow
pmorrow8@yahoo.com
________________________________
From: robigd2923 <robigd2923@yahoo.com>
To: MAXIMO@yahoogroups.com
Sent: Thursday, March 22, 2012 10:12 AM
Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
 
One more quick note on my last post. I am trying to make a checkbox required. The inputmode=required works fine on a textfield attribute, but doesn't seem to work on a checkbox attribute.
I am in 7.1.1.6. Not sure if this is a known bug, or if I am just using the wrong property.
Thanks!
--- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@...> wrote:
>
> Thank you guys.
>
> This is working like a champ! You have been a great help.
>
> One more question pertaining to my requirement. I would like to make a field required as well if my condition returns true. I put the condition on my field in App Designer setting the property inputmode to required if it evaluates true. It is not making the field required. Is there a "required" property I am overlooking somewhere?
>
> Thanks again.
>
>
> ________________________________
> From: in2data <in2data@...>
> To: MAXIMO@yahoogroups.com
> Sent: Wednesday, March 21, 2012 11:50 AM
> Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
>
>
>  
> Hi,
>
> You need a condition that runs a query to look for any active warranty for the work order asset and it should always evaluate.
>
> Then in application designer you can use that condition to change any field color.
>
> You should also be able to use that condition to restrict access to the warranty tab. You may not be able to hide it but you should be able to "gray it out" so they cannot use it.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, Greg Robinson <robigd2923@> wrote:
> >
> > Thank you for your answers.
> >
> > My requirement is to add functionality to the Work Order Tracking (Tr) application that does not currently exist. 
> >
> > When the user creates a WO and selects an asset, if there is a warranty associated with that, they want the warrant data to display in a new "Warranties" tab in the Work Order application, and turn the asset field a new color if warranty information does in fact exist. They also want the warranties tab hidden if no warranty data exists.
> >
> > I had planned to do this in a custom field level class on ASSETNUM attribute in WORKORDER, and handle all of this via the action() method.
> >
> > If you guys have any ideas on how to implement this requirement without a customization, I would love to hear them.
> >
> > Thanks!
> >
> >
> > ________________________________
> > From: in2data <in2data@>
> > To: MAXIMO@yahoogroups.com
> > Sent: Tuesday, March 20, 2012 12:21 PM
> > Subject: [MAXIMO List] Re: Can you modify UI properties through MBO Extensions?
> >
> >
> >  
> > Hi,
> >
> > Your first choice should always be to use the tools available in Maximo. In this case a condition and then use the application designer to make the color change.
> >
> > That way when you upgrade you do not have to reinvent the wheel. Also when you are no longer working on Maximo the company does not need a Java programmer to reverse engineer your code to find out what it's doing.
> >
> > I have several fields where we change colors based on the data presented and all of these are using conditions and the tools available in application designer.
> >
> > Dave Bone
> >
> > --- In MAXIMO@yahoogroups.com, "robigd2923" <robigd2923@> wrote:
> > >
> > > Are you able to access UI properties through MBO custom Java extensions?
> > >
> > > I would like to change the color of a field based on some criteria and would like to do it in pure Java if possible.
> > >
> > > Thanks!
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>