# .setLabel doesn't change it's value in sitemap

**URL:** <https://community.openhab.org/t/setlabel-doesnt-change-its-value-in-sitemap/98489>\
**Category:** Scripts & Rules\
**Tags:** jsr223, scripts, sitemap1\
**Created:** [May 9, 2020, 11:59pm UTC](https://community.openhab.org/t/setlabel-doesnt-change-its-value-in-sitemap/98489 "2020-05-09T23:59:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fibu-freak](https://community.openhab.org/user_avatar/community.openhab.org/fibu-freak/32/29710_2.png) [@fibu-freak](https://community.openhab.org/u/fibu-freak)\
**Post date:** [May 10, 2020, 4:01am UTC](https://community.openhab.org/t/setlabel-doesnt-change-its-value-in-sitemap/98489/3 "2020-05-10T04:01:46Z")

</div>

Thx for reply.  
I don’t know if it’s undocumented, as I found information about it [here](https://community.openhab.org/t/experimental-next-gen-rules-engine-documentation-4-of-writing-scripts/55963) and [here](https://community.openhab.org/t/solved-using-item-label-in-timer-routine/86015/3) and of course [here](https://openhab-scripters.github.io/openhab-helper-libraries/search.html?q=setlabel&check_keywords=yes&area=default).  
As I’m trying to learn Python/Jython/jsr223 and trying to migrate my DSL-Rules to Python-Scripts, I looked here and there and found the above sources.  
As said I’m running OH with NGRE/JSR223 on my testmachine, where also the original “owm-script” of Scott is running, which has a lot of such features, and which is the base for my learnings.  
Maybe OH3 will understand the code???!! 😉

---

_[View the full topic](https://community.openhab.org/t/setlabel-doesnt-change-its-value-in-sitemap/98489)._
