Re: Adding keyword using JavaScript/RQL

2012-07-19 Thread Neil Fegen
Sorry, that was my copy and paste error - I am using AddKeyword. The keywordGUID variable has 1 GUID so from a SmartEdit source code point of view, everything looks fine, e.g., InitRqlParams("6059BFE756384E06A4D92F6225D278CD","6059BFE756384E06A4D92F6225D278CD"); AddKeyword("BD208A8FB3F54B

Re: Adding keyword using JavaScript/RQL

2012-07-18 Thread Jian Huang
Hi Neil, You are calling AssignHeadlineAsFileName instead of AddKeyword. Also, when you are feeding in keywordGUID from preexecution or rdexecution variant, does it have 1 guid or multiple guids like , , ? If it is the later format, the AddKeyword need .split to parse it. Please le

Re: Adding keyword using JavaScript/RQL

2012-07-18 Thread Neil Fegen
Hi Jian Thanks for replying In the template, I have this (similar to your code): InitRqlParams("<%inf_loginGUID%>", "<%inf_sessionKey%>"); AssignHeadlineAsFileName("<%pageGUID%>","<%=keywordGUID%>"); Looking in the source code, there are GUIDs for the four varia

Re: Adding keyword using JavaScript/RQL

2012-07-17 Thread Jian Huang
Hi Neil, Did also include "AutoFileName.js" and have the following javascript run first? InitRqlParams("<%inf_loginguid%>", "<%inf_sessionkey%>"); my autofilename plugin's code is within SmartEdit only blockmark, so it only runs within SmartEdit, so you might want to check your code to see wh

Adding keyword using JavaScript/RQL

2012-07-16 Thread Neil Fegen
Hi guys Based on Jian Huang's AutoFileName plugin, I've tried to make something similar to add a specified keyword to a page, rather than using cumbersome RQL directly in SmartEdit. I'm getting nothing saved - can anybody help with