Hello,
I'm developing an app for Project Server 2013 using javascript, now for my app I would like to add a webpart. However, using the project server API inside a webpart seems impossible for now.
I've already tried the following things:
- Iframing my app inside my webpart:
After I messed around a little bit to allow Iframing I got this to work partly, however I can't get rid of the masterpage of my app. This means I have the whole sharepoint header and stuff as well, which I don't need.
- Accessing the Project Server API directly in my webpart
This is how it should work, however, it doesn't. After a bit of debugging I found out that the problem is that it queries "server/site/pages/pagename/vti_bin/..." instead of "serverc/site/vti_bin/...", thus giving me 404 errors.
Is there anyone who could tell me what the "official" approach is to using the Project Server api inside a webpart?
Thanks!