# Including code dynamically from a sheet

**URL:** <https://forum.xwiki.org/t/including-code-dynamically-from-a-sheet/5085>\
**Category:** Help / Discuss\
**Created:** [June 6, 2019, 6:27pm UTC](https://forum.xwiki.org/t/including-code-dynamically-from-a-sheet/5085 "2019-06-06T18:27:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![slauriere](https://forum.xwiki.org/user_avatar/forum.xwiki.org/slauriere/32/4425_2.png) [@slauriere](https://forum.xwiki.org/u/slauriere)\
**Post date:** [June 7, 2019, 3:38pm UTC](https://forum.xwiki.org/t/including-code-dynamically-from-a-sheet/5085/3 "2019-06-07T15:38:16Z")

</div>

Thank you @evalica, but the goal is to get the code executed from Main.MySheet itself first (sorry I was unclear by mentioning “from a sheet”), not from another sheet. Since the code does not even work for Main.MySheet (when viewing Main.MyObject), I doubt it will work better when included from another one, or do you things differently?

---

_[View the full topic](https://forum.xwiki.org/t/including-code-dynamically-from-a-sheet/5085)._
