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.



Configuration to clear a field based on another field's value

From: Sonia (2012-11-08 18:59)

Good day,
Does anyone know how to clear a textbox if a particular value is selected from a drop down list?
For example, on the Materials subtab on the Work Order Actuals tab, when a Line Type of 'Item' is selected, I want a custom field to be cleared.
Thank you for any assistance provided.
Sonia Alkhal.


From: Mohamed Skandaji (2012-11-09 10:19)

if you are on 71 or below you need a java customoization
if you are on 75 you can do this with automation scripting (not sure if we
should call this configuration, but at least it's done at the UI).
On Thu, Nov 8, 2012 at 7:59 PM, Sonia <salkhal@ttec.co.tt> wrote:
> **
>
>
> Good day,
>
> Does anyone know how to clear a textbox if a particular value is selected
> from a drop down list?
>
> For example, on the Materials subtab on the Work Order Actuals tab, when a
> Line Type of 'Item' is selected, I want a custom field to be cleared.
>
> Thank you for any assistance provided.
>
> Sonia Alkhal.
>
>
>
--
Mohamed Skandaji, MBA, PMP


From: Sonia (2012-11-09 15:10)

Thanks, Mohamed.
I was hoping to set a property in the configure conditional properties dialog in application designer but I am not seeing the appropriate property name. Do you think this is possible or you think the only way is by using automated scripting feature?
--- In MAXIMO@yahoogroups.com, Mohamed Skandaji <mohska@...> wrote:
>
> if you are on 71 or below you need a java customoization
> if you are on 75 you can do this with automation scripting (not sure if we
> should call this configuration, but at least it's done at the UI).
>
>
>
> On Thu, Nov 8, 2012 at 7:59 PM, Sonia <salkhal@...> wrote:
>
> > **
> >
> >
> > Good day,
> >
> > Does anyone know how to clear a textbox if a particular value is selected
> > from a drop down list?
> >
> > For example, on the Materials subtab on the Work Order Actuals tab, when a
> > Line Type of 'Item' is selected, I want a custom field to be cleared.
> >
> > Thank you for any assistance provided.
> >
> > Sonia Alkhal.
> >
> >
> >
>
>
>
> --
> Mohamed Skandaji, MBA, PMP
>
>
>
>


From: Yahoo (2012-11-09 09:42)

You could use an escalation with an action, but it would not be instant process.. It all depends on how instant you need this too happen..
Shannon Sutton
Cell: (318) 334-8002
On Nov 9, 2012, at 9:10 AM, "Sonia" <salkhal@ttec.co.tt> wrote:
> Thanks, Mohamed.
>
> I was hoping to set a property in the configure conditional properties dialog in application designer but I am not seeing the appropriate property name. Do you think this is possible or you think the only way is by using automated scripting feature?
>
> --- In MAXIMO@yahoogroups.com, Mohamed Skandaji <mohska@...> wrote:
> >
> > if you are on 71 or below you need a java customoization
> > if you are on 75 you can do this with automation scripting (not sure if we
> > should call this configuration, but at least it's done at the UI).
> >
> >
> >
> > On Thu, Nov 8, 2012 at 7:59 PM, Sonia <salkhal@...> wrote:
> >
> > > **
> > >
> > >
> > > Good day,
> > >
> > > Does anyone know how to clear a textbox if a particular value is selected
> > > from a drop down list?
> > >
> > > For example, on the Materials subtab on the Work Order Actuals tab, when a
> > > Line Type of 'Item' is selected, I want a custom field to be cleared.
> > >
> > > Thank you for any assistance provided.
> > >
> > > Sonia Alkhal.
> > >
> > >
> > >
> >
> >
> >
> > --
> > Mohamed Skandaji, MBA, PMP
> >
> >
> >
> >
>
>


From: Sonia (2012-11-09 15:52)

Hi,
Thanks Shannon. Yes I wanted it to be instant so that as soon as you changed the line type to Item it cleared whatever value was in the custom field. I know you can conditionally set the label and a some other properties of a text box but I am not seeing a property name that seems to control the text box value.
The following are the only properties in the control_registry.xml file for a textbox:
<control-descriptor name="textbox">
<property-list>
<property name="_longdescription" />
<property name="adjleft" />
<property name="align" />
<property name="applink" />
<property name="applinkkey" />
<property name="applinkquery" />
<property name="applinkreturn" />
<property name="boundcontrol" />
<property name="cssclass" />
<property name="dataattribute">
<flag name="final" />
</property>
<property name="datasrc">
<flag name="nonconditional" />
<flag name="global" />
</property>
<property name="datatype" />
<property name="defaultbutton">
<flag name="global" />
</property>
<property name="defaultfocus" />
<property name="descdataattribute" />
<property name="descinputmode" />
<property name="desclookup" />
<property name="detailimage" />
<property name="detailmessage" />
<property name="display">
<flag name="global" />
<default-value>true</default-value>
</property>
<property name="displaytype" />
<property name="dynamic" />
<property name="erroricon" />
<property name="filterable" />
<property name="forceclear">
<flag name="final" />
<default-value>false</default-value>
</property>
<property name="hidelabel" />
<property name="hidewhen" />
<property name="hidetooltip" />
<property name="id">
<flag name="final" />
</property>
<property name="in_column" />
<property name="inputmode">
<flag name="global" />
</property>
<property name="label">
<flag name="translatable" />
</property>
<property name="labelcss" />
<property name="licensekey">
<flag name="final" />
</property>
<property name="linkcontrolid" />
<property name="longdescreadonly" />
<property name="longdescription" />
<property name="lookup" />
<property name="maxdatalength" />
<property name="menutype" />
<property name="moreinformation" />
<property name="movetoattribute" />
<property name="movetoresultset" />
<property name="mxevent" />
<property name="notifyportlets" />
<property name="numeric" />
<property name="ondatachange" />
<property name="onfilterrow" />
<property name="ontabledetails">
<flag name="global" />
<flag name="final" />
</property>
<property name="prepend" />
<property name="readonly" />
<property name="rownum">
<flag name="system" />
<flag name="global" />
</property>
<property name="showdetail" />
<property name="sigoption">
<flag name="nonconditional" />
<flag name="final" />
</property>
<property name="sigoptiondatasrc">
<flag name="nonconditional" />
<flag name="final" />
</property>
<property name="size" />
<property name="sizeintable" />
<property name="smartfilloff" />
<property name="sortable" />
<property name="synchronous">
<default-value>false</default-value>
</property>
<property name="tablereadonly">
<flag name="final" />
<flag name="global" />
</property>
<property name="textcss">
<flag name="global" />
<flag name="final" />
<default-value>text</default-value>
</property>
<property name="title" />
<property name="updateonchange" />
<property name="usefieldsizegroup" />
<property name="usereditable" />
<property name="width" />
</property-list>
--- In MAXIMO@yahoogroups.com, Yahoo <shannonsuttondale@...> wrote:
>
> You could use an escalation with an action, but it would not be instant process.. It all depends on how instant you need this too happen..
>
>
>
> Shannon Sutton
> Cell: (318) 334-8002
>
> On Nov 9, 2012, at 9:10 AM, "Sonia" <salkhal@...> wrote:
>
> > Thanks, Mohamed.
> >
> > I was hoping to set a property in the configure conditional properties dialog in application designer but I am not seeing the appropriate property name. Do you think this is possible or you think the only way is by using automated scripting feature?
> >
> > --- In MAXIMO@yahoogroups.com, Mohamed Skandaji <mohska@> wrote:
> > >
> > > if you are on 71 or below you need a java customoization
> > > if you are on 75 you can do this with automation scripting (not sure if we
> > > should call this configuration, but at least it's done at the UI).
> > >
> > >
> > >
> > > On Thu, Nov 8, 2012 at 7:59 PM, Sonia <salkhal@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Good day,
> > > >
> > > > Does anyone know how to clear a textbox if a particular value is selected
> > > > from a drop down list?
> > > >
> > > > For example, on the Materials subtab on the Work Order Actuals tab, when a
> > > > Line Type of 'Item' is selected, I want a custom field to be cleared.
> > > >
> > > > Thank you for any assistance provided.
> > > >
> > > > Sonia Alkhal.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Mohamed Skandaji, MBA, PMP
> > >
> > >
> > >
> > >
> >
> >
>
>
>
>