---
title: "handle"

doc_type: static
doc_category: static
doc_version: v20260901
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/handle'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/handle.md'
---


# handle

<div class="code-flex">
  <div>
    当前模板资源关联的 handle。

    只有当前模板为以下模板时，handle对象才会返回值：

    - [article](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/article.md)
    - [blog](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/blog.md)
    - [collection](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/collection.md)
    - [page](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/page.md)
    - [product](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/product.md)

    如果当前模板是其他模板，则返回null。
  </div>
  <div>
    <ObjectAccess
      object="handle"
      global={true}
    />
  </div>
</div>
