SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I get the current list/library Name in SharePoint Designer workflow? I have searched all the lookup options, but no luck.

share|improve this question
up vote 0 down vote accepted

One method I've used in SP2007 is to have a hidden column in my list to store information. Then on the NewForm, I create a hidden field that is going to store the data I want. Then using the IIS server variable URL, you can manipulate the value using XSLT string-before and string-after functions to extract the list name. This is then stored in the list item itself and can be used in a workflow.

share|improve this answer

Just to bring this full circle, some third party workflow tools have this built in. We have Nintex Workflow available and as part of the standard pieces of data, it knows the list name and other pieces of information like item url all available as default metadata/variables that can be injected into workflow emails.

Prior to having this functionality, I had to go with the above route.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.