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)
branch-wide iwupdate on directories
mogoo
We have a couple of global directories that only one group touches. It would be nice if every time a file in /global/ was submitted to staging, it would update all the workareas in the branch automatically. I can think of a couple of different ways to approach this, but was wondering if anyone else out there has tackled this issue, and how you set it up?
Thanks for any input,
maureen
Find more posts tagged with
Comments
akshathp
As always there would be number of ways to resolve this but I can think of two methods:
1. Have the submit workflow do this for you as an added external task. That way in this external task you could use the "iwupdate" CLT for updating workareas.
2. You could also use the trigger way. I mean, have an atsub trigger set for your server. And have this trigger execute your custom ipl for updating workareas. That way upon each submit this trigger will promptly update workareas.
Question would be how to have only this particular directory get in effect. With trigger based solution although the trigger will get kicked off on each submit but in your script you could enforce a validation for this folder.
In the workflow based method, this would be easier to handle as you could use "branch list" tag in your available_template.cfg to control the workflow bounds.
Hope this helps!
Akshat Pramod Sharma
Interwoven Inc.
Adam Stoller
The workflow solution is kinder to your system - less overhead than a trigger, however the trigger will fire even in the case of a Submit Direct whereas the workflow solution will only work if you always use a submit workflow process.
You can control the access of Submit Direct by modifying your iw.cfg
[ui_remove_menu_items]
submit_direct="admin,editor"
and make sure you don't allow Submit Direct to be tied to the Submit button - i.e. nothing under
[submit_button]
I suggest allowing Master users to use Submit Direct from the menu as sometimes there is a good reason to be able to do this. You don't have to list Author from the exclusion list because they aren't allowed to submit directly to staging anyway.
--fish
(Interwoven Senior Technical Consultant)
mogoo
Thank you very much for the suggestions, akshat & fish! These are really good points to consider, we'll have to mull it over here to decide which one is best... a 3rd possibility would be a custom menu item...
Thanks for the good food for thought!
maureen