August 6, 2020
Solved
Highlight task in report
- August 6, 2020
- 3 replies
- 1455 views
Hi Michelle and Kyna,
The code in my presentation is a little different (it flags tasks as "late" while taking the handoff date into account). But, here is code that should solve Michelle's issue. You can paste it into one of the columns you are comparing. I created most of this using the conditional formatting tools in the report builder, and made a few tweaks in text mode:
linkedname=direct
namekey=lastUpdateDate
querysort=lastUpdateDate
row.0.styledef.applyallcases=true
row.0.styledef.case.0.comparison.icon=false
row.0.styledef.case.0.comparison.isrowcase=true
row.0.styledef.case.0.comparison.leftmethod=lastUpdateDate
row.0.styledef.case.0.comparison.lefttext=lastUpdateDate
row.0.styledef.case.0.comparison.operator=lt
row.0.styledef.case.0.comparison.operatortype=date
row.0.styledef.case.0.comparison.rightmethod=plannedStartDate
row.0.styledef.case.0.comparison.righttext=plannedStartDate
row.0.styledef.case.0.comparison.trueproperty.0.name=textcolor
row.0.styledef.case.0.comparison.trueproperty.0.value=000000
row.0.styledef.case.0.comparison.trueproperty.1.name=bgcolor
row.0.styledef.case.0.comparison.trueproperty.1.value=eac6c9
row.0.styledef.case.0.comparison.truetext=
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.isrowcase=true
styledef.case.0.comparison.leftmethod=lastUpdateDate
styledef.case.0.comparison.lefttext=lastUpdateDate
styledef.case.0.comparison.operator=lt
styledef.case.0.comparison.operatortype=date
styledef.case.0.comparison.rightmethod=plannedStartDate
styledef.case.0.comparison.righttext=plannedStartDate
styledef.case.0.comparison.trueproperty.0.name=textcolor
styledef.case.0.comparison.trueproperty.0.value=000000
styledef.case.0.comparison.trueproperty.1.name=bgcolor
styledef.case.0.comparison.trueproperty.1.value=eac6c9
styledef.case.0.comparison.truetext=
textmode=true
valuefield=lastUpdateDate
valueformat=atDate
This article is a great resource for conditional formatting and text mode: https://one.workfront.com/s/article/Comparing-Fields-in-Conditional-Formatting-1413809645
Hope that helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.