Changes

AJAX - Start Here

930 bytes added, 09:15, 31 August 2016
Functions Available (Reference Information)
== Overview ==
== How it works =Functions Available (Reference Information) =
As part of the functionality there are a number of predefined functions. These are set in aryAjax_Settings[[File:AJAXoperation001.png]16]
# When you log into bxp and start a form, the page will draw based on the Form (Web Page is built on Form 1).# As part of the code of the page you can include AJAX functionality into the formfunctions are detailed, done through the Advanced Settings > JavaScript onLoad. (AJAX is drawn into the page.)# When the page is executed in the clients browser, the AJAX can be activated and it works through please use the BEAPI to access data in any number of formslinks where available for further details.
== Array of Parameters Listing (Displays) ==
A full {| class="wikitable"|-! style="width:20%" | Function! style="width:40%" | Link! style="width:40%" | Description|-| Table || [[AJAX_-_Function_-_Table]] || Draws a listing is available here of records from another form facilitating passed parameters. e.g. List contacts in a table in company form.|-| LiveSearch || [[AJAX_-_Full_Array_of_Paramters_Function_-_LiveSearch]] || The ability to put a single row of data with the ability to put a custom function on the button.|-| LiveSearchTable || [[AJAX_-_Function_-_Live_Search_Table]] || An extension of the LiveSearch function but displays the data in a table format, rather than one string.|-| LiveSearchKeyStatData || [[AJAX_-_Function_-_LiveSearchKeyStatData]] || Return of data in a delimited string suitable for use in the KeyStats module. == Functions Available ==|}
As part of the functionality there are a number of predefined functions. These are set in aryAjax_Settings[16]
As the == Lookup functions are detailed, please use the links where available for further details.==
{| class="wikitable"
|-
! style="width:20%" | Function! style="width:40%" | Link! style="width:40%" | Description
|-
| dbDeleteRecord Append || [[AJAX_-_Function_-_dbDeleteRecord_Append]] || To allow the deletion of Lookup data from a CDA record from another form.|- | dbInsertRecord || [[AJAX_-_Function_-_dbInsertRecord]] || To allow and append it to data in a field in the insertion of a CDA record into another current form.
|-
| dbUpdateRecord || [[AJAX_-_Function_-_dbUpdateRecord]] || To allow the update of a CDA record in another form.|-| Append || [[AJAX_-_Function_-_Append]] || |-| Insert || [[AJAX_-_Function_-_Insert]] || Lookup data from a form and insert it into a field in the current form
|-
| InsertCount || [[AJAX_-_Function_-_InsertCount]] || |-| LiveSearch || [[AJAX_-_Function_-_LiveSearch]] || |-| LiveSearchTable || [[AJAX_-_Function_-_Live_Search_Table]] || |-| LiveSearchKeyStatData || [[AJAX_-_Function_-_LiveSearchKeyStatData]] || Lookup a summative count of records from a form and insert the counted amount into a field in the current form
|-
| Populate || [[AJAX_-_Function_-_Populate]] || Wipes a drop down list then populates the contents of the drop down list with values from another form. Text and value of the drop down list will be the same.
|-
| PopulateNoClear_AltList || [[AJAX_-_Function_-_PopulateNoClear_AltList]] || Adds to the contents of a drop down list with values from another form. Text and value of the drop down list can be populated with different values.
|}
 
 
== Record Management ==
 
 
{| class="wikitable"
|-
! style="width:20%" | Function
! style="width:40%" | Link
! style="width:40%" | Description
|-
| dbDeleteRecord || [[AJAX_-_Function_-_dbDeleteRecord]] || To allow the deletion of a CDA record from another form.
|-
| dbInsertRecord || [[AJAX_-_Function_-_dbInsertRecord]] || To allow the insertion of a CDA record into another form.
|-
| dbUpdateRecord || [[AJAX_-_Function_-_dbUpdateRecord]] || To allow the update of a CDA record in another form.
|-
| Table || [[AJAX_-_Function_-_Table]] || Draws a listing of records from another form facilitating passed parameters. e.g. List contacts in a table in company form.
|}
 
= How it works =
 
 
[[File:AJAXoperation001.png]]
 
 
# When you log into bxp and start a form, the page will draw based on the Form (Web Page is built on Form 1).
# As part of the code of the page you can include AJAX functionality into the form, done through the Advanced Settings > JavaScript onLoad. (AJAX is drawn into the page.)
# When the page is executed in the clients browser, the AJAX can be activated and it works through the BEAPI to access data in any number of forms.
 
 
 
= Array of Parameters =
 
 
A full listing is available here [[AJAX_-_Full_Array_of_Paramters]]
 
 
== Solutions ==
7,528
edits