Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Remove File from Task
Jeremy
Hi All,
I was wanting to remove files that had been attached to the Workflow and so checked the documentation for a RemoveFile command -
similar to the AddFile command found in the WFTask.pm documentation. What a surprise to see it was not there!
But upon checking the actual perl module it was there. And it works just the same as the AddFile command!
Don't you just love Teamsite Documentation!
Jeremy
Find more posts tagged with
Comments
plazm
Yes, it is there in the Perl module. But as I was told by Interwoven support, the fact it is not in the documentation means it is not supported officially. So in a futire version this may be removed and your code will stop working.
I used a command line tool to remove files. As far as I remember, the module calls the same tool. Correct me if I am wrong
)
A.
Migrateduser
I think it's pretty safe to use the perl scripts/modules that are delivered with TeamSite. Why Interwoven chooses not to document some of them is a mystery and a weakness in their documentation - one of many. However, many people use the various perl executables and modules that are shipped with the product, documented or not, and if Interwoven decides one day to make such a radical change to the underlying functionality that these scripts no longer work, we all will be changing a significant amount of our custom code. Bottom line is, chances are pretty slim that you'll have to worry about using these tools. There would be no logical reason for Interwoven to remove the RemoveFile method from the WFtask.pm module. The lack of documentation is most likely an oversight by Interwoven. The best way to determine what functionality is in a module is to use perldoc on the module.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
Edited by Smitty77 on 07/11/02 08:00 AM (server time).
iwovGraduate
If something is in the perldoc, I would consider that its *documented*. If Interwoven has to change something, they will do it, regardless of whether its documented or not. Most of the time its for a good reason. Bottomline: if its there use it !