Computed filename label without sftp file path | Community
Skip to main content
New Participant
January 25, 2022
Solved

Computed filename label without sftp file path

  • January 25, 2022
  • 2 replies
  • 885 views

I am trying to compute the label of a new list referencing the vars.filename variable, but the filename includes the sftp file path. I just want to use the file name without the path included. How can I do this?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

You may use the function 

FileName($(vars/@filename))

2 replies

Sukrity_Wadhwa
Employee
February 10, 2022

Hi @rebeccateng12,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!

Sukrity Wadhwa
bisswangAccepted solution
Employee
February 1, 2022

You may use the function 

FileName($(vars/@filename))