Skip to main content
April 28, 2017
Solved

How to get the text displayed in label from Database only if the button is enabled?

  • April 28, 2017
  • 2 replies
  • 1553 views

Hi, 

  See  even " run comm tests " is disabled ,  I am getting text in system message.

How to get  the text displayed in label from Database only if the "Run communication Test" is enabled?

    Best answer by posipova

    You may look into using the Validator widget. https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS250781&lang=en_US

    2 replies

    5-Regular Member
    April 28, 2017

    Bavithraa Marimuthu​,

    You must be using some boolean input to disable the Run Communication Tests button.

    Just create a custom service which takes boolean input parameter (same that disables Run Communication Tests button) and returns result only when boolean value is false else empty result( when true).

    I hope it helps.

    posipova20-TurquoiseAnswer
    20-Turquoise
    April 28, 2017