The RQL manual is a little hard to follow on this, so here's some example
RQL for publishing a page. As has already been suggested, publishing a few
pages and looking at the RQL in the logs will help you understand all that
is going on when publishing though.
<PROJECT sessionkey="SESSION_KEY" guid="PROJECT_GUID">
<PAGE guid="PAGE_GUID">
<EXPORTJOB action="save" email="PUBLISH_USER_GUID" toppriority="0"
generatenextpages="0" generaterelativepages="0" reddotserver="#SESSION_KEY"
application="" generatedate="" startgenerationat="">
<LANGUAGEVARIANTS action="checkassigning">
<LANGUAGEVARIANT guid="LANG_VAR_GUID_1" checked="0"/>
<LANGUAGEVARIANT guid="LANG_VAR_GUID_2" checked="1"/>
<LANGUAGEVARIANT guid="LANG_VAR_GUID_3" checked="0"/>
</LANGUAGEVARIANTS>
<PROJECTVARIANTS action="checkassigning">
<PROJECTVARIANT guid="PROJECT_VAR_GUID_1" checked="1"/>
<PROJECTVARIANT guid="PROJECT_VAR_GUID_2" checked="0"/>
<PROJECTVARIANT guid="PROJECT_VAR_GUID_3" checked="0"/>
<PROJECTVARIANT guid="PROJECT_VAR_GUID_4" checked="1"/>
</PROJECTVARIANTS>
</EXPORTJOB>
</PAGE>
</PROJECT>
Set generatenextpages to 1 to publish following pages.
Set generaterelativepages to 1 to publish related pages.
Hope this solves your problem!
Troy
On Thursday, July 12, 2012 12:51:19 PM UTC-5, Bonnie Cohen wrote:
>
> For the first time, I am resorting to trying RQL. I have a page, which
> references a container on another page. I want the 1st page to
> automatically publish when a new item is added the container of the 2nd
> page. Checking publish Related Pages is not working.
>
> Does anyone have an example of RQL to publish a specific page?
>
> Thank you for your assistance.
>
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/kPfp1Tr7I3UJ.
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.