I am working with TS 6.7.2 SP2 on Windows.
I have a portlet that consists of a servlet and a JSP. The initial load must provide a list of workareas for the user to select from.
I can get this by:
- Get all branches
- For each branch, get all workareas for the user
- For each workarea, skip if (arbitrary reason), else add to list
This works, but it takes 4-6 minutes if you have a lot of workareas (like 100+).
However, in ccStd there is the "My Workareas" portlet that doesn't suffer from this slowness issue.
So, am I getting the workareas in a stupid way?
Could I somehow access that list of workareas in my portlet? If so, any ideas how?