Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!
SOLVED

Text mode to get program or project name on a proof report

Avatar

Level 3

Hello all

Can anyone help a newbie with the text mode to get program or project name onto a proof report?

Thank you :0)

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You have the valuefield accidentally the same in both of your text mode snippets, would just need to remove program from your first one. So project name would be:
valuefield=documentVersion:document:project:name

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

View solution in original post

4 Replies

Avatar

Level 10

Hello WhitUser,

 

I used the following text mode to get the project name into my report:

 

displayname=Project Name
linkedname=documentVersion
namekey=view.relatedcolumn
namekeyargkey.0=documentVersion
namekeyargkey.1=document
namekeyargkey.2=project
namekeyargkey.3=name
querysort=documentVersion:documentID
textmode=true
valuefield=documentVersion:document:project:program:name
valueformat=HTML

 

and to get the program name you need to modify the valuefield:

 

valuefield=documentVersion:document:project:program:name

 

Regards
Lars

Avatar

Level 3

Hello Lars

Thank you for your swift response on this dilemma...  I use your code on a document report and it will work, however, I need it to work on a PROOF report and it doesn't work in this instance.... any ideas?

Avatar

Correct answer by
Community Advisor

You have the valuefield accidentally the same in both of your text mode snippets, would just need to remove program from your first one. So project name would be:
valuefield=documentVersion:document:project:name

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