I have a small problem with adding files to a task in one of my workflows.Here the requirement is Content Generator creates a DCR and puts some Images( From TeamSite Workarea) it.We have an external task which parses the DCR, extracts the image links and add it to the task.
The last step ( Adding Images to the task ) is failing when the Image name contains Spaces.
My Code is as follows:
#######################################################
my $iwaddtask_image = "$iwhome/bin/iwaddtaskfile";
my($jobid, $taskid) =
@ARGV;
my $image_name="documents/CM_Templates/AnalyticalProcedures/images/Sunflower Bkgrd.jpg";
system($iwaddtask_image, $taskid, $image_name, "Image");
#######################################################
Here Teamsite 5.5.2 Installed on Windows NT machine.
Pls suggest me how can i overcome this Issue.