GlideRecord methods are not working in a scoped CMS portal.

Steps to Reproduce

  1. Create a new scoped app using an Advanced Service Management template.

  2. Choose the new application as the application target for changes and additions.

  3. Create a new CMS Site record.

  4. Create a new page .

  5. Create a dynamic block with the following code in the application scope:

    <?xml version="1.0" encoding="utf-8" ?>
    <j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
    <g:evaluate var="jvar_gr" object="true"> var gr = new GlideRecord("incident"); gr.addQuery("active", true); gr.query(); gr; </g:evaluate>
    <j:while test="${jvar_gr.next()}"> ${jvar_gr.getValue('number')} </j:while>

  6. Create a second dynamic block using the same code but this time in the global scope.

  7. Add the new dynamic block to the scoped CMS page.

  8. View the scoped CMS page.

    The Scoped Dynamic block does not render active incidents, but the Global Dynamic block does render active incidents.


There is no known workaround for this issue. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.

Related Problem: PRB677833

Seen In

Geneva Patch 3 Hot Fix 2
Geneva Patch 6

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-11-28 09:52:37