Skip to main content
1-Visitor
July 20, 2017
Solved

Subscription code inheritance

  • July 20, 2017
  • 2 replies
  • 2268 views

Hi,

I have a template with one subscription and when I create a thing from this template the subscription (and its parameters (enabled, ...)) is inherited but not the code ! So I just have a blank subscription on my newly created thing.

The code is simple, it's just a call to a thing method I created :

me.getNewMessages();

Do you know the code is not inherited ?

Regards

Best answer by posipova

This is a Jira MASHUP-3637 which is actually not a bug. This was intentional due to security risks. It's logged as a platform change improvement requests but no ETA or confirmation on implementation.

2 replies

posipova20-TurquoiseAnswer
20-Turquoise
July 20, 2017

This is a Jira MASHUP-3637 which is actually not a bug. This was intentional due to security risks. It's logged as a platform change improvement requests but no ETA or confirmation on implementation.

1-Visitor
January 8, 2018

Does this answer mean the subscription is in fact inherited, because I am having the same issue however utilizing a AnyDataChange event and seem as if my subscription from my template is not firing within my Thing.