my office # can be dalled directly from outside as 202 912 7852
Sent from my Nokia phone
-----Original Message-----
From: Bart
Sent: 02/22/2010 7:21:06 AM
To: RedDot CMS Users
Subject: Re: RQL: problem after upgrading from 7.5.0.22 to 7.5.2.35
The problem is linked to the asynchronous execution of the RQL
statements.
When I copy and connect a page using RQL, the headline information of
this page is not immediately accessible, but the page guid is.
I use the following instructions to copy a existing page, and then I
read the guid of this newly created page.
'Copy and Connect Page
xmlFile = sendXML(RQLObject, "<IODATA sessionkey="""+SessionKey+""">"
+ _
" <LINK action=""assign""
guid="""+LinkGUID+""">" + _
" <PAGE action=""copy""
guid="""+SourcePageGUID+""" copymode="""+COPY_MODE+""" />" + _
" </LINK>" + _
"</IODATA>" )
xmlDoc.LoadXML (xmlFile)
Set NodeList = xmlDoc.selectNodes("/IODATA/LINK/PAGE")
CreatedPageGUID = NodeList.item(0).getAttributeNode("guid").value
I subsequently try to modify the headline to remove the 'Copy of' that
is added by RedDot, but this doesn't work, even if I use the new
parameter sync.
xmlFile = sendXML(RQLObject, "<IODATA sessionkey="""+SessionKey
+""">" + _
" <PAGE action=""save""
guid="""+CreatedPageGUID+"""
headline="""+escapeXml(SourceHeadline)+""" sync=""1"" />" + _
"</IODATA>" )
Other RQL-instructions also do not work as you'd expect: I'm not able
to read a certain element GUID present on the newly created page.
In the release notes of the CMS version 7.5.2.35 OpenText states
clearly that a rapid succession of RQLs can cause problems because of
the asynchronous behavior, as you can read for yourself:
"With RQL it is now possible to save a page entirely synchronously.
So far, a part of the saving process had been carried out
asynchronously. In certain situations, this led to problems with the
page versions if several RQLs that all affected this page were sent in
rapid succession."
The thing that causes me a huge headache is the fact that the new
attribute sync does not do the job for me.
On Feb 19, 6:32 pm, Bart <[email protected]> wrote:
> The r
Email truncated to 2,000 characters
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.