Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Best way to retrieve all resources for a given project

$
0
0

Hello here is my problem,

In the application I am working on a person logs in and is able to see a project list where they are either a PM or a resource.
Now in our environment there are 100+ projects and to be able to check if they are a resource I need to first do ReadProject on each project and then check the projects resources against the logged in persons ID.

The problem is that ReadProject is taking ~1second to run on each project and you can see how this completely breaks the application as sifting through the projects can take a few minutes..

My question is what is the best way of doing this? Is there maybe a table in the reporting database I can simply query to return all of the resources for a given project? I know I can find the PMs name from the EpmProject table but as for the other resources I am lost.. I tried looking in the RDBMS but could not see anything an association between a project and the many resources it might have.

Does anyone know the solution to my problem?


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>