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 > > On Jul 16, 2012, at 6:44 PM, Bonnie Cohen wrote: > > 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. >> >> >> On Friday, July 13, 2012 9:40:13 AM UTC-7, Troy Landers wrote: >>> >>> 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/-/EQpXj3tZdzAJ. > 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. > > -- 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/-/UNFfwLdnnU8J. 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.
