# Output category and chunkname

**URL:** <https://community.modx.com/t/output-category-and-chunkname/6115>\
**Category:** Development\
**Created:** [December 4, 2022, 7:37am UTC](https://community.modx.com/t/output-category-and-chunkname/6115 "2022-12-04T07:37:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [December 4, 2022, 9:31am UTC](https://community.modx.com/t/output-category-and-chunkname/6115/2 "2022-12-04T09:31:46Z")

</div>

There has been a similar question some months ago:

> [@Get Chunk Name, ID, Description](https://community.modx.com/t/get-chunk-name-id-description/4957):
>
> I know that with Resources, you can do things dynamically without knowing the name or id of the Resource and print out values for the resource’s Title, template, alias, etc using: [[\*pagetitle]] [[\*template]] [[\*alias]] How is this accomplished with Chunks and/or Snippets without knowing their name or id? [image]

The gist of it is, that it doesn’t seem to be possible.

A workaround is to manually add properties to the chunk with the relevant information. This could possibly be automated with a plugin (running for example on the `OnChunkSave` event).

---

_[View the full topic](https://community.modx.com/t/output-category-and-chunkname/6115)._
