Wednesday, July 11, 2012 9:37 PM
Here is the scenario. I have a custom EPT and it has NewProject PDP associated with it which has one text box, Name. EPT is available when creating new project in project center so I took the URL and placed it in a Sharepoint list. I have added additonal query string parameter to the URL, the name value, which I want to automatically enter into NewProject PDP text box. Purpose of this would be to minimize mistakes when creating a project and giving it a name though user can manually change it.
I am not sure if this would be a general question or would require some custom development. Maybe there is a better way to approach this. Your help is always appreciated.
Thanks and best regards,
Thursday, July 12, 2012 2:25 AM
The Query String Filter web part may be of assistance here. I know you can use it to parse the query string from the URL and pass it to another web part. Question is, whether the web part in question supports part to part communication. Worth a shot!
I use this technique to put project specific reports on custom PDPs as Excel can accept the parameter from the Query String filter web part.
Thursday, July 12, 2012 9:21 AM
Thanks for your reply. That was my first hunch and it does work for filtering dataviews and webparts however it doesn't allow me pass any values to Project Fields webpart. i opened the page in SPD and tried to add connection there as well to no avail. when looking further i thought maybe i can find the field but i don't see what i expected (xsl field) instead see the webpart, GUID of the text box, and other properties set. Any ideas?
- Edited by Kpbutt Thursday, July 12, 2012 9:22 AM typo
Thursday, July 12, 2012 4:33 PM
Ahhhh. Yeah, the Project Server web parts don't support part to part communication so that won't work for this approach.
I'm thinking InfoPath might be an alternative but I've never personally done it. Check out: http://social.technet.microsoft.com/Forums/en-US/projectserver2010general/thread/f646f2b6-38f6-4b86-9588-146ef4cde926 for some insight.
Thursday, July 19, 2012 1:25 PM
Thank you for the sound approach. I was able to use the following approach and accomplish the querystring parsing. http://blogs.msdn.com/b/infopath/archive/2010/06/03/how-to-pass-querystring-data-into-an-infopath-form.aspx
Now creating a project programmatically, that's another issue. Regards,
Update: Successfully able to create and publish the project in Project Server using Project.asmx, LoginWindows.asmx, and QueueSystem.asmx.