Sidebar

How Do I Use A Channel Cache Variable In A File Path

0 votes
195 views
asked Mar 4, 2022 by chris-m-3214 (320 points)
Is it possible to use channel cache variables in a source file path?  For instance, I would like to use a path like this:  \\myserver\c$\Temp\DynamicFolderTest\{cc:FolderYear)\*.csv

I'm not having success with this method.

1 Answer

0 votes
 
Best answer

You can use a channel cache variable in a file path on the source node. The format that you have is very close, but it looks like you have a close parenthesis at the end, rather than a close curly brace.  Try this:

\\myserver\c$\Temp\DynamicFolderTest\{cc:FolderYear}\*.csv

Also, make sure that you have the channel cache variable set to something that is part of a valid path.  If you hit 'Test Path' it should substitute the current channel cache value for the entry in your path, and display if it found the path or not.

answered Mar 4, 2022 by jon-t-7005 (7,590 points)
selected Mar 4, 2022 by chris-m-3214
...