Skip to main content
1-Visitor
November 19, 2019
Solved

Subscription should not log isconnected,

  • November 19, 2019
  • 5 replies
  • 1911 views

Hi,

We are using 'GetPropertyDefinitions' inbuilt service to fetch any Kepware connected Thing details. When we execute this service, we are name (tag name) column along with other columns. In this tag name column, along with tag name there are few other properties getting logged like IndustrialThing,Description,Isconnected which we don't want to get. We only wanted to fetch the tag names. Even through subscription, when we log the tag names and its value based on any data change event, it logs the isconnected property which we do not want to log. How can we achieve this? KepwareTagNames.png

Thanks,

Shalini V.

Best answer by abrigode

You would need to modify the properties themselves and give them a Category you can filter on. You can give properties a Category in the Advanced Settings section when you create or edit a property.

 

Property CategoryProperty Category

5 replies

22-Sapphire I
November 19, 2019

You could group the properties in a category

there might be a service to get the 'bound' properties?

1-Visitor
November 20, 2019

Hi @PaiChung ,

Thanksv for your swift response. To categorize the only the tags, is there any way to edit in the GetPropertyDefinition and in input of category define it as bound? 

Because there is no service with the bound keyword. 


var params = {
category: 'bound' /* STRING */,
type: undefined /* BASETYPENAME */,
dataShape: undefined /* DATASHAPENAME */
};

// result: INFOTABLE dataShape: PropertyDefinition
var result = Things["Rivian_Station02_Alarm_Thing"].GetPropertyDefinitions(params);

 

Thanks,

Shalini V.

abrigode12-AmethystAnswer
12-Amethyst
November 20, 2019

You would need to modify the properties themselves and give them a Category you can filter on. You can give properties a Category in the Advanced Settings section when you create or edit a property.

 

Property CategoryProperty Category

Support
December 11, 2019

Hi @svisveswaraiya_285988.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon