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.



Conditional format based on nonpersistent field?

From: therron (2016-06-01 16:20)


Hi all,

Still experimenting in Maximo 7.6.

I have a Calendar that spans a little more than a year. To this calendar, I wish to apply a shift for one specific week. So I go to Define/Apply Shifts, find the Shift and pick it, click the Apply Shift(s) button. This brings up the Apply Shifts with Range dialog. Excellent. I change the dates to the week desired, and click OK.

If you read carefully, what I DIDN'T mention in that was "selecting the Selected Dates" radio button. So since Entire Calendar is selected by default, that's what it did. So then I have to go manually delete hundreds of Work Periods that it created because of my mistake of not picking the other radio button. I half-assumed that since I changed the dates, it would detect that and know that Selected Dates was intended.

Anyways, I'm looking for ways to prevent that from happening again. My first thought was to conditionally hide the section that has those two date fields. So I exported the XML to find the values for those fields, made a Conditional Expression, applied it, logged out and in, but it didn't work. It's just hiding it all the time.

I don't know what I've done wrong. I've mimicked something I did, that works, in another app; so I'm pretty sure my procedure is right. The only thing I can think of here is that the radio button is connected to a nonpersistent field. So maybe that makes it impossible.

Any ideas group?

Travis Herron


From: maximal (2016-06-02 05:56)

What's the conditional expression?
-C



From: therron (2016-06-03 06:32)

I made a Conditional Expression:

:usecalendates = 'CalendarRange'

Always Evaluate is checked.


So then in the Calendar application designer, I go to Edit Dialogs, Apply Shift with Range. I choose the section that contains both date lookups. I choose the Properties editor. I choose Configure Conditional Properties.

For the READ option, for the MAXEVERYONE group, I choose the Condition I made, and then if the Condition is True then

display | false

and if the Condition is False then

display | true


Applying this change makes it so that the date selector fields are ALWAYS hidden. It just shows the radio buttons.

Travis Herron