Word_Replace_Text.xaml (11.4 KB)
Hi, how does this process runs as im not sure how it works with each other especially the assign part with combine path etc. Do explain to me thank you.
Word_Replace_Text.xaml (11.4 KB)
Hi, how does this process runs as im not sure how it works with each other especially the assign part with combine path etc. Do explain to me thank you.
Hi,
This workflow makes a folder named “Output Files” under current directory : usually same as project folder. And copy each docx file under “c:\Users\Incorp” folder to [current directory]\Output Files\[filename]
. Then replace key string with value string, which are defined in xlsx.
Note:
CurrentFile.FullName returns the filename with full path. In this case, “c:\Users\Incorp\test.docx”, for example.
CurrentFile.Name returns filename without directory. In this case, “test.docx”, for example.
Path.Combine(Environment.CurrentDirectory,"Output Files",CurrentFile.Name)
returns [current directory]\Output Files\test.docx
, for example
Hope this helps you.
Regards,
Hi @superpunchypp ,
I believe we had already provided suggestions on your previous post as well :
We did also suggest checking in the Immediate Panel as it also works for Self-Learning and the understanding of each part of the expression could also be validated and checked.
For Checking in Immediate Panel, Apply a Breakpoint and switch to Immediate Panel :
Checking in Immediate Panel :
We need to type in the values/variables in the Immediate Panel.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.