THIRD PARTY SOFTWARE INTEGRATION

 

OVERVIEW

§         There are two kinds of third party widgets that can be created

§         Answer box types and Process Gates

§         Answer Boxes are methods of input and storage of data from data capture forms

§         Process Gates are locations within workflows

§         Note: all the functions and procedures listed below are already defined in the classes they inherit so they are optional

 

§         The Answer Box Type has the following format:

Inherits WebandFlo2005External.AnswerBoxTypeTemplate

Public Class NewAnswerBoxType

    'When updating a value the procedure must update the ref_SetClause which is an SQL set clause

    Public Sub UpdateValueString(ByRef ref_SetClause As String, _

                                 ByRef ref_Answer As WebAndFlo2005Form.Answer)

    End Sub

 

    'When inserting a value the procedure must update the ref_SetClause which is an SQL set clause

    Public Sub InsertValueStrings(ByRef ref_Cols As String, _

                                  ByRef ref_Vals As String, _

                                  ByRef ref_Answer As WebAndFlo2005Form.Answer)

    End Sub

 

    'The HTML to display when the Answer Box is drawn in a Data Capture Form or Itemlist:

    Public Function Draw(ByRef ref_Answer As WebAndFlo2005Form.Answer) As String

    End Function

 

    'Get the property of the Answer to the value retrieved from the database

    Public Sub GetDatabaseValue(ByRef ref_Answer As WebAndFlo2005Form.Answer, _

                                ByRef ref_RS As SqlDataReader)

    End Sub

 

    'Get the property of the Answer to show to the user

    Public Sub GetValue(ByRef ref_Question As WebAndFlo2005Form.Questions, _

                        ByRef ref_Row As WebAndFlo2005Form.Row, _

                        ByRef ref_NoFormCheck As Boolean, _

                        ByRef ref_Answer As WebAndFlo2005Form.Answer, _

                        ByVal val_RowNumber As Short)

End Class

 

§         The Process Gate has the following Format:

Inherits WebandFlo2005External.ProcessGateTemplate

Public Class NewProcessGate

    'determines what directions if any should be available once this part of the process has been completed

    Public Sub RecursiveDirectionCheck(ByVal val_XCoordinate As Short, _

                                       ByVal val_YCoordinate As Short, _

                                       ByRef ref_Workflow As WebAndFlo2005Workflow.Workflow, _

                                       ByVal val_fromDirection As String, _

                                       ByVal val_LastForm As String)

    End Sub

    'draw the item as it is seen by the designing users

    Public Function DrawLocationAdmin(ByVal val_XCoordinate As Short, _

                                          ByVal val_YCoordinate As Short, _

                                          ByRef ref_process As Object, _

                                          ByRef ref_SessionVariables As WebAndFlo2005Lib.SessionVariables) As String

    End Function

 

    'draw the item as it is seen by the end users

    Public Function DrawLocationUser(ByVal val_XCoordinate As Short, _

                                     ByVal val_YCoordinate As Short, _

                                     ByRef ref_process As Object, _

                                     ByRef ref_PageVariables As WebAndFlo2005Lib.PageVariables, _

                                     ByVal val_fromDirection As String) As String

End Class