Forum Discussion
Anonymous
6 years agoNot applicable
Update call is taking time after constructor call in custom visual
Hello All,
We are facing the below mentioned issues in our custom visual:
1. After the constuctor method, update method isn't getting called spontaneously. It is taking approximately 3 seconds for getting called.
Warnings: Violation warnings are being prompted and it is taking time to load:
Load Handler: Load handler is taking around 3 seconds and setTimeout handler is taking around 2 seconds
Please find the code for constructor and update method
- Please suggest how can we reduce the update call time & how can we remove/reduce the time gap between Constructor & update method.
2. Update Method: The update method is getting called twice
- In the first call, 'dataView' values are being returned as undefined:
- The second call is automatic and doesn't require any intervention. In the second call, the 'dataView' values returned would not be undefined.
No Replies