Locate a folder in a different Site

ces55739's Avatar

ces55739

28 Jul, 2014 07:46 PM

Hello,

I am wondering how to locate a folder in a separate site using velocity.

I tried using the Locator Tool with something like this:
$_.locateFolder('site://Public/path/to/folder')

However, that did not work. Any help is appreciated!

Thanks!

  1. 1 Posted by Eric L. Epps on 28 Jul, 2014 09:12 PM

    Eric L. Epps's Avatar

    Looks like it should be $_.locateFolder(path, siteName)

    http://www.hannonhill.com/kb/Script-Formats/#locator-tool

  2. 2 Posted by ces55739 on 28 Jul, 2014 09:22 PM

    ces55739's Avatar

    Wow. I have looked over that page who knows how many times and looked over that each time apparently.

    Thanks a ton Eric!!

  3. ces55739 closed this discussion on 28 Jul, 2014 09:22 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac