Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Tim,
would you mind sharing the text mode code you used to solve this issue?
I have exactly the same challenge.
Thanks a lot in advance.
BR
Christian
Views
Replies
Total Likes
Here ya go!
displayname=
linkedname=direct
namekey=name
querysort=name
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=numberOfChildren
styledef.case.0.comparison.lefttext=numberOfChildren
styledef.case.0.comparison.operator=eq
styledef.case.0.comparison.operatortype=int
styledef.case.0.comparison.righttext=0
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=ffffff
styledef.case.0.comparison.truetext=
styledef.case.1.comparison.icon=false
styledef.case.1.comparison.leftmethod=indent
styledef.case.1.comparison.lefttext=indent
styledef.case.1.comparison.operator=eq
styledef.case.1.comparison.operatortype=int
styledef.case.1.comparison.righttext=0
styledef.case.1.comparison.trueproperty.0.name=bgcolor
styledef.case.1.comparison.trueproperty.0.value=feecc8
styledef.case.1.comparison.truetext=
styledef.case.2.comparison.icon=false
styledef.case.2.comparison.leftmethod=indent
styledef.case.2.comparison.lefttext=indent
styledef.case.2.comparison.operator=eq
styledef.case.2.comparison.operatortype=int
styledef.case.2.comparison.righttext=1
styledef.case.2.comparison.trueproperty.0.name=bgcolor
styledef.case.2.comparison.trueproperty.0.value=dcf6f7
styledef.case.2.comparison.truetext=
styledef.case.3.comparison.icon=false
styledef.case.3.comparison.leftmethod=indent
styledef.case.3.comparison.lefttext=indent
styledef.case.3.comparison.operator=eq
styledef.case.3.comparison.operatortype=int
styledef.case.3.comparison.righttext=2
styledef.case.3.comparison.trueproperty.0.name=bgcolor
styledef.case.3.comparison.trueproperty.0.value=e9def4
styledef.case.3.comparison.truetext=
styledef.case.4.comparison.icon=false
styledef.case.4.comparison.leftmethod=indent
styledef.case.4.comparison.lefttext=indent
styledef.case.4.comparison.operator=eq
styledef.case.4.comparison.operatortype=int
styledef.case.4.comparison.righttext=3
styledef.case.4.comparison.trueproperty.0.name=bgcolor
styledef.case.4.comparison.trueproperty.0.value=def6e2
styledef.case.4.comparison.truetext=
styledef.case.5.comparison.icon=false
styledef.case.5.comparison.leftmethod=indent
styledef.case.5.comparison.lefttext=indent
styledef.case.5.comparison.operator=eq
styledef.case.5.comparison.operatortype=int
styledef.case.5.comparison.righttext=4
styledef.case.5.comparison.trueproperty.0.name=bgcolor
styledef.case.5.comparison.trueproperty.0.value=e8e8e8
styledef.case.5.comparison.truetext=
styledef.case.6.comparison.icon=false
styledef.case.6.comparison.leftmethod=indent
styledef.case.6.comparison.lefttext=indent
styledef.case.6.comparison.operator=eq
styledef.case.6.comparison.operatortype=int
styledef.case.6.comparison.righttext=5
styledef.case.6.comparison.trueproperty.0.name=bgcolor
styledef.case.6.comparison.trueproperty.0.value=e8f1ff
styledef.case.6.comparison.truetext=
textmode=true
valueexpression=IF({indent}<1,{name},IF({indent}<2,CONCAT(" - ",{name}),IF({indent}<3,CONCAT(" - - ",{name}),IF({indent}<4,CONCAT(" - - - ",{name}),CONCAT(" - - - - ",{name})))))
valuefield=name
valueformat=HTML
Wow, thank you for this. It also worked perfectly for me. I imagine this would be very valuable to many.
Views
Replies
Total Likes
This is awesome Tim! When I use the text mode the formatting works perfectly. Quick question: are you able to sort the tasks by the order in which they're displayed in the project plan? Right now the tasks have the correct formatting the the order appears random.
Views
Replies
Total Likes
And you are sorting by task number?
Views
Replies
Total Likes
Yes, in the project plan I'm sorted by the Task number and it shows the parent-child task relationship. I'm not sure how to sort by task number in the report view.
Views
Replies
Total Likes
Actually I just figured it out. I added the Task Number field as a column and then sorted by that column. Thank you so much Tim! You saved me so much time.
Views
Replies
Total Likes
Views
Likes
Replies