In DCT, when multiple PT is available, and if user has selected say PT1 for preview for the first time, the system/DCT will NOT ask the user to select PT again for the subsequent preview. Is there any trick or config available so that the DCT will ask to the user select PT on every preview.
IWEventRegistry.addFormHandler("onFormInit", init);function init() { IWEventRegistry.addFormHandler("onPreview", remove_pt_setting); IWEventRegistry.addFormHandler("OnGenerate", remove_pt_setting);}function remove_pt_setting() { IWPageGeneration.setPresentationTemplate(new IWPresentationTemplate('',''));}
Is there any way to set this behaviour in a system/global way?As the FormAPI approach has to done per DCT.Thanks,John
Hi,TS671SP1 on Windows.In DCT, when multiple PT is available, and if user has selected say PT1 for preview for the first time, the system/DCT will NOT ask the user to select PT again for the subsequent preview. Is there any trick or config available so that the DCT will ask to the user select PT on every preview.Thanks,John
Hi John,Juts want to tell you that I've found the answer.under iw-home\httpd\webapps\content_center\formspubmodify 2 files:1. datacapture_settings.jspunder funciton doPreview(), remark the "if" condition such that pt = getPTSelection(); applies all the time.2. datacapture.jsunder function datacapture_getPT(), change return pt to return "".then restart Teamsite.