Expand my Community achievements bar.

Do you have questions about the migration to Adobe Business Platform? Come join our upcoming coffee break and ask away!
SOLVED

how to get document folder name or id in Document type custom form in Workfront?

Avatar

Level 3

how to get document folder name or id in Document type custom form in Workfront?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It doesn't strictly answer your question, but since we don't always get what we want in Workfront....
if you use this text mode in document report:

listdelimiter=<hr>
listmethod=nested(folders).lists
name=All folders
textmode=true
type=iterate
valueexpression=CONCAT({ID}," - ",{name})
valueformat=HTML

you will get a field that concatenates both folder(s) ID and name in a report cell.

Hope this helps

View solution in original post

6 Replies

Avatar

Level 8

Hello,

 

depending on what you are expecting, but using a calculated field and 

 

{ID} for the documentID, or {docObjCode} for the document object type will 

 

I guess that you want something like the filetype or the extension, so you could also try

{currentVersion}.{fileType}
{currentVersion}.{ext}
 
Regards
Lars

Avatar

Level 3

Thanks Lars.

 

I created new folder in "Production Files". So I want to get the folder name or folder Id in the document custom form.

 

Please refer attached screenshot

Avatar

Level 8

You are absolutely right. I took a wrong turn somewhere in the answer to the question.

 

I will think about a solution, but do not have any idea yet.

 

Sorry for the moment.

 

Regards

Lars

Avatar

Correct answer by
Community Advisor

It doesn't strictly answer your question, but since we don't always get what we want in Workfront....
if you use this text mode in document report:

listdelimiter=<hr>
listmethod=nested(folders).lists
name=All folders
textmode=true
type=iterate
valueexpression=CONCAT({ID}," - ",{name})
valueformat=HTML

you will get a field that concatenates both folder(s) ID and name in a report cell.

Hope this helps

Avatar

Level 3

Thanks Rafal.

 

Is there any way to get Project folder in Calculated field?