Home › Forums › vLooup for SharePoint › Create child item (document library) directly in folder
- This topic has 7 replies, 2 voices, and was last updated 8 years, 3 months ago by Michal Riha.
-
AuthorPosts
-
-
June 24, 2016 at 16:29 #12113
Hi Alexander,
is it possible to create child item directly in a folder? Folder name is taken from parent field / or free typing string.
For example – if parent property is %ID% – when I click to “add new item button”, child item (document) is uploaded to …/DocLibrary/%ID%/ folder (url).Thanks and best regards
Michal -
June 29, 2016 at 06:12 #12159
I don’t think this is possible using the default “Add new item” button, but if you use vLookup to create the folders (see Add new folder option in the vLookup config) you can use the “Show upload button when hovering over a folder” to have a document added to the current folder.
Alexander
-
June 30, 2016 at 15:20 #12173
I suppose that document library folder is only part of url.
And when uploading document – just not upload to /DocumentLibrary but to /DocumentLibrary/Folder.. “Folder” is known in advance (it is parent ID)Current solution “Show upload button…” is not usable for me.
Is it possible to use this (part of) code?: https://msdn.microsoft.com/en-us/library/office/dn292553.aspx
Michal
-
July 5, 2016 at 19:25 #12249
Hi,
Does the folder already exist, or do you want to automatically create the folder, and then upload the file?Which version of SharePoint are you using? – in O365 you can select from existing folder in the add file dialog.
Alexander
-
July 6, 2016 at 19:53 #12263
Hi Alexander,
automatically create folder would be nice, but it is not critical (I can create folders before manually).I am using onprem 2013 (foundation).
Michal
-
July 13, 2016 at 14:35 #12355
Hi Alexander,
any success?
Thanks
Michal
-
July 17, 2016 at 10:13 #12380
Hi,
Sorry for the delay – I have been away for a few days. Can you test this version of vLookup and see if it works in your setup?Replace the two files in your “/SPJS/DFFS/plugins” folder.
You can see the new option in the vLookup backend config in the attached image.
PS: The folder will be created if it does not already exist in the document library.
Alexander
Attachments:
-
July 25, 2016 at 12:42 #12496
Hi Alexander,
works perfect! Thanks
Michal
-
-
AuthorPosts
- You must be logged in to reply to this topic.