Hi Bernd,

Ummm, not sure what you are trying to do, but the RQL in the above method 
is redundant

<% 
 ' Intruduce the url you want to visit 
 GotothisURL = "*
http://localhost/cms/ioRD.asp?Action=Preview&Pageguid=<%inf_guid%>*"  

 ' Create the xml object 
 Set GetConnection = CreateObject("Microsoft.XMLHTTP") 
 ' Conect to specified URL 
 GetConnection.Open "get", GotothisURL, False 
 GetConnection.Send  

 ' ResponsePage is the response we will get when visiting GotothisURL 
 *ResponsePage* = GetConnection.responseText 

' We will write  
 Response.write (ResponsePage) 

 Set GetConnection = Nothing 
 %>
The RQL is basically doing the same thing, so why not cut out the middle 
man and extra processing?

Also, it is not a best practice to preexecute RQL within the templates.  
>From all the projects that have landed on supports desktop and the ones I 
have audited, project with prexecuting RQL tend to be associated the words: 
high maintenance, slow performance, difficult to migrate to version 10 or 
11, frequent publication issues, and more.

Just want to mention it here, so you may not fall into the same pitfalls as 
the other no so successful projects. 

On Wednesday, May 29, 2013 4:11:48 AM UTC-4, Bernd wrote:
>
> Hi all,
>  
> it's possible to get the result from a RenderTag via RQL!!!!
>  
> Insert in the template this code:
>  
> <reddot:cms>
>   <if>
>     <query valuea="Context:CurrentRenderMode" operator="!=" valueb="Int:2">
>       <htmltext>
>         <!--
>           <bb_RDTag><%!! Navigation:OutputArea(BreadCrumb,Bool:True) 
> !!%></bb_RDTag>
>         -->
>       </htmltext>
>     </query>
>   </if>
> </reddot:cms>
>  
> In The RQL-Script can you use the SmartEdit-Preview. You get the HTML and 
> can parse it. All other things are simple :-)
>  
> <PREVIEW projectguid="strProjectGuid" loginguid="strLoginGUID" 
> url="/CMS/ioRD.asp" querystring="Action=Preview&amp;Pageguid=strPageID"/>
>  
> I think this is a perfekt way.
>  
>  
> Best Regards
>  
> Bernd
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to