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)
Disabling "Preview" when generating js files
ttriemst
I have a question that I can't seem to figure out. I am trying to generate a .js file, but would like to disable the "preview" optioin while it is generating the js file. When I enter in my values into the template and then press generated, it asks me to save it (which I do). Then it asks if I would like to preview the file. I would like to make it so that the preview option doesn't pop up. Any suggestions?
Find more posts tagged with
Comments
Johnny
By default, when you press the generate button, once completed it will launch a window displaying the resulted file.
I havent seen too many ways around this.
There are posts around describing a method for hiding various DCT buttons, you could then use a workflow to generate the page rather than the generate button itself.
John Cuiuli
abhishek_gupta
Instead of letting the user generate the file manually, you can write the command line - iwregen somewhere in the code. For e.g as soon as he clicks on 'Save', using FormAPI, invoke the iwregen conmmand. And you will have to go into the datacapture servlet, so that you could remove the Generate and Preview buttons from the DCT.
AK
Interwoven Consultant
Edited by a_g on 07/25/03 02:11 AM (server time).