priority-web-sdk

priority-web-sdk: fieldUpdate for choose field failed

十年热恋 提交于 2019-12-13 03:24:20
问题 My form contains a field with drop down values (the values came from the choose function) and when I am trying to update the field (with fieldUpdate) in the second time I always get the following error: "A record with the same value already exists in the screen", What is the correct order of actions that need to be done in order to achieve the right behaviour? This is my attempt to achieve that: await actions.loginTest(); const form = await actions.priority.formStart(this.formName, this

Priority Web SDK vs REST API

风流意气都作罢 提交于 2019-12-10 23:30:12
问题 When developing a website using Priority's new tools, in which cases would I be better served accessing Priority using the Web SDK than by using the REST API? How about vice-versa? 回答1: It depends on you needs. REST API is mostly used to integrate with other applications while WEB SDK is used for building stand-alone applications. You may of course use them both in the same app. There are some technical differences: REST API executes triggers at a row level while WEB SDK executes triggers at