I am trying to customize a Document Library Custom View so it shows the items in a specific folder. I managed to do that with SharePoint Designer by changing the Caml Query:
<View Scope="RecusiveAll" ...
<Query>
<where>
<contains>
<FieldRef Name="FileDirRef" />
<Value Type="Lookup">{Folder Name}</Value>
</contains>
</where>
</Query>
...
So now I get only the documents of this folder.
But when I want to upload a document throw this view the Destination Folder is still the Root.
Is there a way to change this? So when I upload a doc by default I get /{FolderName}/
for this specific view?
This view will be set on a web part page and the users will use Drag&Drop to upload so I need it to point to the right folder.
Thanks