General

How to show the text 'value' of a text object in a monitor

Started by Gass n Klang on .

Sign in or create an account to join the conversation.

5 posts

Subject: Re: How to show the text 'value' of a text object in a monit
The text of the Text object is an attribute called content. So if you set the monitor value to getattribute(Text,'content'), everytime you change the text value the monitor is automatically updated.

Cheers!
Subject: Re: How to show the text 'value' of a text object in a monit
perfect thanks. I tried the getattribute (Text, 'text').No surprise it didnt work.But how about the different container? If my "Text" Is in container1 and "Monitor" is in container2?

I've got a "Monitor" in several containers so how can I show lemur which one I want it to show
Subject: Re: How to show the text 'value' of a text object in a monit
You can put any number of containers and interfaces in the prefix. So if you want Text in container one: getattribute(Container1.Text,'content'). If it's on another interface in two containers you can do: getattribute(Interface1.Container1.Container2.Text,'content') etc.