How to write into class aspects field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How to write into class aspects field?
Hello, I need to find a non-destructive way of writing into a class aspects constant ASPECT_DATACHANGETHRESHOLD​ at ThingShape level. I'd be grateful for your help!
- Labels:
-
Connectivity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can set the aspect ​dataChangeThreshold​ directly in ThingWorx Composer when defining the property on the ThingShape under "Data Change Info > Change Threshold". Are you looking for a means to set this aspect that does not involve the ThingWorx Composer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'd like to have more context on your particular use case. Can you elaborate? Do you have an existing ThingShape and want to set the ​dataChangeThreshold​ aspect programmatically? Or are you programmatically creating a ThingShape and need to set the aspect of the ​dataChangeThreshold​ of the properties you are adding?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for the context.
After some investigation, I do not believe there is any way for you to accomplish what you are trying programmatically. I do believe that what you are trying to do ​should​ be available programmatically. Therefore, I would suggest you submit a support ticket for your use case. I will also respond to the other thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can set aspects in your java extension, ThingWorx Eclipse plugin makes it especially easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator