Project Server User Security + Custom SSRS Reports Project List Parameter

Hello, below is the issue / challenge scenario:
I'mnt. We have to remove the smaller chunk of queries that are hitting the published database to get the user security permissions. I'm using custom SSRS reports that are pulling data from Reporting database and other custom financial SQL DB's. I need to
figure out a solution to get the list of accessible projects for a particluar user using PSI. I did find this technet article that addresses my issue in a way
http : // technet . microsoft . com/en-us/office/ee862408(v=office.14).aspx#pj2007_ta_SecurityInReports_DevelopingThePsiProxiesClassLibrary
 the above solution means that I need to change many of my existing report queries (going to published DB)
Is there a simpler way to maintain a table that I can populate with the Project GUID's, name , user id, name using PSI? I can then refer the existing SQL's procs, TVF's to point to this table instaed of going to the published DB (unsupported method)
Any help/ direction is greatly appreciated
thanks,
SG

Hello,
The ReadProjectStatus PSI method defaults to Project for the Project Type, the value is 0. If you want other project types is gets slightly more complicated as you have to have multiple data sets for the ReadProjectStatus call, one for each project type
- each time specifying the default projType. For example for Projects (0) the query is:
<Query>
<Method Namespace="http://schemas.microsoft.com/office/project/server/webservices/Project/" Name="ReadProjectStatus">
<Parameters>
<Parameter Name="projType"><DefaultValue>0</DefaultValue></Parameter>
</Parameters>
</Method>
<SoapAction>http://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectStatus</SoapAction>
<ElementPath IgnoreNamespaces="true">ReadProjectStatusResponse/ReadProjectStatusResult/diffgram/ProjectDataSet/Project{PROJ_NAME,PROJ_UID,PROJ_TYPE}</ElementPath>
</Query>
For sub projects (5) it is:
<Query>
<Method Namespace="http://schemas.microsoft.com/office/project/server/webservices/Project/" Name="ReadProjectStatus">
<Parameters>
<Parameter Name="projType"><DefaultValue>5</DefaultValue></Parameter>
</Parameters>
</Method>
<SoapAction>http://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectStatus</SoapAction>
<ElementPath IgnoreNamespaces="true">ReadProjectStatusResponse/ReadProjectStatusResult/diffgram/ProjectDataSet/Project{PROJ_NAME,PROJ_UID,PROJ_TYPE}</ElementPath>
</Query>
You have to repeat this for all project types you want to include, create a hidden parameter for each project type then create a parameter to join them up and use the combined parameter to filter the data sets that get the data from the Reporting
database.
For other parameters in the ReadProjectStatus method see:
http://msdn.microsoft.com/en-us/library/gg210536(v=office.15).aspx
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS

