Page 1 of 1

Cross-site Lookup filtered by ContentType = Folder and not RecursiveAll

Posted: 11 Oct 2018
by AlexStenAlexSten
Hello All,
is it possible to configure the CSL to show up only the folder on first level (Non Recursive)?
I have a document library where the folders on the root level are used to classify the documents. On the second level the users can create their own folders as they need.
Now, when the user add a new document on the library, I'd need a lookup that shows all the first level folders, by Name.
Till now, I only managed to filter the CSL by ContentType = Folder, but this returns all folders (RecursiveAll).
Also cannot display the Name, but only the Title, which is not always filled up in my scenario.
I have SP2013 onPremises, with CSL 1.4.4 and FormDesigner 3.1.4.

Thanks for your help,
Alex

Re: Cross-site Lookup filtered by ContentType = Folder and not RecursiveAll

Posted: 11 Oct 2018
by AlexZver
Hi Alex,

Unfortunately, it's not possible to do it directly, but you can create a separate column depending on the depth of the folder (i.e. flag= 1 or 0) and filter through it. You can populate this column with flow or workflow.

Re: Cross-site Lookup filtered by ContentType = Folder and not RecursiveAll

Posted: 12 Oct 2018
by AlexStenAlexSten
hi Alex,
thank you for your quick reply. I will try to sort it out following your suggestion.

Cheers,
Alex