Problem storing network file path in Private Data

Post Reply
wkopp
Member
Posts: 21
Joined: Mon Sep 16, 2019 8:20 pm

Problem storing network file path in Private Data

Post by wkopp »

I'm using a database call to return a file path into a Private Data Key that I want to use in a Pitstop action. (I'm combining two pdf files)

Sample file path from SQL:
\\server01\server Attachments\Attachments\JOBS\58k\58654\TH58654_front end sheet 4pg_Code.pdf

Results when trying to call this Private Data Key:
\server01server AttachmentsAttachmentsJOBS8k8654TH58654_front end sheet 4pg_Code.pdf

I'm trying out possible workarounds but was wondering if there's a simple fix to getting Switch to see this as a path and not drop out the special "\" characters.
jan_suhr
Advanced member
Posts: 687
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Problem storing network file path in Private Data

Post by jan_suhr »

You have to escape the backslashes for Switch to see them as backslashes

\\\\server01\\server\\ and so on
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
Post Reply