I need to view the progress status and information in client browser while upload & translation happening. how to do it in forge viewer? i want to show it with a progress bar. Any help on this?
Asked
Active
Viewed 193 times
1 Answers
0
Not sure the way how you want to implement it. Here are some references for you:
Report file uploading progress from your web app's front side (webpage) to your backend server
- By jQuery: https://stackoverflow.com/a/48516883/7745569
- By XMLHttpRequest.upload: How to get progress from XMLHttpRequest
Report file uploading progress from your web app's backend server to Forge service
For reporting Forge translation progress, you can take advantage of the WebHooks for Model Derivative API
extraction.updated
. Check this thread: https://stackoverflow.com/a/62531405/7745569
Once you got the progress data, you can use WebSocket to deliver the progress data from your server to the frontend side ( your viewer page), then use some technics like bootstrap progress bar, JavaScript progress bar and etc. to display your progress data.

Eason Kang
- 6,155
- 1
- 7
- 24