OpenDeploy query
While doing publishing through command line using iwocmd command, is it possible to ignore publishing the locked files or files which are in still in edit mode?
./iwodcmd start <config filename> -k notifyActivity=yes
I read the document but couldn't find anything.
TIA,
Answers
-
Cannot do in OD. May be if you consider runnning your OD command via shellscript etc, then after your filelist is ready, you can loop your filelist files with /TeamSite/bin/iwlockinfo or /TeamSite/bin/iwfilestate to find if file is locked or edit-mode. Remove those files and trigger OD.
0 -
Are you using a Workflow ? There are WF parameters to autolock a file, that will cause the WF to fail if it cannot lock the file. Likely not the behavior you are looking for, but an option.
The filelist suggestion is the best approach. If you use a WF, you can have a step before the deployment that will remove any files from the task that are locked
Also, I do not think there is a way to see if a file is being edited (unless it is locked). The CLT iwfilestate shows if it is editable, but doesn't know if it is being edited.
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 149 General Questions
- 148 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 181 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.