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

Discussions about Cross-site Lookup
Post Reply
User avatar
AlexStenAlexSten
Posts: 31
Joined: Fri Apr 07, 2017

11 Oct 2018

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
ciao,
Ale Stendardo

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

11 Oct 2018

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.

User avatar
AlexStenAlexSten
Posts: 31
Joined: Fri Apr 07, 2017

12 Oct 2018

hi Alex,
thank you for your quick reply. I will try to sort it out following your suggestion.

Cheers,
Alex
ciao,
Ale Stendardo

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests