Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hi,
I wanted to reset the value of description while one property of the thing changed. I used subscription, and set the DataChange to execute the script.
But the Application log showed that the property description is read-only. Is there any way that I can do the job?
Thanks
Hi,
To clarify your question, did you make a property named "description"? And you added a subscription for a datachange event of it, right?
If so, can you share your setting for the property and a script for subscription?
Daniel
Hi Daniel,
The "description" I talk about is thing's description. When we create a thing, we should input name, description, template, thingshape for the thing.
I want to reset the thing's description, when a property named "nickname " changes. I used a subscription to do that. For example, when the value of "nickname" is set to "My First Device ", the thing's description is set to "My First Device".
The Application log return.
Hi Mr. Ding,
You can use SetDescription service the set device descriptions.
Lily.
Hi Miss Liu,
Uh.. If I do as your method, I can finish the job. If I can't do it using a subscription at last, I will use this method.
Thanks for your help.
Hi Miss Liu,
I understand what you mean. It works.
Hi Mr. Ding,
Great, any concern, just let me know.
Lily