You are viewing limited content. For full access, please sign in.

Question

Question

Issue with Workflow search query for shortcuts without security tags

asked on November 29, 2018 Show version history

Hi guys,

I'm needing to search:

  1. within a specified folder structure,
  2. excluding two specific templates,
  3. for all shortcuts that don't have any security tags.

 

I've got the search query working without any problem in the Laserfiche client, but can't get it to work in the Workflow "Search Repository" activity, it returns all shortcuts within the folder structure and seems to ignore the Tags setting.  

Here's what I'm using:

({LF:LOOKIN="Repository\FolderName"} & {LF:Name="*", Type="S"}) - {[Specific Document Template]} - {[Specific Folder Template]} - {LF:Tags="*"}

Is there a different requirement for this sort of search in Workflow?

Thanks,

Mike

0 0

Replies

replied on November 29, 2018

Shortcuts don't have tags. Tags are only associated with the entries that they point to. Shortcuts are very shallow representations of their targeted entry. They have their own location, name, created date, and modified date, but that's about it.

Unfortunately I'm not going to be much help. I'm having a hard time thinking of a way to search for shortcuts by location, that also combines a search for properties of the entry it points to.

You can probably do it in SQL, but I don't know if LFQL can do what you're after. Worst case, you can search for documents, and then loop over their shortcuts to get the path.

1 0
replied on November 29, 2018

Thanks for that Devin, I wondered if it was a case of Workflow not being able to view the shortcuts in the same manner that the LF Client search can.  I'll have to rethink that one as I need to hide the shortcuts from WebLink users as they don't have access to the targeted folders and WebLink hangs if they click the shortcuts.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.