cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Networks in Thingworx

Amethyst

Networks in Thingworx

Is there any provision to set one location as default network selected node instead of "Auto Select First Row". Please refer Below snap, I want SysAdmin as default Location.

4 REPLIES 4

Re: Networks in Thingworx

If your name is constant "SysAdmin" then you can do it by applying a state definition to TreeFormatter property in the widget property section .Create a new state definition and add a field named "SysAdmin" ,give a style to this name and attach this state to the formatter  .Use state based formatting in configuration and add the created state to the dependent field (according to your screenshot it should be to) .So basically the state will be applied to SysAdmin with a particular style .See attached screenshot of mashup which I have with same use case .

 

 

Thanks ,

Mukul Narang 

Re: Networks in Thingworx

Hi @mnarang ,

Thank you for your valuable response. I'm Asking to set it as default one. I would like to display the values according to the selected location. So I want to set Sysadmin as the default location.

Regards,

Surekha N.

Re: Networks in Thingworx

If you want to do auto select a particular value like SysAdmin ,you have to customize the widget .You can take reference of the existing widget code .As OOTB property auto select is only for first row .

 

Thanks ,

Mukul Narang 

Re: Networks in Thingworx

Hi Surekha,

Can you do a quick test? Bind the same infotable you bound to the tree to a List widget, in the same mashup.

Select some item on the List widget and see if the selected item changes in the Tree widget as well.

If it does change, then you can use the List as a sort of controller, because the List has a bindable property called "SelectedText" that you can set it at runtime. Just set it to invisible and it should be all fine. Let me know if this works.