RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_model()

Returns the model object of the widget, which contains a number of useful properties. 

Parameters

None

Returns

Object

get_value()

Returns the filename of a selected file.

Parameters

None

Returns

String

toggle()

toggles the visibility of the widget.

Parameters

None

Returns

None

get_element()

Returns the element of the widget.

Parameters

None

Returns

JQuery Object

set_value()

Sets the value of the widget.

Parameters

Returns

None

hide()

Hides the widget from the form.

Parameters

None

Returns

None

show()

Shows the widget on the form.

Parameters

None

Returns

None

get_input()

Returns the input element of the widget.     

Parameters

None

Returns

JQuery Object

get_type()

Returns the widget type

Parameters

None

Returns

string

get_container()

Returns the container element of the widget.

Parameters

None

Returns

JQuery Object