Expand my Community achievements bar.

The Community Ideas review for H1 2025 is out now, see which ideas our Product team prioritized and let us know your thoughts.
SOLVED

Calculated field to pull in requester's home group

Avatar

Level 2

Hello all you smart Workfront peeps!

 

Does anyone have a quick-and-dirty calculated field script that will allow me to populate the requester's home group name into a report (using it for report grouping)? TIA! Have a great Friday!

 

Jennifer

1 Accepted Solution

Avatar

Correct answer by
Level 5

Here's a few screenshots showing how to do this easily. Red highlights indicate text that need be deleted. Yellow highlights show what need to be added. It's super easy once you have a few edits done:

JustinRenteria2_0-1749846707064.png

 

JustinRenteria2_1-1749846714565.png

 

JustinRenteria2_3-1749846725483.png

 

 

View solution in original post

5 Replies

Avatar

Community Advisor

Omg hey Jennifer!

You could just add Home Group ID, then in text mode change ID to :name to get this (example from pulling this in user report):
valuefield=homeGroup:name
querysort=homeGroup:name
valueformat=HTML
linkedname=direct
namekey=homeGroup:name

If this helped you, please mark correct to help others : )

Avatar

Level 2

Hi Madalyn! Nice to see you. Yours is good advice, but I found Justin's solution a little more helpful for my use case. I appreciate your replying, though. Hope you are well!

Avatar

Level 5

assuming this is an issues/task/project report the below will work:

group.0.linkedname=enteredBy
group.0.namekey=view.relatedcolumn
group.0.namekeyargkey.0=enteredBy
group.0.namekeyargkey.1=homeGroup
group.0.namekeyargkey.2=name
group.0.valuefield=enteredBy:homeGroup:name
group.0.valueformat=string
textmode=true

 

Avatar

Correct answer by
Level 5

Here's a few screenshots showing how to do this easily. Red highlights indicate text that need be deleted. Yellow highlights show what need to be added. It's super easy once you have a few edits done:

JustinRenteria2_0-1749846707064.png

 

JustinRenteria2_1-1749846714565.png

 

JustinRenteria2_3-1749846725483.png

 

 

Avatar

Level 2

Thank you, Justin. This was the right answer and very helpful!