# How to "Replace Content of SmartObject"

**URL:** <https://forums.creativeclouddeveloper.com/t/how-to-replace-content-of-smartobject/6540>\
**Category:** UXP Plugin API\
**Created:** [July 21, 2023, 9:05am UTC](https://forums.creativeclouddeveloper.com/t/how-to-replace-content-of-smartobject/6540 "2023-07-21T09:05:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wanokuni](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/wanokuni/32/2203_2.png) [@Wanokuni](https://forums.creativeclouddeveloper.com/u/Wanokuni)\
**Post date:** [July 21, 2023, 12:25pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-replace-content-of-smartobject/6540/2 "2023-07-21T12:25:21Z")

</div>

You need to create a session token: check this topic, it maybe the same idea you are looking for.

[http://forums.creativeclouddeveloper.com/t/how-do-you-place-an-image-from-the-local-file-system-using-batchplay/2407/16](http://forums.creativeclouddeveloper.com/t/how-do-you-place-an-image-from-the-local-file-system-using-batchplay/2407/16)

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/how-to-replace-content-of-smartobject/6540)._
