How to get the Node Owner Full name?

Dcode warner asked on March 17, 2017 17:56

Both of these rerturn the user as a number. How can I get the name. {% NodeOwner %} {%CurrentDocument.NodeOwner#%}

I also try these but they return nothing:

{%CurrentDocument.NodeOwnerFullName#%} {% NodeOwnerFullName %}

Recent Answers


Peter Mogilnitski answered on March 17, 2017 19:36

{% GlobalObjects.Users.Columns("FullName").Where("userid=" + NodeOwner).FirstItem.FullName #%}

0 votesVote for this answer Mark as a Correct answer

Dcode warner answered on March 17, 2017 20:31 (last edited on March 17, 2017 21:00)

0 votesVote for this answer Mark as a Correct answer

Dcode warner answered on March 17, 2017 20:37 (last edited on March 17, 2017 20:57)

Sorry again. How can I write this, using the script you provided that says: If name matches. Get some element:

{% if (CurrentDocument.NodeOwner == 'John Doe'){#%} {% johnDoeBio #%} {%}#%}

Or can I use that code you provided to get 'user picture', 'user signature' and 'description.' [screenshot] http://prntscr.com/el8mcn

0 votesVote for this answer Mark as a Correct answer

Dcode warner answered on March 17, 2017 20:54 (last edited on March 17, 2017 20:56)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.