re:most recent uploaded file

how to get most recent document uploaded in grid.I have created grid with 3 columns ,in which how to get most recent document which is uploaded by user.

  Discussion posts and replies are publicly visible

Parents
  • Do you mean that a User can upload 3 different documents into your interface in any order and you want to know which was the latest one they uploaded? When you execute the saveInto() on your a!fileUploadField() you could execute an additional a!save() and store the value of fn!now() into a local variable, one for each of the files the user can upload. You can then compare the local variables to determine which was the latest.

Reply
  • Do you mean that a User can upload 3 different documents into your interface in any order and you want to know which was the latest one they uploaded? When you execute the saveInto() on your a!fileUploadField() you could execute an additional a!save() and store the value of fn!now() into a local variable, one for each of the files the user can upload. You can then compare the local variables to determine which was the latest.

Children