All, working on setting a parameter. using a file to pulle the last column, tuple 4.
Why doesn’t this work?
Thanks in advance.
parameter “UNCPATH”="{(tuple string item 4 of (concatenation ", " of (substrings separated by “,” of (lines of file “SubLocation.txt” of (client folder of site whose (Name of it = “actionsite”))) whose (it as string starts with (registration subnet address of client as string)))))}"
setting “UNCPATH”={parameter “UNCPATH”} on “{now}” for client
So are you looking for a file “SubLocation.txt” inside the actionsite directory? If this file isn’t actually in the site (propagated from the server) it will be deleted every time the actionsite is gathered.
Withdrawing my previous post, now that I’m reading on a desktop I can see your example was two lines, not the four lines that appeared due to my phone wrapping them. I don’t see anything wrong with the original relevance. Would need to see how this works in the debugger on your side.