Similar Messages

  • How to consume the Calendar Exception details from Project Server 2013 to an SSRS report using PSI ?

    Hello,
    Can anyone guide me how to access the calendar exception details from Project Server using PSI?
    I need to extract calendar details of enterprise resources , like exception name, exception type, exception start date and exception end date into my SSRS report hosted in SharePoint 2013 and 2010.
    I would be helpful if I can get a sample of this. I have read through many PSI documents in fact still going through ,what  PSI does and doesn't ,  PSI methods etc. from Project Server SDK and MSDN . Moreover, I
    am a beginner in .NET programming. I am confused and have lots of questions in my mind, like which PSI service should be used in my report(is it  just Calendar.svc), can we pull the details as XML type data source my SSRS report ,are
    there any other configuration settings apart from " setting up an event handler by installing an event handler assembly on each Project Server computer in the SharePoint farm, and then configuring the event handler
    for the Project Web App instance by using the Project Server Settings page in the General Application Settings of SharePoint Central Administration" (as per prerequisites for PSI in SDK) , how can I implement authentication settings
    -(when user with proper SharePoint permission
    can accesses the SSRS report  )
    Kindly bear with me if my questions are not appropriate .
    Please do guide me, and .
    Thanks in Advance!!
    Mridhula
    Mridhula.S

    Hi Brendan,
    Project server reporting database doesn't contain the calendar info. The only supported way to use the PSI to read the calendar info from Published database.
    See this
    reply from Amit.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Reversi Sample - "The project requires user input. Reload the project for more information."

    A week ago, I downloaded the sample code examples.  Then I extracted the reverse sample code, loaded it and ran it.  All was well.
    I was just using it as a resource for example code, so no code changes.  Now, when I open the project, I get nothing loaded.
    Solution explorer displays       Solution 'Reversi' (0 Projects).    Below that
    "The project requires user input.  Reload the project for more information."
    This message shows for all three sections  Reversi, ReversiGameComponet, and ReversiComponentTests.
    Ok, so I figure I must have accidently changed something.  So, I re-extract.  Same message. 
    The only thing I can think of is that in the options, I changed the startup location for my projects.  I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8.  I've always done this so that when I create a new project,
    it does it in my project directory by default.  Didn't change anything else such as the templates dir.
    I did set this back to the c:....projects, as where templates are, but that didn't help.  So, I reset to my projects directory.
    My project that I created loads ok.
    Suggestions?

    A week ago, I downloaded the sample code examples.  Then I extracted the reverse sample code, loaded it and ran it.  All was well.
    I was just using it as a resource for example code, so no code changes.  Now, when I open the project, I get nothing loaded.
    Solution explorer displays       Solution 'Reversi' (0 Projects).    Below that
    "The project requires user input.  Reload the project for more information."
    This message shows for all three sections  Reversi, ReversiGameComponet, and ReversiComponentTests.
    Ok, so I figure I must have accidently changed something.  So, I re-extract.  Same message. 
    The only thing I can think of is that in the options, I changed the startup location for my projects.  I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8.  I've always done this so that when I create a new project,
    it does it in my project directory by default.  Didn't change anything else such as the templates dir.
    I did set this back to the c:....projects, as where templates are, but that didn't help.  So, I reset to my projects directory.
    My project that I created loads ok.
    Suggestions?
    Hi there,
    Can you provide the link for the sample code example so I can download and try on my machine?
    Regards,

  • Project server 2013----new custom field value is not synced between my work assignment view and project professional

    Hi All,
    I would like to add a new custom enterprise field in project server to caculate the effective work. I hope it can work as the default field "work" and "overtime work". And I add my custome enterprise field to my work assignment and the
    related details view. User can update the values in "my task" but after PM accept the updates, these values are not synced to the project center as well as project professional. Any idea?
    Regards,
    Anna

    Yes, I am saying that the PM cannot see the updated values in the enterprise project in Microsoft Project 2013. It is a task custom field. No errors for it. Would you please help create a task custom field on your side to see whether you can reproduce
    this issue? After creating the field, please add it to the "My task" related views so that project members can update the value for the task when they update the task information under "my tasK" page. After that, open the project plan as
    project manager to see whether you get the updated value. Thanks a lot!
    Regards,
    Anna

  • Microsoft Project Server 2010 - Need a query/report to show everyone who did not submit timesheet last week

    I need to create a MSPS 2010 query/report to send out to my project managers that show them everyone who did not submit their timesheet for the previous week.  I would like to be able to filter it by project/client but would settle for just a list
    of all unsubmitted timesheets at this point.  Every link I have found point to old reports for MSPS 2007 and the queries do not work because of schema changes between MSPS 2007 and 2010.  Please help!

    Thanks Elli!  Is there any way to also pull in the active resources that have not created a timesheet in the timeframe I am filtering on as well?
    Here is the query I had came up with.  Looks like I was on the right track...  I did two actually.  First one to give me a roll up list of employees with outstanding time sheets for last week and the hours, then the same data with an explosion
    by employee by project and also pull in their associated time sheet manager:
    --Everyone with an timesheet for last week where status  is not 'Approved' or 'Submitted'
    SELECT DISTINCT
            CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
          , [ResourceName]
          , [TimesheetStatus]     
          , SUM([ActualWorkBillable]) as [Hours Entered]
      FROM 
        [dbo].[MSP_TimesheetLine_UserView] a
      , [dbo].[MSP_TimesheetPeriod] b
      WHERE
          a.PeriodUID = b.PeriodUID 
      and [TimesheetStatus] NOT IN ('Approved', 'Submitted')
      and DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
      GROUP BY 
        b.[StartDate]
      , b.[EndDate]
      , [ResourceName]
      , [TimesheetStatus]
    GO
    --Everyone with an timesheet for last week where status  is not 'Approved' or 'Submitted' w/ Project/Customer explosion
    SELECT
     CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
    , r.ResourceName AS [Resource Name]
    , [TimesheetStatus]     
    , [ProjectName]     
            , ([ActualWorkBillable]) as [Hours Entered]
    , isnull(rm.ResourceName,'<No Timesheet ManagerInformation Available>') AS [Timesheet Manager]
    FROM
          dbo.MSP_EpmResource_UserView r 
     LEFT OUTER JOIN
          dbo.MSP_EpmResource_UserView as rm 
       ON r.ResourceTimesheetManagerUID = rm.ResourceUID
    ,[MSP_TimesheetLine_UserView] as a
    ,[MSP_TimesheetPeriod] as b
    WHERE
          a.PeriodUID = b.PeriodUID 
      AND a.ResourceUID = r.ResourceUID
      AND  [TimesheetStatus] NOT IN ('Approved', 'Submitted')
      AND  DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
      AND (r.ResourceIsActive = 1)
      AND (r.ResourceType = 2)
      AND (r.ResourceIsGeneric = 0)
    ORDER BY 
       r.ResourceName
     , ProjectName
    GO

  • Project Server 2013 Default Pivot Excel report

    Hi All,
    We have configured the default excel report available in the BI Center. When we open the project overview report and select the project names we are getting the below error. But when we open the report in excel it is working fine. I have followed the steps
    in the below post, but still same issue.
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx
    Thanks in advance, Taj

    Hello. The ODATA reports will not refresh / update in Excel Services when using Project Server on-premise, open these in Excel client to update. ODATA reports will refresh in Excel Services in Project Online (office 365). If on-premise, use either the
    OLAP cube or the Reporting schema database tables / views as the data source in the Excel reports if you these to be refreshable in the web. Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Project Server 2010 - PDP updates not triggering Project Server Events

    Hello,
    We're experiencing an issue whereby when a user updates a Project PDP, no update is triggered and reflected in the reporting database.
    My question is, which Server Side Event Handler is responsible for picking up PDP changes (i.e. Changes to Enterprise Custom Fields)?
    Can someone please assist?
    Thanks in advance.
    What we have configured and is working as expected...
    Event: Reporting
    Event Name: ProjectChanged, ProjectCreated, ProjectDeleted

    There may be multiple reasons for this.
    1. SharePoint timer Job is malfunctioning:
    For this try restarting SharePoint timer Job. through SP Powershell:
    Stop SPTimerv4 , Start SPTimerv4
     2: SharePoint Cache is full:
    Reset SharePoint Cache by deleting all XML files ( except cache.ini
    )  in SharePoint Cache located in System Drive\ProgramData\Microsoft\SharePoint\Config\<GUID>
    3: Check if Microsoft Project Server Event Service is running in Services.msc, try restarting it.

  • Project Server 2013: Empty issues, questions and documents list in the PWA task details pane

    Project Server 2012, SharePoint 2013
    I have a task with a few attached issues, risks and documents. And I see links to that in the PWA project plan (as icons).
    But when resource open his PWA task pane attachment lists (issues, risks and documents) are empty.
    Why? How to add documents in that lists?

    Hi,
    I have a solution that might work for you, please follow steps below:
    1) Go to your project schedule, make a small modification to any task on schedule and 'Publish' the project.
    2) While your project is being published and saved, open another window 
    Server Settings -> Manage Queue Jobs
    3) Here you can view the progress of your current Project Publishing update, check if all goes smooth and your project is published successfully without indicating any errors of issues like :
    Reporting transfer WSS links failed ( to view any error look at the last column of table on Manage Queue Job page)
    4) Also in your Project window see if the project is published and not saved as Draft.
    Basically this will give you a fair idea of your project being published or not, if not that there is some problem with your Lists ( Risks, Issues and Documents).
    Regards

  • Project Lite Users - My Apps not showing Project

    I have a handful of Project Lite licenses. When I assign users to the Project Lite license, they do not get the Project Web App icon in their portal. They only way of accessing the project is to the direct link: https://domain.sharepoint.com/sites/pwa/default.aspx
    How do I add that link or the Project Web App icon to the users (with Project Lite Licenses) Office 365 portal?
    Thanks in advanced,
    -Genesis

    Hi,
    for licensing Information, Project Lite
    is not a stand-alone product. It can be used only for  projects managed
    with Project Online or Project Server.
    thanks
    diramoh

  • Project Server 2010 cannot compile proxy assembly Project Server Services

    I am trying to compile Project Server Services dll by opening the source folder in the SDK and running compileWCFPRoxyAssembly.cmd. However, it fails to compile giving me error:
    'sn' is not recognized as an internal or external command,
    operable program or batch file.
    Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.5420
    for Microsoft (R) .NET Framework version 3.5
    Copyright (C) Microsoft Corporation. All rights reserved.
    error CS1548: Cryptographic failure while signing assembly 'c:\Program Files
            (x86)\Microsoft SDKs\Project
            2010\Documentation\Intellisense\WCF\ProjectServerServices.dll' -- 'Error
            reading key file 'c:\Program Files (x86)\Microsoft SDKs\Project
            2010\Documentation\Intellisense\WCF\PsiKey.snk' -- The system cannot
            find the file specified. '
    Any suggestion what is missing?
     Or any suggestion for precise steps to be followed to compile the proxy assembly?

    Check this location which has the PSI.snk key C:\Program Files (x86)\Microsoft SDKs\Project 2010\Documentation\Intellisense\WSDL
    Copy the key file to the desired location and re run the proxy compilation
    However on a side note if you use the ProjectServerServices.dll in your project it has all the references precompiled for all WCF's all you would need is a reference and call any WCF you would want, i prefer this method over using individual files or
    references to services  
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • Lync 2013 custom SSRS reports from CDR

    Trying to replicate canned Lync 2013 User Activity Report, but with more filtering capability, using SSRS. Necessary to do this way because we're adding details like user names, departments and locations from our Active directory.
    Have been unable to ever find support on WHAT the query or stored proc IS behind the UA report. If I have that code I can incorporate that with our data.
    Any help appreciated!
    Jim Nelson
    James Nelson

    The CDR schema can be found here, which will be helpful for creating your reports:
    http://technet.microsoft.com/en-us/library/gg398570.aspx
    Most queries start from the SessionDetails Table:
    http://technet.microsoft.com/en-us/library/gg398589.aspx
    For hacking up existing SSRS reports to see what procedure or view they call, you'll have better luck asking in the SQL forums.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Project Server Resources won't load in Project Pro

    We have three Project Server 2010 instances.  On two of them, we can download the entire resource dictionary (10K resources) without any problem to Project Professional.  On the third one, we can only download about a thousand at a time. 
    We don't see any errors in Project Pro, we just get a blank resource sheet.  When I review the event log on the computer running Project Pro, we see four error application events:
    Error 9/5/2013 1:11:29 PM MSSOAP 16 Client 
    Soap error: Unspecified client error..
    Error 9/5/2013 1:11:29 PM MSSOAP 16 Client
    Soap error: Sending the Soap message failed or no recognizable response was receive
    Error 9/5/2013 1:11:29 PM MSSOAP 16 Client
    Soap error: An unanticipated error occurred during the processing of this request..
    Error 9/5/2013 1:11:29 PM MSSOAP 16 Generic
    Soap error: Connection time out..
    Has anyone seen this behavior before?
    Brian McCool

    it help us:
    We closed Project Pro, added a "Timeout" value (DWORD/32-bit) to HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Settings and set it to 600000 (decimal ... 600 seconds) and then re-opened Project Pro
    But problem in slow connection to PWA. And we can't find the reason.

  • User Security on BI reports

    Hi All,
    I have a requirement, where when a CRM user executes a BI reports he should able to view his own information what he authorized to. User authorizations are already maintained in CRM. CRM users are executing the BI reports through CRM UI.
    Can anyone help me on this.
    Thanks in advance,

    Hi,
    You have to define the authorization relevant object in your report on which you can define authorizations.
    For example, for any purchasing controller if he wants to see only his data, then you have to find the authorization relevant field like "purchasing organisation", so that you can restrict his user access to only his purchasing org. (for example,  GL10)
    Similarly,  you have to define on what parameters does the CRM user want to filter that data.  When you know that field,  in analytical authorization profiles, add that field with the value you want to restrict for that user. Connect that profile to the role of the user and assign the report to the role.
    I hope it helps.
    Let me know in case of further doubts.
    Tanu

  • SSRS Report Viewer Control Parameter alignment

    I am having problem aligning parameters in ssrs report viewer control ,is there any way i can control the display of the parameters in left side alignment or right side alignment. please see the below pic for more details.
    I am using vs.net 2012 and sql server 2012 and calling this server report in a asp.net page using report viewer control and report viewer process mode is "Remote"
    http://social.msdn.microsoft.com/Forums/getfile/514664

    Hi siva9000,
    In Reporting Services, we cannot customize the parameter pane like the ways you have mentioned above. We can refer to the following link, vote it is as important and hope Microsoft improve this feature in the next service pack or product release. Allow
    SSRS Parameter Panel to be formatted:
    https://connect.microsoft.com/SQLServer/feedback/details/545893/allow-ssrs-parameter-panel-to-be-formatted
    In addition, as Olaf suggested, we can hide the parameter prompt area, then create a custom parameter prompt area in the web page to achieve the goal. Please refer to the following blog:
    http://www.mssqltips.com/sqlservertip/1751/custom-control-and-setup-of-ssrs-report-parameters-from-a-web-page/
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Discussion About The Use Of Project Server 2013 Timesheet Custom Billing Categories (Post SP1 and April 2014 CU Install)

    In support of a consulting company using timesheet custom billing categories to designate project time as billable onsite, billable offsite, and non-billable, I've encountered a series of issues which appear to be associated with the custom billing category
    timesheet lines.  These issues cause timesheet users to get frustrated, and contribute to misalignment between project actuals and timesheet actuals.  We're in Single Entry Mode, no pre-population, SP1 and April 2014 CU Installed.
    I'll enumerate the issues here and pose the question to the community as to whether others are experiencing any/all of these things, and if so,  ask if any workarounds have been discovered.  We're working with Microsoft to validate these independently,
    but I am posing the questions to the community to gather additional information, and hopefully save some folks time in troubleshooting similar issues.
    1.When time is entered on an assignment into timesheet lines of multiple billing categories, only time entered since the last save is getting saved and ultimately sent, on timesheet submit, to the approval center.  Although the previously entered and
    saved time appears in the application interface when the timesheet is re-opened, only data since last save is actually saving to the server or processing through the approval center.  We believe this is the primary cause for timesheet and project actuals
    being out of alignment.
    2."_ Error Loading".  When assignments are added, deleted, or changed after a timesheet has been created, standard timesheet lines are added, deleted or changed (i.e. synchronize) with the assignments. However, for custom billing category
    timesheet lines, they do not change when the assignments change, and they aren’t removed if the assignment is removed.  We believe this causes secondary errors, like the "_Error Loading"  (and others as will be described below).
    3.When a timesheet with time in a non-standard billing category is deleted and recreated, time is arbitrarily moved to standard timesheet lines for the same assignment. If the task assignment is subsequently removed, the timesheet line causes the timesheet
    to break.
    4."Error Communicating with Server". When trying to submit a timesheet, a pop-up box appears indicating that there is an error communicating with the server.  This error appears because a timesheet line is no longer associated with a project.
    In order to submit the timesheet the orphaned timesheet line must be identified and manually removed. One technique we found which helps to identify an orphaned timesheet line is to select a task and submit task progress. Repeat for all timesheet lines until
    you get an error.  The timesheet line(s) with the error can be manually removed from the timesheet, fixing the error.
    5. Unable to Open Specific Timesheets without Error. There are certain scenarios when the "Remove Task" feature is used or an assignment is otherwise removed after creation of a timesheet with custom billing category lines, which causes orphaned
    timesheet lines. These orphaned lines can cause issues when trying to open a timesheet. The issue can appear when timesheets are in progress in multiple periods. In the problematic scenario, time is entered and submitted in one period and subsequently
    the task is 'removed' from another period before the PM processes the first approval request. Process governance can certainly help here, but improvement in the way synchronization occurs between project assignments and custom billing category timesheet lines
    would be great. The error can often be resolved by re-adding the assignment for the problematic timesheet user to the project (which creates a new assignment), and then allows you to open the timesheet.  Then time can be moved from the old timesheet
    line to the new timesheet line, and the old one can be removed.
    In 4 and 5, sometimes we can't open a timesheet without error, and other times we can open it but not submit it. We are not 100% clear on all the different causes for each. Each of these issues are suspected to be contributing the the misalignment of
    data between project actuals and timesheets, which can be a real problem for external projects for which time collected through timesheets are being used to generate invoices.
    Although these may seem like separate issues, warranting separate questions, I decided to post them together because they all seem to be related to synchronization of project assignments and timesheet lines for custom billing categories.
    Any thoughts or suggestions from the community would be appreciated.
    Best regards,
    Justin
    Justin Naughton

    There are many causes for each of the errors mention.  It would be best to put one issue to the forum at a time.  For example, some of these issues occur then tasks are deleted from projects but a timesheet has been submitted.   Depending
    on the scenario, some of these issues have been fixed with the latest service pack.
    Other issues are due to bad scheduling habits with the project managers and so first determining what they have done can help resolve some the issues.
    _error Loading, is because something is NULL in the data and the jave is choking when it build the form. Again, these may be because of delete tasks, resources, projects  or someone doing copying and pasting of rows.
    cheers!
    PS.  Train your PM to not COPY and PASTE rows in project schedules.  It can be done, but it can create problems.  There are over 500 fields and some have unique data and the copy paste creates havic.
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

Maybe you are looking for

  • TV as Macbook Pro monitor video quality

    Hi there, Hoping for some advice here. I've been using an Apple mini displayport to HDMI cable to use my tv as a monitor for my Macbook Pro when streaming online video. It's hard to describe, but the video doesn't look as smooth on the TV as it does

  • Sample Ageing Report in XL Reporter

    Hi Does anyone have a copy of a sample ageing report that has been created in XL reporter?

  • Safari 7.0.1 (9537.73.11) crashing every 10-15 minutes

    Running OS X 10.8.5. Safari crashes constantly, resetting Safari has not helped.  Error information is below.  Any ideas?  Thanks! =========================================================== Process:         Safari [83697] Path: /Applications/Safari.

  • PHD Login Sync

    I have a problem with Portable Home Directories. Our setup consists of 10.4.9 clients, a 10.4 server and AD in a Golden Trinagle setup. Everything works fine except for one little hitch. The login sync does not happen. It does when you login a new ac

  • I can't find my ipad on itunes. It doesn't sync.

    I can't see my ipad when I connect to my macbook.  I can't find it to check apps and sync.