• Scrivito
    • Overview
    • For the Enterprise
    • For Marketing
    • For Editors
    • For Developers
    • Technology
    • Integrations
    • Pricing
  • Resources
    • Blog (justrelate.com)
    • News and Release Notes
    • Product Sheet (PDF)
    • Widgets
  • Solutions
  • Developers
    • Documentation Overview
    • Editor’s Guide
    • Admin’s Guide
    • Quickstart Guides
    • Extending an Interface Builder App (Basic)
    • Extending an Interface Builder App (Advanced)
    • Key Concepts
    • Integrations
    • Web Development Guides
    • Advanced Use Cases
    • Going Live
    • JavaScript SDK API
    • News and Release Notes
    • Contact Customer Support
  • Partners
    • Scrivito for Partner Agencies
    • Partners
    • Become a Partner
  • Sign up
  • My Scrivito
  • EN
    EnglishDeutsch
  • Developers
  • JavaScript SDK API
  • SiteContext
  • get(id)
New in 1.18.0

get(id)

Retrieves the Obj specified by its id, if it is part of the site context.

Params

  • id (String) – The id of the Obj.

Returns

  • Returns the specified Obj, or null if the CMS object with the specified id does not exist or is not assigned to the site of the context.

See also

Obj.get

Examples

Retrieve the object even if it is unknown to which site it is assigned:

Do you have a question?
  • Documentation Overview
  • Editor’s Guide
  • Admin’s Guide
  • Quickstart Guides
  • Extending an Interface Builder App (Basic)
  • Extending an Interface Builder 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
    • User
    • MetadataCollection
    • ObjSearch
    • ObjFacetValue
    • SiteContext
    • Workspace
    • DataClass
    • DataLocator
    • DataItem
    • DataItemAttribute
    • DataScope
    • IndexParams
    • React Components
    • React Hooks
    • Content not yet Loaded Error
    • ClientError
  • News and Release Notes
  • Contact Customer Support
  • all
  • create
  • createFromFile
  • get
  • getByPath
  • getByPermalink
  • root
  • where
Scrivito
  • 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 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

© 2025 – All rights reserved

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