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)
Preview Button functionality
infoForDj
Hi,
I have 3 TPLs mapped to a single DCT.
When I click on preview button after filling in values for a DCR, Teamsite prompts me for chosing one out of the three TPLs for preview.
However, after the first preview, if I change some data and click on preview, it shows me the preview with the previously selected TPL.
Is there some way that, every time I click on preview, I get prompted for selecting the TPL?
Thanks,
Dhruv
Find more posts tagged with
Comments
Nicholas
You need to create three entries for your presentation templates in templating.cfg.
Thanks Nicholas
infoForDj
Hi,
I already have entries for all the TPLs.
Problem is I get prompted for selection only the first time.
If I change something in DCR and then click on preview again, it shows me the preview with the preselected TPL.
The requirement is that the user should be prompted for selecting the TPL, each time he clicks on preview.
Thanks,
Dhruv
Nicholas
Once you open the DCR and PREVIEW it, it will ask for TPL selection and assumes to preview with same TPL from the same DCR window. If you wanted to ask it for every time, you need close DCR window and open it again.
Thanks Nicholas
gzevin
I believe this is not due to preview functionality, but rather due to the Form Settings. One could always change a TPL by clicking on this button.
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
Nicholas
That (Form Settings) is again to select one TPL and when PREVIEW will automatically show the preview for selected TPL.
More or less, if you wanted to choose any other TPL to show preview, you have to open a new DCR instance otherwise it keeps showing the preview according to selected TPL.
Thanks Nicholas
infoForDj
Hi,
Can I add another button which will save the DCR, then call a CGI thatl prompt the user to select a TPL and then show the preview using the selected TPL?
If yes, can you please tell me
1. How to add a new button ?
2. On which event shall I call the javascript which will have IWDatacapture.cfg.save() and a call to the CGI script?
3. Finally, the command used to do a preview.
Thanks,
Dhruv
Nicholas
I don't know why you wanna go for this lengthy process as it is very simple to open a DCR in new window.
Well yes, you can add a new button with specific functionality. There are some other threads and UI customization guide available for this reference.
Thanks Nicholas