コミュニティアチーブメントバーを展開する。

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Remove standard data from certain tasks on a project.

Avatar

Level 9

I would like to not display the status option for my parent tasks on a project. Can I build this out with a custom view? Can I accomplish this with an IF statement? Something else?

As you can see in the screenshot below my parent tasks do not have assignments. I don't want them to display a status option either. Help? 0694X00000C0o7JQAR.png

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Level 7

Hi Samantha,

This worked for me to create a new View that does not show the status of parent tasks.

displayname=Status

enumclass=com.attask.common.constants.TaskStatusEnum

enumtype=TASK

linkedname=direct

namekey=status

querysort=status

textmode=true

type=enum

valueexpression=IF({numberOfChildren}=0, {status})

valueformat=customDataLabelAsString

Hope this helps,

Teale

元の投稿で解決策を見る

4 返信

Avatar

正解者
Level 7

Hi Samantha,

This worked for me to create a new View that does not show the status of parent tasks.

displayname=Status

enumclass=com.attask.common.constants.TaskStatusEnum

enumtype=TASK

linkedname=direct

namekey=status

querysort=status

textmode=true

type=enum

valueexpression=IF({numberOfChildren}=0, {status})

valueformat=customDataLabelAsString

Hope this helps,

Teale

Avatar

Level 9

Thanks Teale!

Avatar

Level 10

Hi @Teale McCleaf‚

Thanks for sharing this code, it works really. But can we do same for the assignments for parent task. Since, many places user add their name even recommendation of best practices? Also thanks to @Samantha Isin‚ for asking this question.

Mvh

Kundan.

Avatar

Level 7

Hi Kundan,

You can use the same code and change the 'number of children' value to >0 and the results will only show parent tasks.

displayname=Status

enumclass=com.attask.common.constants.TaskStatusEnum

enumtype=TASK

linkedname=direct

namekey=status

querysort=status

textmode=true

type=enum

valueexpression=IF({numberOfChildren}>0, {assignmentsListString})

valueformat=customDataLabelAsString

Use assignmentsListString for all assignees or assignedToID for the Primary Owner.

Best -

Teale