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.
OK... got an update. I had to clear out our log files via the Server Manager. It frozen my browser trying to get to the 1 file I needed. So, I was able to see the RQL for the force publish I did on the page I want. I got all the session keys, and the project GUID, which was different that the one I obtained via the project SmartTree.Anyway, I'm still getting a login error. If I'm using my log in to create this job, can I actually be logged in when it needs to run? Or, do I need to be logged out for this to run successfully?Thank you.
On Monday, July 16, 2012 12:40:53 PM UTC-7, Bonnie Cohen wrote:Troy, thank you for your help. I was actually able to find some code like what you shared, but I'm getting an error. Here's what I've done:* In the Server Manager, I created a User-Defined Job that's Event Controlled.* I selected RQL command and entered the code below, entering all my GUIDs. (My user name & password checked "OK!")* To get the Session Key for the Project node, I created a Info element, type Session Key, in a template and previewed the page to see the Session Key. (Not sure if that's the correct way?)* I then went back into my project and created a workflow, and added my User-Defined Job as a reaction.I ran a test of all this and received an error = "Please login"Is this because of an incorrect Session Key? Also, I'm not sure what do to with "reddotserver="#SESSION_KEY"". Does the same Session Key go in there, as in the Project Node?Thank you again for your help.
--
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/-/EQpXj3tZdzAJ.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
I thought that might have been the case, so I tried using an Admin login to set up the User-Defined Job. (It checked "OK!") I still received the "Please login" error.Is there anything else that can cause this? RedDot... I mean Open Text, is not responding to my support emails.Thank you.
On Monday, July 16, 2012 5:58:48 PM UTC-7, Jian Huang wrote:
Yes, if your login is set to have more than 1 session. If default, no
Sent from my iPhone
To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-users+unsubscribe@googlegroups.com.
<IODATA>
<PROJECT guid="PROJECT_GUID" sessionkey="SESSION_KEY">
<PAGE guid="PAGE_GUID">
<EXPORTJOB action="save" email=" " toppriority="0" generatenextpages="1" generaterelativepages="0" reddotserver="#SESSION_KEY" application="" generatedate="" startgenerationat="">
<LANGUAGEVARIANTS action="checkassigning">
<LANGUAGEVARIANT guid="LANG_VAR_GUID" checked="1" />
</LANGUAGEVARIANTS>
<PROJECTVARIANTS action="checkassigning">
<PROJECTVARIANT guid="PROJECT_VAR_GUID" checked="1" />
</PROJECTVARIANTS>
</EXPORTJOB>
</PAGE>
</PROJECT>
</IODATA>
I got the GUIDs and Session Key from the Common\RDCMS.log file after I published out the page I want.
<PROJECT guid="[!29XXXXXXF403984E7XXXX861B4B!]" sessionkey="[!29XXXXXXF403984E7XXXX861B4B!]">
<PROJECT guid="29XXXXXXF403984E7XXXX861B4B" sessionkey="29XXXXXXF403984E7XXXX861B4B">
<PROJECT guid="[!29XXXXXXF403984E7XXXX861B4B]" sessionkey="[!29XXXXXXF403984E7XXXX861B4B]">