Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Now Platform capabilities
Table of Contents
Choose your release version
    Home New York Now Platform Capabilities Now Platform capabilities Service Portal Content Management and Service Portal CMS to Service Portal transition

    CMS to Service Portal transition

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    CMS to Service Portal transition

    Your CMS may include complex forms and customizations that do not render as expected in Service Portal. Use this guide to understand how best to modify your CMS and Service Catalog implementation for Service Portal adoption, and to understand how a conversion may affect your users.

    If you are considering transitioning from CMS to Service Portal, make sure that you understand the impact of moving to a mobile environment. Review the Mobile client GlideForm (g form) scripting and migration.

    Support level and transition actions

    CMS component Service Portal support Possible transition actions
    Data lookups The client-side component of a data lookup is not supported in Service Portal. However, the data lookup is applied in the platform when a record is submitted or updated in Service Portal. While data lookups are not applied in the Service Portal, the record updates as expected in the platform UI when submitted or updated in the Service Portal. If your CMS is used by requesters only, this limitation may not affect your implementation.
    Content blocks Because Content blocks use Jelly, they are not supported in Service Portal.

    In the Service Portal, content blocks are replaced by widgets. Widgets are highly customizable components that can query record data, display and update records, and gather user input.

    Base system widgets generally cover most use cases. Just as you add content blocks to a page in your CMS, you can add widgets to a page using the Service Portal Designer.

    UI Macros Because UI Macros use Jelly, they are not supported in Service Portal.
    • In Service Portal, you can use widgets instead of UI Macros. Base system widgets generally cover most use cases, but for custom solutions, you can develop new widgets using AngularJS.
    • If your implementation includes UI Macros in Service Catalog forms that reference other fields or variables in the form, you can embed the widget inside a Service Catalog variable. Learn more: Replace a Service Catalog form script with a widget.
    UI actions All server-side UI actions are supported in Service Portal, although setRedirectURL() operations are ignored because Service Portal forms handle redirection in a different way than the platform.

    The form widget ignores all UI actions marked as Client.

    • Refactor any UI actions to remove setRedirectURL() operations.
    • Check that UI actions are not marked as client.
    Catalog client scripts Only UI Type options Mobile / Service Portal and All are supported. UI type Desktop is not supported in Service Portal. For a list of supported APIs, see Service Portal and client scripts.
    Note: Synchronous JavaScript calls are not supported in Service Portal and must be replaced by asynchronous calls. For example, the getXMLWait() method of the GlideAjax class is not supported in Service Portal. Instead, use one of the following supported asynchronous methods:
    • getXML(Function callback)
    • getXMLAnswer(Function callback)

    For additional information on GlideAjax, refer to GlideAjax.

    To understand the impact of updating your CMS to work in a mobile environment, review Mobile client GlideForm (g form) scripting and migration.

    • Update your scripts to remove any unsupported client APIs.
    • Check that the script UI Type is set to Mobile / Service Portal or All.
    UI policies Scripted UI policies can only use APIs supported in Service Portal. For a list of supported APIs, see Service Portal and client scripts. Update your scripts to remove any unsupported client APIs.
    Service Catalog variables

    Service Catalog variables are supported in Service Portal with the following exceptions:

    • UI Macros and UI pages variable types are not supported.
    • Validation Scripts for variables are not supported. Supported validation types include:
      • The Mandatory field on the variable form.
      • Read-only variables.
      • All fields in the Availability tab of the variable form.
    • Default variable size is not supported.
    • Expanding and collapsing help text is not supported. Rather, the Help text and Instructions fields defined in the Annotations tab on the variable form are always expanded. The Help tag does not display.
    • The List Collector variable displays as a choice list instead of a slushbucket in the Service Portal.
    • If embedding a widget in a catalog item form, you can use the UI Macro variable type. Learn more: Replace a Service Catalog form script with a widget.
    • If using variable with annotations, make sure to test your catalog items in Service Portal to ensure that help text displays as expected.
    Order guides Order Guides in Service Portal use the Order Guide widget.

    Large order guides can cause performance issues in the Service Portal. If you have large order guides, you can:

    • Break them into multiple order guides.
    • Simplify variables used in the order guides.
    • As a temporary solution, you can render the Service Catalog item using an iFrame. See Service Catalog forms in Service Portal.
    Record producers

    Record producers are used in Service Portal with the following differences:

    • The sort order for catalog items in record producers is not honored.
    • Date values do not honor time zone when the record producer submits a record.
    Make sure to test all record producers used in Service Portal to make sure that they behave as expected.
    Login scenarios and redirects In CMS, you used the CMSEntryPage script include to define login scenarios. Instead, Service Portal uses the SPEntryPage script include and related system properties to define login scenarios. Redirects are not supported in Service Portal. In Service Portal, define login behavior by modifying the SPEntryPage script include and setting system properties.

    For more information, see Single sign-on, logins, and URL redirects.

    Service Catalog forms Service Catalog forms such as catalog items and record producers are rendered within widgets in a two-column layout. Complex forms may not display as expected.
    • Only the top-level container settings are honored. If there are other containers within the top-level container, they are rendered as a single column. If there are container splits or nested containers within these additional containers, they are rendered as a single column. A top-level container is not a child of any other container.
    • There can be a maximum of two columns in Service Portal. If your implementation includes forms with more than two columns, the fields are reorganized into two-columns in Service Portal.
    • Variable sets are treated as containers. All previously listed rules apply to variable sets as well as any containers within them.
    • Default variable size is not supported in Service Portal.
    • Simplify any complex forms in your Service Catalog.
    • As a temporary solution, you can render the Service Catalog item using an iFrame. See Service Catalog forms in Service Portal.
    Shopping cart The Service Portal includes a base system Shopping Cart widget. Use the Shopping Cart widget.
    Related tasks
    • Replace a Service Catalog form script with a widget
    Related concepts
    • Service Catalog forms in Service Portal

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      CMS to Service Portal transition

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      CMS to Service Portal transition

      Your CMS may include complex forms and customizations that do not render as expected in Service Portal. Use this guide to understand how best to modify your CMS and Service Catalog implementation for Service Portal adoption, and to understand how a conversion may affect your users.

      If you are considering transitioning from CMS to Service Portal, make sure that you understand the impact of moving to a mobile environment. Review the Mobile client GlideForm (g form) scripting and migration.

      Support level and transition actions

      CMS component Service Portal support Possible transition actions
      Data lookups The client-side component of a data lookup is not supported in Service Portal. However, the data lookup is applied in the platform when a record is submitted or updated in Service Portal. While data lookups are not applied in the Service Portal, the record updates as expected in the platform UI when submitted or updated in the Service Portal. If your CMS is used by requesters only, this limitation may not affect your implementation.
      Content blocks Because Content blocks use Jelly, they are not supported in Service Portal.

      In the Service Portal, content blocks are replaced by widgets. Widgets are highly customizable components that can query record data, display and update records, and gather user input.

      Base system widgets generally cover most use cases. Just as you add content blocks to a page in your CMS, you can add widgets to a page using the Service Portal Designer.

      UI Macros Because UI Macros use Jelly, they are not supported in Service Portal.
      • In Service Portal, you can use widgets instead of UI Macros. Base system widgets generally cover most use cases, but for custom solutions, you can develop new widgets using AngularJS.
      • If your implementation includes UI Macros in Service Catalog forms that reference other fields or variables in the form, you can embed the widget inside a Service Catalog variable. Learn more: Replace a Service Catalog form script with a widget.
      UI actions All server-side UI actions are supported in Service Portal, although setRedirectURL() operations are ignored because Service Portal forms handle redirection in a different way than the platform.

      The form widget ignores all UI actions marked as Client.

      • Refactor any UI actions to remove setRedirectURL() operations.
      • Check that UI actions are not marked as client.
      Catalog client scripts Only UI Type options Mobile / Service Portal and All are supported. UI type Desktop is not supported in Service Portal. For a list of supported APIs, see Service Portal and client scripts.
      Note: Synchronous JavaScript calls are not supported in Service Portal and must be replaced by asynchronous calls. For example, the getXMLWait() method of the GlideAjax class is not supported in Service Portal. Instead, use one of the following supported asynchronous methods:
      • getXML(Function callback)
      • getXMLAnswer(Function callback)

      For additional information on GlideAjax, refer to GlideAjax.

      To understand the impact of updating your CMS to work in a mobile environment, review Mobile client GlideForm (g form) scripting and migration.

      • Update your scripts to remove any unsupported client APIs.
      • Check that the script UI Type is set to Mobile / Service Portal or All.
      UI policies Scripted UI policies can only use APIs supported in Service Portal. For a list of supported APIs, see Service Portal and client scripts. Update your scripts to remove any unsupported client APIs.
      Service Catalog variables

      Service Catalog variables are supported in Service Portal with the following exceptions:

      • UI Macros and UI pages variable types are not supported.
      • Validation Scripts for variables are not supported. Supported validation types include:
        • The Mandatory field on the variable form.
        • Read-only variables.
        • All fields in the Availability tab of the variable form.
      • Default variable size is not supported.
      • Expanding and collapsing help text is not supported. Rather, the Help text and Instructions fields defined in the Annotations tab on the variable form are always expanded. The Help tag does not display.
      • The List Collector variable displays as a choice list instead of a slushbucket in the Service Portal.
      • If embedding a widget in a catalog item form, you can use the UI Macro variable type. Learn more: Replace a Service Catalog form script with a widget.
      • If using variable with annotations, make sure to test your catalog items in Service Portal to ensure that help text displays as expected.
      Order guides Order Guides in Service Portal use the Order Guide widget.

      Large order guides can cause performance issues in the Service Portal. If you have large order guides, you can:

      • Break them into multiple order guides.
      • Simplify variables used in the order guides.
      • As a temporary solution, you can render the Service Catalog item using an iFrame. See Service Catalog forms in Service Portal.
      Record producers

      Record producers are used in Service Portal with the following differences:

      • The sort order for catalog items in record producers is not honored.
      • Date values do not honor time zone when the record producer submits a record.
      Make sure to test all record producers used in Service Portal to make sure that they behave as expected.
      Login scenarios and redirects In CMS, you used the CMSEntryPage script include to define login scenarios. Instead, Service Portal uses the SPEntryPage script include and related system properties to define login scenarios. Redirects are not supported in Service Portal. In Service Portal, define login behavior by modifying the SPEntryPage script include and setting system properties.

      For more information, see Single sign-on, logins, and URL redirects.

      Service Catalog forms Service Catalog forms such as catalog items and record producers are rendered within widgets in a two-column layout. Complex forms may not display as expected.
      • Only the top-level container settings are honored. If there are other containers within the top-level container, they are rendered as a single column. If there are container splits or nested containers within these additional containers, they are rendered as a single column. A top-level container is not a child of any other container.
      • There can be a maximum of two columns in Service Portal. If your implementation includes forms with more than two columns, the fields are reorganized into two-columns in Service Portal.
      • Variable sets are treated as containers. All previously listed rules apply to variable sets as well as any containers within them.
      • Default variable size is not supported in Service Portal.
      • Simplify any complex forms in your Service Catalog.
      • As a temporary solution, you can render the Service Catalog item using an iFrame. See Service Catalog forms in Service Portal.
      Shopping cart The Service Portal includes a base system Shopping Cart widget. Use the Shopping Cart widget.
      Related tasks
      • Replace a Service Catalog form script with a widget
      Related concepts
      • Service Catalog forms in Service Portal

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login