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)
Save & Generate Button
code
Hello,
my question would be whether it is possible to have a "Save & Generate" button in a DCT? Basically, it should store an HTML version of the previously generated XML file in the same folder.
Does anyone has a suggestion?
Thanks a lot.
Find more posts tagged with
Comments
Migrateduser
Could you use an onServer FormAPI call to a JSP that regenerates the page? I am not sure how it would know which page to regenerate unless you have rules somewhere to determine what DCRs generate what output files (such as /templatedata/category/type/data/folder1/folder2/dcr always generates /folder1/folder2/dcr.html using presentation.tpl), which can be determined from reading templating.cfg and looking at the directory the DCR is in.
This is what I am doing on my current project. I don't think you can/should add a button.
code
I am using the Java Client as DCT Interface. If I understand it correctly this is not able to use the FormAPI, correct?
Regards
Migrateduser
Correct, FormAPI won't work. I guess you could use a Java callout? But do you have the option of switching to the servlet UI? It has come a long way since the Java client was developed (actually I have never seen the Java client used in a production environment for various reasons).
I thought Interwoven was no longer supporting/recommending/enhancing the Java client - does anyone know anything about this?