Learn more
Scrivito is proudly made by JustRelate Group in Berlin, Germany, and Wrocław, Poland.
Scrivito is proudly made by JustRelate Group
  • Product
    See a Demo
    Scrivito Customer Support
  • Widgets
  • Developers
    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
    JavaScript SDK API
    JavaScript SDK Release Notes
    Contact Customer Support
  • Sign up
  • My Scrivito
  • EN
    EnglishDeutsch
  • Developers
  • JavaScript SDK API
  • Binary
  • isPrivate()

isPrivate()

Checks whether the binary should not be publicly accessible.

binary = Scrivito.getClass("Image").all().first().get("blob");
console.log(binary.isPrivate());

Some Scrivito data is considered private, i.e. it is not currently intended for the general public, for example content in a working copy that has not yet been published.

Returns

Boolean

  • 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
    • Errors
    • React Components
    • Content not yet Loaded Error
  • JS SDK Release Notes
  • Contact Customer Support
  • Binary.upload
  • contentLength
  • contentType
  • copy
  • filename
  • isPrivate
  • metadata
  • optimizeFor
  • original
  • raw
  • url
Scrivito
  • Start Free Trial
  • CMS Overview
  • Why Scrivito?
  • Technology
  • Integrations
  • Partners
  • Pricing
Support
  • Contact Support
  • Dashboard Login
  • Documentation
  • Release Notes
  • Widget Marketplace
  • Service Status
Legal
  • About Us
  • Imprint
  • Privacy Policy
  • Transparent Information
  • Terms of Service

© 2021 – All rights reserved Scrivito is proudly made by JustRelate Group in Berlin, Germany, and Wrocław, Poland.