Hey!
1. Read the "jobguid" from the newly created page.
2. Check the job status frequently, like a loop till status is done.
For that use RQL
xmlString = "" _
& "<IODATA loginguid='" & session("LoginGuid") & "' sessionkey='"
& session("SessionKey") & "'>" & Vbcrlf _
& " <PAGE><PAGEDEFINITION action='getstatus' jobguid='" & jobguid
& "'/></PAGE>" & VbCrLf _
& "</IODATA>" & Vbcrlf
in a function like
Function fckGetJobStatus(jobguid)
End Function
and do
If objIO.GetAttribute("PAGEDEFINITION","finished",resXML) <> "1"
Then fckGetJobStatus(jobguid)
fckGetJobStatus =
objIO.GetAttribute("PAGEDEFINITION","finished",resXML)
inside.
3. If done, do whatever you want to do with your newly created page.
Like changing the headline.
Best from Hamburg,
-alex
--
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.