Answered Project Site - Get Project Name For Customization

  • lunedì 13 agosto 2012 17:52
     
     

    Hello,

    I have the following dilemma: we have an enterprise template that each new project site is created from.  I want to customize the template by inserting a Report Viewer web part which will display a project related report.  This report takes a paramter - project name.  I was thinking about using a Query String filter to pass the project name into the report viewer, but neither does that parameter exist in the querystring, nor it is an optimal solution, even if I was able to append that parameter to the URL somehow, because then I'd have to worry about every single link that leads to the project's home page.

    I also looked at using Page Field Filter web part, but I don't understand where it gets the columns in the drop-down from.  I tried editing a project site page directly, added the Page Field Filter web part, but the drop-down was disabled altogeter.  No idea why.

    So, bottom line, I need to somehow get the project name dynamically, based on the site, and pass that into the Report Viewer.  Hopefully, without VS add-ons.  ASP hidden field?  Javascript maybe?  I haven't done much of JS customization with SharePoint.

    Any leads would be appreciated!

    Thanks,
    Ilya

Tutte le risposte