Is there a way to see all folders that have a template still linked?

  • 1
  • Question
  • Updated 1 year ago
We started using templates a couple years ago and WARNED our users that if they did not unlink the template from the new folder structure that issues could arise when that template was updated.  We are now moving AWAY from folder templates and have a singular folder that has all base templates that users can copy into their new structures.  Two benefits are:

1.  These folders can have files already populated in them should that be a requirement of the new structure
2.  You can apply default security to folders that may need to be locked down due to regulations like HR or Financials.

Maybe some day Citrix will review how templates are use and offer these two enhancements, if you do, can you also have the default choice for linking templates be OFF unless the user wants to enable that feature.  Much more problematic as it is currently designed.
Photo of Brian LeComte

Brian LeComte

  • 32 Posts
  • 16 Reply Likes

Posted 1 year ago

  • 1
Photo of Keith


  • 11 Posts
  • 1 Reply Like
I've had the same problem with users forgetting to remove the template association.  The only way I've been able to figure out is to recursively walk all children folders from a root and get the FolderObject, ShareFile.Api.Models.Item, and PATCH back AssociatedFolderTemplateID = "" and IsTemplateOwned = $false where there is a template.  It's a bit brute force but work, after many, many hours it worked.