• Scrivito CMS
      OverviewFor the EnterpriseFor MarketingFor EditorsFor DevelopersTechnologyIntegrationsPricing
  • Resources
      Blog (justrelate.com)News and Release NotesProduct Sheet (PDF)Widgets
  • Solutions
  • Developers
      Documentation OverviewEditor’s GuideAdmin’s GuideQuickstart GuidesExtending the Example App (Basic)Extending the Example App (Advanced)Key ConceptsIntegrationsWeb Development GuidesAdvanced Use CasesGoing LiveJavaScript SDK APINews and Release NotesContact Customer Support
  • Partners
      Scrivito CMS for Partner AgenciesPartnersBecome a Partner
  • Sign up
  • My Scrivito
  • EN
    EnglishDeutsch
  • Developers
  • JavaScript SDK API
  • Obj
  • finishSaving()

finishSaving()

Returns a promise that is resolved after local changes to the CMS object have been saved.

Waiting for finishSaving ensures that local changes have been successfully persisted by the Scrivito backend. This is not only useful after calling create to instantiate a CMS object, but also after an update.

Returns

Promise<void> – A promise that is resolved after the local changes to the object have been successfully persisted.

Throws

The returned promise is rejected if there was an error persisting the changes.

  • Documentation Overview
  • Editor’s Guide
  • Admin’s Guide
  • Quickstart Guides
  • Extending the Example App (Basic)
  • Extending the Example App (Advanced)
  • Key Concepts
  • Integrations
  • Web Development Guides
  • Advanced Use Cases
  • Going Live
  • JS SDK API
    • Top-Level API
    • Custom Attribute Types
    • Obj
    • Widget
    • Binary
    • FutureBinary
    • Link
    • Editor
    • Team
    • MetadataCollection
    • ObjSearch
    • ObjFacetValue
    • SiteContext
    • Workspace
    • Errors
    • React Components
    • Content not yet Loaded Error
  • News and Release Notes
  • Contact Customer Support
  • Obj.all
  • Obj.create
  • Obj.createFromFile
  • Obj.get
  • Obj.getByPath
  • Obj.getByPermalink
  • Obj.onAllSites
  • Obj.onSite
  • Obj.root
  • Obj.where
  • Obj.whereFullTextOf
  • ancestors
  • attributeDefinitions
  • backlinks
  • children
  • contentLength
  • contentType
  • contentUrl
  • copy
  • createdAt
  • destroy
  • finishSaving
  • firstPublishedAt
  • get
  • id
  • isBinary
  • isRestricted
  • language
  • lastChanged
  • metadata
  • modification
  • objClass
  • orderedChildren
  • parent
  • path
  • permalink
  • publishedAt
  • restrict
  • siteId
  • slug
  • unrestrict
  • update
  • updateReferences
  • versionOnSite
  • versionsOnAllSites
  • widget
  • widgets
Scrivito CMS
  • Overview
  • For the Enterprise
  • For Marketing
  • For Editors
  • For Developers
  • Technology
  • Integrations
  • Solutions
  • Pricing
Resources
  • News and Release Notes
  • Product Sheet (PDF)
  • Blog (justrelate.com)
Partner
  • Scrivito CMS for Partner Agencies
  • Project Partners
  • Become a Partner
Support
  • Contact Support
  • Documentation
  • Widget Marketplace
  • Dashboard Login
  • Service Status
JustRelate Group
  • About Us
  • Customers
  • Imprint
  • Privacy Policy
  • Transparent Information
  • Terms of Service
  • Contact Us

© 2023 – All rights reserved

Scrivito is proudly made by the JustRelate Group in Berlin, Germany, and Wrocław, Poland.