1. Get the Current Document Library 2. Create a Folder "MetaFolder" if it's not already present
- by Rosh Malai
All I want to do is to create a folder "MetaFolder" inside a document library.
User can be on any document library and I would like to create this folder after item is added (so on itemAdded event handler).
I do NOT want workflow so please dont suggest workflow. This code works but I have to hardcode the url but need to get url from current url.…