This API service lets you manage the different functionalities in a form.
Formula calculation
MethodsexecuteFormula(forFieldLinkName:withDelegate:form:)This should be called to calculate the result of a formula field which is a part of the form field. It should be called after the user has completed giving the input for the participating field.
Use "FieldProtocol.formulaExists" to find out if the field is participated in a formula field. executeFormula(forRecordID:reportLinkName:and:withDelegate:form:)This should be called to calculate the result of a formula field which is a part of the form field. It should be called after the user has completed giving the input for the participating field. This method is applicable while editing a record in a report.
Use "FieldProtocol.formulaExists" to find out if the field is participated in a formula field.
executeFormula(forFieldLinkName:withDelegate:form:) Parameters
| fieldAccessPath | The access path of the participating field. |
|---|
| delegate | A delegate to get the Form object of the formula calculation. |
|---|
| form | A Form object in which the actions are to be executed. |
|---|
executeFormula(forRecordID:reportLinkName:and:withDelegate:form:) Parameters
| recordID | The ID of the record that needs to be updated. |
|---|
| reportLinkName | The report link name. |
|---|
| fieldAccessPath | The access path of the participating field. |
|---|
| delegate | A delegate to get the Form object of the formula calculation. |
|---|
| form | A Form object in which the actions are to be executed. |
|---|