Search for answers or browse articles about Sintel Apps
JavaScript API Differences Between Sintel Forms and Sintel Apps
Sintel Apps replaces the legacy Sintel Forms SharePoint Add-in with a modern SharePoint Framework (SPFx)–based architecture. This change aligns the platform with Microsoft’s current development model and improves compatibility with modern SharePoint environments.
As part of this transition, several JavaScript API methods have been updated or enhanced to better reflect the capabilities and patterns of the new SPFx-based implementation. The following sections highlight the key differences developers should be aware of when migrating existing Sintel Forms solutions to Sintel Apps.
Key JavaScript API differences:
| No. | Sintel Forms | Sintel Apps |
|---|---|---|
| 1 | getValue (Person field)
Returns an array even for single-select Person fields. |
getValue (Person field)
Returns a single object for single-select fields:
|
| 2 | getValue / setValue
Generic methods used for most field types. |
getValue and setValue still work, but it is recommended to use field-specific methods:
|
| 3 | getUserProperties, getUserProfile | getUserProperties
The API has been simplified to a single method.
|
| 4 | getFilteredFirstListItem getFilteredListItems |
getListItems
A single API method replaces the previous filtered list retrieval methods.
|
| 5 | addCustomButton | addTopBarButton
A single API method replaces the previous filtered list retrieval methods.
|
| 6 | updateLookupValues | updateLookupOptions
A single API method replaces the previous filtered list retrieval methods.
IMPORTANT: values require capital ID, e.g.. {ID: 1, value: ‘Option 1’}; |
For detailed examples of how to use the Sintel Apps Public JavaScript API within Logic rules, see Using the JavaScript API in Logic.
