Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 1 down vote accepted

http://sharepointaddict.blogspot.in/2012/10/adding-file-extensions-to-document.html

“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
add comment

Your Answer

 
discard

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.