Hi ,I have one Landing Page DCT & Raw Detail Page DCT .Want to call Raw Detail Page DCT from Landing Page DCT .There are two ways : 1. First Create Raw Detail Page DCR & on Landing Page DCT have a browse item to browse to this DCR . This is the common sollution we usually do . 2. Creating Raw Detail Page DCRs on the fly i.e., Calling Raw Detail Page DCT ( not DCR) from Landing DCT ( by having a button or link ) then enter the data in Raw DCT & save it ...the raw detail DCR path automatically populates the text or browse item present on landing page .I want to implement by 2 way .Pls guide me is there a way to activate a child DCT from parent DCT .RegardRohit Pathak
Hi Goti ,Yes i exactly mean calling CCI URL . How do we do this ?RohitPathak
Hi,I had the same requirement as Rohit had. When i open a child dct from a parent dct, and save the child dct, the child dcr path should be fed into a text field of the parent dct. I tried using both parent.getScriptFrame() and window.opener, but was not able to access the parent dct elements.I had even passed "done_page=/iw-cc/teamsite/common/refresh_parent_and_close_window.html" parameter with the url for opening the child dct and tried to access using window.opener in the child javascript, but in vain.I will appreciate if anyone can help me with this.Thanks,Kiran.
Consider your Child DCR Page as (sort of) CGI callout Page. In both cases you can use absolutely same technique to setOpener's (Parent DCR) fields. Check for example [post=115370]Callback From CGI Page[/post] Post
Thanks boris. I had tried calling opener.top.getScriptFrame() in the java script of my child dct, but am not able to get that object and invoke any items on the parent dct. You said there are several ways for doing this. Can you please list them too, such that i can check whether that works.Thanks again for the help..Kiran.