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.
has any one set up a color alert on a field that is not null? If I have a date field filled in I would like to set a color alert.
Hi,
This is very easy to do. I did this for several fields. This example is for the siteid field in inventory so users know they are on an inventory record for another site.
First create a condtion. Mine is
:siteid = (select defsite from maxuser where userid = :user)
So if the siteid of the inventory record = the default site of the user record it comes back as true.
Yours might be
:fieldname is not null
Make sure to click the always evaluate box.
Next open the application in application designer and add a signature option.
Click the field you wnat to change and add the signature option.
Click the Configure Conditional Properties. Add the Everyone group.
(You should always add all users to the Everyone group so you can apply universal options. You can use a custom group but you need one group that everyone is in so universal conditions, restrictions etc always apply.)
Now add your condition and check the always evaluate box.
In the Properties when the condition is true add two properties if you want the field as green when the condition is true are leave blank for normal display:
property = cssclass value = bggreen
property = labelcss value = txtdarkgreen
In the Properties when the condition is false add two properties:
property = cssclass value = bgred
property = labelcss value = txtred
Go to Security groups and open the Everyone group and go to the application you modified. Check the box for the signature option you created. The group does not even need read access to the application it just needs access to the signature option.
I think that's it. There are several documents on the IBM support site that describe how to do this.
Dave Bone
Ocean Spray Cranberries
--- In MAXIMO@yahoogroups.com, "Joan" <joan.e.shroyer-keno@...> wrote:
>
> has any one set up a color alert on a field that is not null? If I have a date field filled in I would like to set a color alert.
>
I followed these instructions thinking I would be changing the color of a line on the Start Center/Result Set, but this only changed the color on the field on my WO screen. Has anyone been able to use an Expression to change the color on the Result Set?
If the following condition is true, I would like to change the color of the line on the Start Center/Result Set:
:wopriority = 1 and :reportdate < sysdate - 365
--- In MAXIMO@yahoogroups.com, "in2data" <in2data@...> wrote:
>
> Hi,
>
> This is very easy to do. I did this for several fields. This example is for the siteid field in inventory so users know they are on an inventory record for another site.
>
> First create a condtion. Mine is
>
> :siteid = (select defsite from maxuser where userid = :user)
>
> So if the siteid of the inventory record = the default site of the user record it comes back as true.
>
> Yours might be
>
> :fieldname is not null
>
> Make sure to click the always evaluate box.
>
> Next open the application in application designer and add a signature option.
>
> Click the field you wnat to change and add the signature option.
>
> Click the Configure Conditional Properties. Add the Everyone group.
> (You should always add all users to the Everyone group so you can apply universal options. You can use a custom group but you need one group that everyone is in so universal conditions, restrictions etc always apply.)
>
> Now add your condition and check the always evaluate box.
>
> In the Properties when the condition is true add two properties if you want the field as green when the condition is true are leave blank for normal display:
>
> property = cssclass value = bggreen
> property = labelcss value = txtdarkgreen
>
> In the Properties when the condition is false add two properties:
>
> property = cssclass value = bgred
> property = labelcss value = txtred
>
> Go to Security groups and open the Everyone group and go to the application you modified. Check the box for the signature option you created. The group does not even need read access to the application it just needs access to the signature option.
>
> I think that's it. There are several documents on the IBM support site that describe how to do this.
>
> Dave Bone
> Ocean Spray Cranberries
>
>
>
>
> --- In MAXIMO@yahoogroups.com, "Joan" <joan.e.shroyer-keno@> wrote:
> >
> > has any one set up a color alert on a field that is not null? If I have a date field filled in I would like to set a color alert.
> >
>
Hi,
In your first request you did not mention that you wanted to do this for a start center result set. That involves a totally different set up.
Create a saved query in the application that the result set will query and make it public.
Use that query for the start center result set. In your case the query is going to have to filter to show only those with the report date < sysdate -365. I don't think you can use more than one condition attribute in the next step. Although you could add a new field in the workorder table that would be set to 1 if the conditions are met and use that in the next step.
Then edit the result set window and click the Display Options tab. Choose the wopriority as the condition attribute. Add a row in the table below where the expression is equal to and the expression value is 1 and choose red as the color.
That's it.
Dave Bone
Ocean Spray Cranberries
--- In MAXIMO@yahoogroups.com, "jeannine_swanson" <jeannine_swanson@...> wrote:
>
> I followed these instructions thinking I would be changing the color of a line on the Start Center/Result Set, but this only changed the color on the field on my WO screen. Has anyone been able to use an Expression to change the color on the Result Set?
>
> If the following condition is true, I would like to change the color of the line on the Start Center/Result Set:
>
> :wopriority = 1 and :reportdate < sysdate - 365
>
> --- In MAXIMO@yahoogroups.com, "in2data" <in2data@> wrote:
> >
> > Hi,
> >
> > This is very easy to do. I did this for several fields. This example is for the siteid field in inventory so users know they are on an inventory record for another site.
> >
> > First create a condtion. Mine is
> >
> > :siteid = (select defsite from maxuser where userid = :user)
> >
> > So if the siteid of the inventory record = the default site of the user record it comes back as true.
> >
> > Yours might be
> >
> > :fieldname is not null
> >
> > Make sure to click the always evaluate box.
> >
> > Next open the application in application designer and add a signature option.
> >
> > Click the field you wnat to change and add the signature option.
> >
> > Click the Configure Conditional Properties. Add the Everyone group.
> > (You should always add all users to the Everyone group so you can apply universal options. You can use a custom group but you need one group that everyone is in so universal conditions, restrictions etc always apply.)
> >
> > Now add your condition and check the always evaluate box.
> >
> > In the Properties when the condition is true add two properties if you want the field as green when the condition is true are leave blank for normal display:
> >
> > property = cssclass value = bggreen
> > property = labelcss value = txtdarkgreen
> >
> > In the Properties when the condition is false add two properties:
> >
> > property = cssclass value = bgred
> > property = labelcss value = txtred
> >
> > Go to Security groups and open the Everyone group and go to the application you modified. Check the box for the signature option you created. The group does not even need read access to the application it just needs access to the signature option.
> >
> > I think that's it. There are several documents on the IBM support site that describe how to do this.
> >
> > Dave Bone
> > Ocean Spray Cranberries
> >
> >
> >
> >
> > --- In MAXIMO@yahoogroups.com, "Joan" <joan.e.shroyer-keno@> wrote:
> > >
> > > has any one set up a color alert on a field that is not null? If I have a date field filled in I would like to set a color alert.
> > >
> >
>
This is a very helpful post.
Is a list of the properties and the appropriate associated values available somewhere?
I want a section to be collapsed unless a checkbox has been checked .. (QA review). Sounds like it could be possible with the properties. ??
--- In MAXIMO@yahoogroups.com, "in2data" <in2data@...> wrote:
>
> Hi,
>
> This is very easy to do. I did this for several fields. This example is for the siteid field in inventory so users know they are on an inventory record for another site.
>
> First create a condtion. Mine is
>
> :siteid = (select defsite from maxuser where userid = :user)
>
> So if the siteid of the inventory record = the default site of the user record it comes back as true.
>
> Yours might be
>
> :fieldname is not null
>
> Make sure to click the always evaluate box.
>
> Next open the application in application designer and add a signature option.
>
> Click the field you wnat to change and add the signature option.
>
> Click the Configure Conditional Properties. Add the Everyone group.
> (You should always add all users to the Everyone group so you can apply universal options. You can use a custom group but you need one group that everyone is in so universal conditions, restrictions etc always apply.)
>
> Now add your condition and check the always evaluate box.
>
> In the Properties when the condition is true add two properties if you want the field as green when the condition is true are leave blank for normal display:
>
> property = cssclass value = bggreen
> property = labelcss value = txtdarkgreen
>
> In the Properties when the condition is false add two properties:
>
> property = cssclass value = bgred
> property = labelcss value = txtred
>
> Go to Security groups and open the Everyone group and go to the application you modified. Check the box for the signature option you created. The group does not even need read access to the application it just needs access to the signature option.
>
> I think that's it. There are several documents on the IBM support site that describe how to do this.
>
> Dave Bone
> Ocean Spray Cranberries
>
>
>
>
> --- In MAXIMO@yahoogroups.com, "Joan" <joan.e.shroyer-keno@> wrote:
> >
> > has any one set up a color alert on a field that is not null? If I have a date field filled in I would like to set a color alert.
> >
>