My Oracle Support Banner

Unable To Hide Control Label Using SetLabelProperty Method In Open UI 8.1.1.11 (Doc ID 1612148.1)

Last updated on APRIL 30, 2018

Applies to:

Siebel Tools - Version 8.2.2.4 SIA [23030] and later
Information in this document applies to any platform.

Symptoms

Hiding Control Label using below script is not working

Added a button to Service Request Detail Applet with the following browser script:

 

function Applet_PreInvokeMethod (name, inputPropSet)
{
  if (name == "AATest")
  {
     var oControl = this.FindControl("Abstract");
     oControl.SetProperty( "Visible", "FALSE" );
    oControl.SetLabelProperty( "Visible", "hidden" );
     oControl = this.FindControl("Owner");
     oControl.SetProperty( "Visible", "FALSE" );
     oControl.SetLabelProperty( "Visible", "hidden" );
     return("CancelOperation");
  }
  else
  {
    return("ContinueOperation");
  }
}


With the following results:
In HI, this code had no affect on the Abstract field or Label, but did hide the Owner Label.
In OUI this code hid the Owner and the Abstract field, but neither of the Labels.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.