Forum Discussion
angela
2 months agoCatalyst II
Many thanks for the post! We haven’t had these kinds of experimental projects in this forum for years!
Here is a collection of random thoughts I have regarding the idea:
- According to your C# sample, you simulate a long-running C# method. However, I assume it is not actually running asynchronously in the background. Can this work for a ProgressBar for Server Methods?
- A classic approach for long-running server tasks in Aras Innovator is to use the Conversion Server to execute them in the background.
- Once I wrote something in this forum suggesting that newer Innovator versions seem to support async server methods. Right now, however, I’m having some trouble finding my previous post and the source that led me to this conclusion… 💀
- You include extensive error handling - love to see this!'
- Outdated code: fieldContainerEl = top.document.getElementsByName(propName)[0]; → Remove "top". We no longer use top references in 2026.
Progress bar ideas
- Idea #1: Use a string property with a percentage value (e.g., "20%"). Color the background according to the percentage. With CSS, you can style the background so that it visually behaves like a growing bar.
- Idea #2: Use an SSRS or Power BI report with a data bar. If it´s just an admin view that is not needed on a daily basis....
- Idea #3: Use an Images property. Store many images representing 10%, 20%, … 100% in your code tree. So you just update the image to "update" the progress bar. Customize the stylesheet in the codetree to make this specific image property larger. Yes, I have tried something like this before. A lot of work to get the stylesheet right..... :D.