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.

toggle()

Toggles the visibility of the widget on the form.

Example-Toggle Activity Feed

tpc.forms[0].activityfeed.toggle();
Parameters

 None

Returns

None

get_addButton()

Returns the add button element associated with the widget.

Example-Activity Feed Fetch Add Button

tpc.forms[0].activityfeed.get_addButton();
Parameters

None

Returns

jQuery Object     

enable()

Enables the widget on the form.

Example-Enable Activity Feed

tpc.forms[0].activityfeed.enable();
Parameters

None

Returns

None

get_container()

Returns the container element of the widget.     

Example-Activity Feed Fetch Container Element

tpc.forms[0].activityfeed.get_container();
Parameters

None

Returns

jQuery Object   

hide()

Hides the widget from the form.

Example-Hide Activity Feed

tpc.forms[0].activityfeed.hide();
Parameters

None

Returns

None

get_input()

Returns the input of the widget.

Example-Activity Feed Fetch Input

tpc.forms[0].activityfeed.get_input();
Parameters

None

Returns

jQuery Object

get_element()

Returns the element of the widget.

Example-Activity Feed Fetch Element

tpc.forms[0].activityfeed.get_element();
Parameters

None

Returns

jQuery Object

get_type()

Returns the widget type.

Example-Activity Feed Fetch Type

tpc.forms[0].activityfeed.get_type();
Parameters

None

Returns

String

readonly()

Sets the widget state to read only.

Example-Activity Feed ReadOnly

//set to true
tpc.forms[0].activityfeed.readonly(true);

//set to false
tpc.forms[0].activityfeed.readonly(false);

//show the read only status
tpc.forms[0].activityfeed.readonly()
Parameters

true, false

Returns

None

get_windowPlaceholder()

Returns the Kendo Window place holder.

Example-Activity Feed Fetch Window Place Holder

tpc.forms[0].activityfeed.get_windowPlaceholder();
Parameters

None

Returns

jQuery Object     

get_pager()

Returns the Kendo Pager Object of the widget.

Example-Activity Feed Fetch Pager

tpc.forms[0].activityfeed.get_pager();
Parameters

None

Returns

Kendo Object: kendo.ui.Pager

show()

Shows the widget on the form.

Example-Show Activity Feed

tpc.forms[0].activityfeed.show();
Parameters

None

Returns

None

get_model()

Returns the model object of the widget, which contains several useful properties related to the widget.

Example-Activity Feed Fetch Model

tpc.forms[0].activityfeed.get_model();
Parameters

None

Returns

Object

get_pagerInput()

Returns the input element of the Kendo Pager Object associated with the widget.

Example-Activity Feed Fetch Pager Input Element

tpc.forms[0].activityfeed.get_pagerInput();
Parameters

None

Returns

jQuery Object

get_viewTemplate()

Returns the view template of the widget.

Example-Activity Feed Fetch View Template

tpc.forms[0].activityfeed.get_viewTemplate();
Parameters

None

Returns

jQuery Object  

get_kendoWindow()

Returns the Kendo Window Object of the widget (add/edit set to popup window).     

Example-Activity Feed Fetch Kendo Window

tpc.forms[0].activityfeed.get_kendoWindow();
Parameters

None

Returns

Kendo Object: kendo.ui.Window

get_listView()

Returns the Kendo ListView Object.     

Example-Activity Feed Fetch ListView

tpc.forms[0].activityfeed.get_listView();
Parameters

None

Returns

Kendo Object: kendo.ui.ListView

set_value()

Sets the value of the widget.

Example-Activity Feed Set Value

tpc.forms[0].activityfeed.set_value();
Parameters

Returns

None

disable()

Disables the widget on the form.

Example-Disable Activity Feed

tpc.forms[0].activityfeed.disable();
Parameters

Returns

None

get_type()

Returns the widget type.

Example-Activity Feed Fetch Type

tpc.forms[0].activityfeed.get_type();
Parameters

None

Returns

String