Hi Dave
Yes we’re using 6.5. I did a trace on the application just to see what was being passed to the xml application. As you can see I tried it a couple of ways changing the parameter names but no joy:
09/02 04:57:04.708 App Handler Processing
Using App Handler for sp_Support_cas
09/02 04:57:04.708 App Handler Processing
Finding resource get_all_content in sp_Support_cas
09/02 04:57:04.708 App Handler Processing
Examining resource: get_all_content (id = Dataset10812) - Selection succeeded
09/02 04:57:04.724 Basic Request Info
GET /Rhythmyx/sp_Support_cas/get_all_content.xml
09/02 04:57:04.724 Initial HTML/CGI
HTML Parameters:
sys_contentid = :sys_contentid
sys_variantid = :sys_variantid
CGI Variables:
09/02 04:57:04.724 File Info
No files found:
09/02 04:57:04.724 Session Info
Sessions are enabled but existing user session not found.
09/02 04:57:04.724 App Security
User has the access level required: Query
09/02 04:57:04.740 Resource Handler
SQL statement submitted: SELECT DISTINCT
CONTENTSTATUS.,
PSX_CONTENTTYPE_TEMPLATE.,
STATES.*
FROM CONTENTSTATUS
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU ON
CONTENTSTATUS.CONTENTID = BU.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = BU.REVISIONID
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU2 ON
BU2.BUSINESS_UNIT = BU.BUSINESS_UNIT
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP ON CONTENTSTATUS.CONTENTI
D = DP.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = DP.REVISIONID
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP2 ON DP2.DEPARTMENT =
DP.DEPARTMENT
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC ON CONTENTSTATUS.CONTENTID
= LOC.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = LOC.REVISIONID
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC2 ON LOC2.LOCATION =
LOC.LOCATION
LEFT JOIN CONTENTSTATUS CON2 ON DP2.CONTENTID = CON2.CONTENTID
AND LOC2.CONTENTID = CON2.CONTENTID
LEFT JOIN STATES ON CONTENTSTATUS.CONTENTSTATEID = STATES.STATEID
AND CONTENTSTATUS.WORKFLOWAPPID = STATES.WORKFLOWAPPID
LEFT JOIN PSX_CONTENTTYPE_TEMPLATE ON CONTENTSTATUS.CONTENTTYPEID =
PSX_CONTENTTYPE_TEMPLATE.CONTENTTYPEID
WHERE CON2.CONTENTID = :sys_contentid
AND CONTENTSTATUS.CONTENTID <> :sys_contentid
AND PSX_CONTENTTYPE_TEMPLATE.TEMPLATE_ID = :sys_variantid
09/02 04:59:39.040 App Handler Processing
Using App Handler for sp_Support_cas
09/02 04:59:39.040 App Handler Processing
Finding resource get_all_content in sp_Support_cas
09/02 04:59:39.040 App Handler Processing
Examining resource: get_all_content (id = Dataset10812) - Selection succeeded
09/02 04:59:39.040 Basic Request Info
GET /Rhythmyx/sp_Support_cas/get_all_content.xml
09/02 04:59:39.040 Initial HTML/CGI
HTML Parameters:
sys_contentid = :sys_contentid
sys_variantid = :sys_variantid
CGI Variables:
09/02 04:59:39.040 File Info
No files found:
09/02 04:59:39.040 Session Info
Sessions are enabled but existing user session not found.
09/02 04:59:39.040 App Security
User has the access level required: Query
09/02 04:59:39.040 Resource Handler
SQL statement submitted: SELECT DISTINCT
CONTENTSTATUS.,
PSX_CONTENTTYPE_TEMPLATE.,
STATES.*
FROM CONTENTSTATUS
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU ON
CONTENTSTATUS.CONTENTID = BU.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = BU.REVISIONID
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU2 ON
BU2.BUSINESS_UNIT = BU.BUSINESS_UNIT
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP ON CONTENTSTATUS.CONTENTI
D = DP.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = DP.REVISIONID
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP2 ON DP2.DEPARTMENT =
DP.DEPARTMENT
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC ON CONTENTSTATUS.CONTENTID
= LOC.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = LOC.REVISIONID
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC2 ON LOC2.LOCATION =
LOC.LOCATION
LEFT JOIN CONTENTSTATUS CON2 ON DP2.CONTENTID = CON2.CONTENTID
AND LOC2.CONTENTID = CON2.CONTENTID
LEFT JOIN STATES ON CONTENTSTATUS.CONTENTSTATEID = STATES.STATEID
AND CONTENTSTATUS.WORKFLOWAPPID = STATES.WORKFLOWAPPID
LEFT JOIN PSX_CONTENTTYPE_TEMPLATE ON CONTENTSTATUS.CONTENTTYPEID =
PSX_CONTENTTYPE_TEMPLATE.CONTENTTYPEID
WHERE CON2.CONTENTID = :sys_contentid
AND CONTENTSTATUS.CONTENTID <> :sys_contentid
AND PSX_CONTENTTYPE_TEMPLATE.TEMPLATE_ID = :sys_variantid
09/02 05:01:26.465 App Handler Processing
Using App Handler for sp_Support_cas
09/02 05:01:26.465 App Handler Processing
Finding resource get_all_content in sp_Support_cas
09/02 05:01:26.465 App Handler Processing
Examining resource: get_all_content (id = Dataset10812) - Selection succeeded
09/02 05:01:26.465 Basic Request Info
GET /Rhythmyx/sp_Support_cas/get_all_content.xml
09/02 05:01:26.465 Initial HTML/CGI
HTML Parameters:
sys_contentid = :PSXParam/sys_contentid
sys_variantid = :PSXParam/sys_variantid
CGI Variables:
09/02 05:01:26.465 File Info
No files found:
09/02 05:01:26.465 Session Info
Sessions are enabled but existing user session not found.
09/02 05:01:26.465 App Security
User has the access level required: Query
09/02 05:01:26.465 Resource Handler
SQL statement submitted: SELECT DISTINCT
CONTENTSTATUS.,
PSX_CONTENTTYPE_TEMPLATE.,
STATES.*
FROM CONTENTSTATUS
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU ON
CONTENTSTATUS.CONTENTID = BU.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = BU.REVISIONID
LEFT JOIN SP_META_BUSINESSUNIT_SP_META_BUSINESSUNIT BU2 ON
BU2.BUSINESS_UNIT = BU.BUSINESS_UNIT
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP ON CONTENTSTATUS.CONTENTI
D = DP.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = DP.REVISIONID
LEFT JOIN SP_META_DEPARTMENT_SP_META_DEPARTMENT DP2 ON DP2.DEPARTMENT =
DP.DEPARTMENT
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC ON CONTENTSTATUS.CONTENTID
= LOC.CONTENTID
AND CONTENTSTATUS.CURRENTREVISION = LOC.REVISIONID
LEFT JOIN SP_META_LOCATION_SP_META_LOCATION LOC2 ON LOC2.LOCATION =
LOC.LOCATION
LEFT JOIN CONTENTSTATUS CON2 ON DP2.CONTENTID = CON2.CONTENTID
AND LOC2.CONTENTID = CON2.CONTENTID
LEFT JOIN STATES ON CONTENTSTATUS.CONTENTSTATEID = STATES.STATEID
AND CONTENTSTATUS.WORKFLOWAPPID = STATES.WORKFLOWAPPID
LEFT JOIN PSX_CONTENTTYPE_TEMPLATE ON CONTENTSTATUS.CONTENTTYPEID =
PSX_CONTENTTYPE_TEMPLATE.CONTENTTYPEID
WHERE CON2.CONTENTID = :PSXParam/sys_contentid
AND CONTENTSTATUS.CONTENTID <> :PSXParam/sys_contentid
AND PSX_CONTENTTYPE_TEMPLATE.TEMPLATE_ID = :PSXParam/sys_variantid