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)
Customize Workflow screen
abhishek_gupta
Hi,
I want to customize my Workflow screen.
1. The 'Run Job' and 'cancel' button appear twice, once at the top and then at the bottom. I need to take of the buttons that appear at the top. Just the bottom buttons should remain.
2. Can the label on the button - "Run Job" be changed to something else, like "Submit"
When we click on close in the DCT, the alert message comes which says - "Do you want to start a new job" - Ok and Cancel. Can this alert be customized.
Any help would be appreciated. Thanks in advance.
-Abhi
Find more posts tagged with
Comments
Migrateduser
The "Run Job" html is displayed by 'httpd/iw-bin/iwwft_instantiator.cgi'. If you search for 'submit_label', you should be able to find the html form that generates the page you are talking about.
With that being said, making a change to this file would NOT be supported by interwoven. This would be a change to a core TeamSite file. Making this could could lead to:
-problems upgrading
-lose of these changes during an upgrade, service pack, patch
-inability to make a similar change in a feature release
-loss of data
-who knows what else
I suggest you file a support case/feature request for more customizations with the various dialogs. I have not seen much of TS 6.0 yet, so for all I know, this might already be in the next release.
--
Jed Michnowicz
Interwoven Technical Consultant
rollo
What I do to change that window is to jam stuff into places it's not supposed to be... for instance, you can put a script in the head element, cos you have access to the title.
Check the attached file, it should solve your problem. Just add the CGI_info and the first element of the TAG_info. It's a major bodge, and there will be a few tags left hanging, but IE covers a multitude of sins. You could probably fix it up to make it pretty much well formed (by HTML 'standards' anyway).
rollo
For illustration's sake, here's a screenshot. This way of doing things also has the major advantage of not messing up anything on your server. It may well not work with upgrades, but it won't break anything fundamental either.
Incidentally, as I understand it, Leo (TS6, whatever) will have a lot more flexibility as far as this kind of thing.
Oh - one more thing. You can also use the 'html_body_options' to give initial focus to the first field, which is kind of useful (I think so anyway).
abhishek_gupta
Thanks...
Will try out the solution if it works..
Another question..Can the alert message which comes on the Close of a DCT (via tt_data) be customised? Right now the alert says something like .."Do you want to send it for approval" with a Ok and Cancel button. Can this alert be customised so that I can put my own message with a Yes and No button.
Thanks,
Abhi
rollo
Hope it works for you. You can actually mask or change pretty much anything on the page using onLoad.
You can't change the DCT alert messages - it uses the JavaScript confirm() function, which only allows for OK and Cancel.
Phil
Migrateduser
Maybe to change the message to start a workflow you remove the tt_data from available_templates.cfg and add formapi onClose to do your own custom thing?
or hack the source code.
Edited by john on 06/05/03 09:58 AM (server time).
rollo
Hmm.. you could actually easily change the message I suppose, as long as you didn't mind it being overwritten upon upgrade. It's bound to be in one of the files in plain text and the chances of it **** anything up are negligible, I'd imagine. But changing the buttons would require some major work.. probably too much to justify.
Migrateduser
As the previous post says, this is an unsupported thing to do. Be aware of this if you take this route. Also know this is an area we're planning to improve in an upcoming release.
lissa