Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

Show last person to update a document

What is the easiest way, in a form or view, to display ONLY the last person to update the document?  I.e., the last person shown in the Author field.
0
pentapod
Asked:
pentapod
1 Solution
 
andyDaleCommented:
a computed field that computes to @userName will always contain the name of the last person to save the document.

If you want a list of editors but only want to show the last make a computed field with a formula:

@if(@isDocBeingSaved;@explode(@implode(thisFieldName)+";"+@userNAme;";");thisFieldName)

The use of @isDocBeingSaved ensures that the person only gets added once and only when they save the document.

Then use a computed for display field that uses @subset(listField; -1) to show only the last entry.

These formula will all give you the 'long' name of the person John Smith/company Name/country wrap the formulas in @names([cn];VALUE) for just the common name ie John Smith
0
 
pentapodAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now