Configure Timeout for custom remote action API calls
General
- By default, all the API calls are set to timeout after 30sec in Portal. But Salesforce allows a max of 120sec.
- Now one can configure timeout at each action level or at the application level in global settings.
- This will help the developers in the cases where an API takes more than 30secs to respond and need the API call to happen in a single call.
Code JSON
Indiviual Action level "componentActions": [{ "name": "submitAction", "actionType": "submit", "remoteActionTimeOut": 30000 … }]
Code JSON
Global application level "settings": { "remoteActionTimeOut": 30000, ... }
Status
Release Available | Status | Framework Name |
---|---|---|
3.8 | Current | TBC |