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

So I would like to try to create a workflow on a library that simply checks to see if the file extension is anything other than .xml, and if it is, rename the Name (File Name) to the same value with the extension .xml. This should be a matter of simply storing the name in a variable, some expression to check it and update the field if need.

I would also use jquery approach in CEWP if needed, or that is more viable.

I am not sure where to begin with this and would appreciate any and all help.

share|improve this question
up vote 1 down vote accepted

“SharePoint Designer Workflow Action: Retrieve the File Extension

Check this one it helps

share|improve this answer
Thanks....appreciated! – Justin Mar 24 '13 at 11:52
still doesn't seem to be a way to change the extension though. errors out when you update the ItemName, or the Name & Path in any case – Justin Jul 2 '13 at 15:31

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.