Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
The sp-variable-editor OOTB Widget is not updating the variable values when clicking Save after changing values in the variables. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • The sp-variable-editor OOTB Widget is not updating the variable values when clicking Save after changing values in the variables.
KB0752326

The sp-variable-editor OOTB Widget is not updating the variable values when clicking Save after changing values in the variables.


1324 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms

The sp-variable-editor OOTB Widget not working. When opening a cart item using the following URL structure:

/sp?id=sc_edit_item&table=sc_cart_item&sys_id=CART_ITEM_ID

to edit the variables for any item added to the cart and then editing the variable values and clicking on Save, the message, Variable Saved would be seen but the changes are not saved.

Release

Kingston and above.

Environment

Service Portal

Cause

This issue was seen because of customizations to a Script Include called, SPCart it was not updated to the latest OOB version which had certain changes in the code.

This Script Include is called in the widget code for the sp-variable-editor widget when the Save button is clicked to update the changes made to the variables in the corresponding item in the Cart.

Resolution

Reverting the Script Include - SPCart to the OOB version resolves the issue.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.