Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Write document to a dynamic sub directory

$
0
0

Hello,

 

I am using the Write Document (FileUtilService) to to write some attachments to a static directory by using the below statement and it works just fine.

 

Input - Pathname Pattern (XPath expression)

concat("D:\MyDir\", getDocAttribute(/process_data/attachments[number(/process_data/@attachCount)],"wsfilename"))

 

Now I would like to them to a dynamic sub-directory like "D:\MyDir\XXXX\"   where XXXX is number that dynamic change by Process ID.

I try this:   concat("D:\MyDir\process_data/@id$}\", getDocAttribute(/process_data/attachments[number(/process_data/@attachCount)],"wsfilename"))

but it does not work right.

 

Can any one please adivse.

 

Thanks in advance,

Han Dao


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>