Ribbon Custom Action - Timesheet Project Online 2013
I'm trying to create a Custom Action for the timesheet form in Project Online 2013.
In Visual Studio, when I try to add the Custom Action, I'm providing the following info:
Where do you want to expose the custom action? Host Web
Where is the custom action scoped to? None
Where is the control located? I cannot find anywhere the location for the Timesheet ribbon. Could someone provide a link to the documentation containing the list of all ribbons for Project Online 2013?
Thank you
I'm trying to create a Custom Action for the timesheet form in Project Online 2013.
In Visual Studio, when I try to add the Custom Action, I'm providing the following info:
Where do you want to expose the custom action? Host Web
Where is the custom action scoped to? None
Where is the control located? I cannot find anywhere the location for the Timesheet ribbon. Could someone provide a link to the documentation containing the list of all ribbons for Project Online 2013?
Thank you
Similar Messages
-
Custom Ribbon Menu in MS Project Professional 2013
Hi all,
I want to create a custom ribbon menu in MS Project Professional 2013 but I am not sure how to save it as a template and apply it enterprise wide.
Or is it something that needs to be packaged?
Thanks!
SJApologies for the delay. To get this working in VBA you need to construct a Ribbon XML format version of the menu as you want it. I've copied an example below, but there is a
Microsoft page with information on how the schema works. Key lessons I've learnt are that:
button id and group id values - doesn't seem to matter what they are, but they must be unique
imageMSOs - for the gallery of images that you can choose from is published by Microsoft
here. I found various pages that described how to add custom images to the ribbon in Excel, but I never managed to get them to work for me, so just stuck with the images in this file.
Don't expect any meaningful error messages if you make mistakes in the XML - it just won't appear. I found putting the value of the string into an XML editor was useful for highlighting some errors.
The ribbon menu is actually applied to projects rather than the application, so if you don't have any projects open, then the ribbon menu won't appear.
Here's my example, which adds a "New Menu" tab to the ribbon, with a couple of buttons to launch macros. This can just be added to a new module in your global file.
'===========================================================================
' Developed by A Simpson, 27 November 2013
'===========================================================================
Public Sub evst_AddCustomRibbon()
Dim customUiXml As String
Dim pj As Project
customUiXml = "<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"" loadImage=""LoadImage"" >" _
& "<mso:ribbon><mso:tabs><mso:tab id=""evst"" label=""New Menu"">"
customUiXml = customUiXml _
& "<mso:group id=""group0"" label=""Reporting"">" _
& "<mso:button id=""button0-1"" label=""Task Usage+"" size=""large"" " _
& "imageMso=""TaskUsageViewGallery"" onAction=""Macro1"" " _
& "supertip=""Gives a report of the projected expenditure on the project.""/>" _
& "<mso:button id=""button0-2"" label=""Resource Usage+"" size=""large"" " _
& "imageMso=""ResourceAllViewsGallery"" onAction=""Macro2"" " _
& "supertip=""Gives the projected headcount of the project in FTE values."" />" _
& "</mso:group>"
customUiXml = customUiXml _
& "<mso:group id=""group1"" label=""Eversight QA"">" _
& "<mso:button id=""button1-1"" label=""DCMA 14 point Analysis"" size=""normal"" " _
& "imageMso=""GroupResolveConflictsAndErrors"" onAction=""Macro3"" " & "supertip=""Executes the DCMA 14 point assessment of the current schedule.""/>" _
& "<mso:button id=""button1-2"" label=""Eversight Advanced QA"" size=""normal"" " _
& "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro4"" " & "supertip=""Executes the Eversight QA Advanced checks, as configured in Eversight > Options."" />" _
& "<mso:button id=""button1-3"" label=""Eversight Basic QA"" size=""normal"" " _
& "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro5"" " & "supertip=""Executes the Eversight QA Basic checks, as configured in Eversight > Options.""/>" _
& "</mso:group>"
customUiXml = customUiXml _
& "</mso:tab></mso:tabs></mso:ribbon></mso:customUI>"
For Each pj In Application.Projects
pj.SetCustomUI (customUiXml)
Next pj
End Sub
You'll also need an event which executes this macro. The following code goes in the "Microsoft Project Objects > ThisProject (Global.MPT)" module within the global file:
Option Explicit
Public WithEvents MSPApp As Application
Private Sub MSPApp_WindowActivate(ByVal activatedWindow As Window)
evst_AddCustomRibbon
End Sub
I hope that gets you started,
Thanks,
Andrew
Andrew Simpson
Founder – Eversight Ltd
E: [email protected]
W: www.eversight.co.uk
Download Eversight for MS Project — a free add-on which helps users build high quality schedules with MS project. -
Project Online 2013 Licenses/Subscription
I am actually new to the Project Online 2013 ( not the project server ) So have a question regarding the correct subscription for my users.
A bit background, we are trying to implement a Project Portfolio Management solution at our organization and we are researching to see if Project Online is a good fit.
I currently brought Project Online with Project Pro for Office 365
which has the following licenses
1) Project Pro for Office 365
2) Project Online
3) Office Online
4) SharePoint Online ( plan 2)
I got 4 user licenses for the above subscription where the Users have access to PWA and can create projects and do stuff.
We are planning on implementing it as an integration of SharePoint Online & Project. So now we are having our other team members who not PM's or Portfolio Managers who needs access and I am not sure what license to buy for them.
1) SharePoint Online (Stand alone) : If they will be just working on the project sites / Team sites Do I need to get SharePoint Online Subscription so that they can have access to the tasks.
2) Project Lite : If I get this license will my team members be able to access the PWA and even the SharePoint online sites, Will it cover both the options of Enterprise Project Types & SharePoint Task List Project Types.
I think I should go with option 2 of buying Project Lite for my Team Members but wanted to make sure if this is the right Subscription to buy.
Can anyone help me with this?? I tried contacting Microsoft Support through phone but they weren't able to help me or they created a ticket and I am waiting on their specialist to contact me.
But any help is appreciated. ThanksHello,
For the Team Members to access the Project Sites and certain pages in PWA (Timesheets / Tasks etc.) the Project Lite license will be fine. See the links below for details:
http://office.microsoft.com/en-us/project/project-lite-project-software-for-team-members-FX104310999.aspx
http://office.microsoft.com/en-us/office365-project-online-help/what-can-team-members-do-in-project-online-HA104220591.aspx
http://technet.microsoft.com/en-gb/library/project-online-service-description.aspx
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Status Reports - Project Online 2013
Hey folks,
Does Project Online 2013 support Status Reports?
On the PWA > Status Report page, I can not seem to find where I could click to add/ configure a status report.
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)Hi,
when you click into a titel line, ribbon will be displayed.
Does that work?
Regards
Barbara
To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
an appropriate solution faster. Thanks for your support! -
Odata Connection Refresh Error while using excel web app - Project Online 2013
Hello All,
I am trying to work with odata reporting on project online 2013. I am not using MS Excel client, I open any of the available default report in excel online. when i try to refresh data connection from data tab. it's giving me an error
as show below
screen..
I have already enabled "PWA for excel web app refresh" feature.
Following the blog instructions and microsoft support, i have tried to grant permission to
AppId= 00000009-0000-0000-c000-000000000000
And In the Permission Request XML field, copy and paste the following XML:
<AppPermissionRequests>
<AppPermissionRequest Scope = "http://sharepoint/projectserver/reporting"
Right="Read">
</AppPermissionRequest>
<AppPermissionRequest Scope = "http://sharepoint/content/tenant"
Right="FullControl">
</AppPermissionRequest>
</AppPermissionRequests>
Now, According to the microsoft, it should show Microsoft.Azure.Azureservices as Title but as per below screen shot it shows Power BI Reporting and Analytics..
title.<o:p></o:p>
However, i click on ok button and check that the permission has been granted. i can see Microsoft Power BI reporting and analytics in the app permissions.
I again go to my BI reporting, open my report in excel online and refresh the data connection and nothing changed. It's giving me the same error.
I hope that i am able to narrate my problem. Please tell me, What i am missing here...
sandeepOk, why did manually add / update the permission XML? Do you get this error for new Excel based reports? Test creating a new one, example here:
http://pwmather.wordpress.com/2013/08/01/projectserver-projectonline-highlight-report-example-ps2013-sp2013-excel-bi-office/
http://pwmather.wordpress.com/2013/09/16/projectserver-projectonline-example-report-ps2013-sp2013-office365-bi-excel-powerpivot/
http://pwmather.wordpress.com/2014/07/17/getting-started-with-projectonline-part-9-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Project online 2013 odata ssis
Hi,
I am working on project online 2013.I want calculate and fetch start variance ,finish variance when user set the baseline 1.
and I want get info of baseline using client object model 2013 in project server 2013
vijayHi Vijay,
In addition to this, I can see that you created almost 30 threads about CSOM since the beginning of september and you didn't mark any of them as an answered.
Could you please review your threads and mark as answer the replies that actually helped you out or answer your questions so they can be closed (but still accessible) and people with a similar concern can refer to it?
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Error while creating a Timesheet - Project Server 2013
Hi everyone,
One of user of PWA encounters an issue when he tries to create a timesheet. This error only occurs with a timesheet of
a specific period, he can create all the other timesheet.
So, when he creates the timesheet, this error occurs : "The timesheet creation failed, because of problems with Project Web App or with data validations"
After reloaded the list of the timesheets, a link to go to the specific timesheet
is available but if we click on it, we have this error :
"View Failue - The view failed to load"
I think , this error occurs
because the timesheet is not realy existing even if we have a link to it.
In the log (full log at the end), I've got this error :
Exception occured in method 'TimeSheet.CreateTimesheet' System.ArgumentException: These columns don't currently have unique values.
I've found this link with the same kind of problem :
http://social.technet.microsoft.com/Forums/projectserver/en-US/b0a92afc-11fc-40ef-9a44-357d953b31f6/unable-to-open-or-create-timesheets-these-columns-dont-currently-have-unique-values?forum=projectserver2010general but I've checked and published all the
user project but still have the error.
Have you got any idea where are these columns ? How can I found them without checked every project of PWA ?
Thanks,
Patmol
Full logs, for information :
[bucketHash:E3B9DED0] Exception occured in method 'TimeSheet.CreateTimesheet' System.ArgumentException: These columns don't currently have unique values. at System.Data.ConstraintCollection.AddUniqueConstraint(UniqueConstraint constraint) at System.Data.ConstraintCollection.Add(Constraint constraint, Boolean addUniqueWhenAddingForeign) at System.Data.DataTable.set_PrimaryKey(DataColumn[] value) at Microsoft.Office.Project.Server.DataAccessLayer.Generated.TimesheetDalBase.ReadCustomFieldsForAssignments(ISet`1 assignmentUids) at Microsoft.Office.Project.Server.BusinessLayer.Timesheet.ImportCustomFields(HashSet`1 assignmentUids) at Microsoft.Office.Project.Server.BusinessLayer.Timesheet.ImportActualsAndCustomFields(IEnumerable`1 assignmentUids, ISet`1 userImported) at Microsoft.Office.Project.Server.BusinessLayer.TimesheetLoaderForGrid.Load() at Microsoft.Office.Project.Server.BusinessLayer.TimeSheet.CreateTimesheet(TimesheetDataSet dsDelta, PreloadType preloadType) at Microsoft.Office.Project.Server.Wcf.Implementation.TimeSheetImpl.<>c__DisplayClass45.<CreateTimesheet>b__44() at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions) StackTrace: at Microsoft.Office.Project.Server.Native.dll: (sig=6ea170d1-988e-4153-9f1d-0305c0ea0309|2|microsoft.office.project.server.native.pdb, offset=3C1E) at Microsoft.Office.Project.Server.Native.dll: (offset=1255D)
Watson bucket parameters: Microsoft Project Server 2013, ULSException14, 070f6ea0 "project server", 0f0011db "15.0.4571.0", ea364808 "system.data", 0400766f "4.0.30319.0", 52310bef "thu sep 12 02:33:51 2013", 00000e02 "00000e02", 00000020 "00000020", 44395864 "argumentexception", 00101621 "aeby7"
Error is: GeneralUnhandledException. Details: General Unhandled Exception in _TimeSheet.CreateTimesheet_ Attributes: System.ArgumentException: These columns don't currently have unique values. at System.Data.ConstraintCollection.AddUniqueConstraint(UniqueConstraint constraint) at System.Data.ConstraintCollection.Add(Constraint constraint, Boolean addUniqueWhenAddingForeign) at System.Data.DataTable.set_PrimaryKey(DataColumn[] value) at Microsoft.Office.Project.Server.DataAccessLayer.Generated.TimesheetDalBase.ReadCustomFieldsForAssignments(ISet`1 assignmentUids) at Microsoft.Office.Project.Server.BusinessLayer.Timesheet.ImportCustomFields(HashSet`1 assignmentUids) at Microsoft.Office.Project.Server.BusinessLayer.Timesheet.ImportActualsAndCustomFields(IEnumerable`1 assignmentUids, ISet`1 userImported) at Microsoft.Office.Project.Server.BusinessLayer.TimesheetLoaderForGrid.Load() at Microsoft.Office.Project.Server.BusinessLayer.TimeSheet.CreateTimesheet(TimesheetDataSet dsDelta, PreloadType preloadType) at Microsoft.Office.Project.Server.Wcf.Implementation.TimeSheetImpl.<>c__DisplayClass45.<CreateTimesheet>b__44() at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions) . Standard Information: PSI Entry Point: Project User: i:0#.w|wavenet\cev Correlation Id: 9709e41b-9a18-e411-941e-00155d029b05 PWA Site URL: http://intranet.wavenet.lan/PWA SA Name: Project Server Application PSError: GeneralUnhandledException (42), LogLeve...Hi Patmol,
Have you tried to go to the previous or next timesheet and then navigate with the "previous period" or "next period" to the timesheet in question.
Also have you tried to open it using a delegation session?
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Hi,
What I’m trying to do is to add XML ribbon to Project Client 2013 using VBA code. I have a method in my VBA project (mpp file) under “ThisProject”. When this project is open, it passes the xml ribbon to ActiveProject.SetCustomUI (“My XML
ribbon content HERE”). I can break point and see the call is being made but ribbon is not visible on the Project Client 2013.
This ribbon works in only one computer (in Project Client 2013). Right now I have this file stored as a local MPP file, but eventually I have to move this code to Project Server (global-check-out location). There are no error or any issues
that I can think.
Why does this work in one computer but not in other three computers? Is My XML schema and the format correct for Project Client 2013? What kind of permissions does Ribbon requires and how can I check them?
Below is my VBA/XML ribbon code:
Private Sub Project_Open(ByVal pj As Project)
Call AddCustomUI
End Sub
Sub AddCustomUI()
Debug.Assert 1 < 0
Dim customUiXml As String
customUiXml = "<mso:cmd app=""MSProject"" dt=""1"" /><mso:customUI xmlns:x1=""http://schemas.microsoft.com/office/2009/07/customui/macro"" xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui""><mso:ribbon><mso:qat/><mso:tabs><mso:tab id=""PMMTab"" label=""PMM"" insertBeforeQ=""mso:TabAddIns""><mso:group id=""grpPMM1"" label=""PMM Options"" autoScale=""true"">" _
& "<mso:button idQ=""x1:btnSetOptions"" label=""Set Options"" imageMso=""TableBorderPenColorPicker"" onAction=""btn_ShowSetOptionsForm"" visible=""true""/><mso:button idQ=""x1:btnSetBaseline"" label=""Set Baseline"" imageMso=""VisibilityHidden"" onAction=""btn_ShowSetBaselineForm"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnSummaries"" label=""Summaries"" imageMso=""DesignXml"" onAction=""btn_InsertATECSummaryTasks"" visible=""true""/><mso:button idQ=""x1:btnExcelRpt"" label=""Excel Report"" imageMso=""AppointmentColor9"" onAction=""btn_ShowExcelReportForm"" visible=""true""/><mso:button idQ=""x1:btnDtLogic"" label=""Date Logic"" imageMso=""AppointmentColor5"" onAction=""btn_ShowDateLogicForm"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnTskSchedule"" label=""Task Schedule"" imageMso=""Bullets"" onAction=""btn_TaskSchedule"" visible=""true""/><mso:button idQ=""x1:btnClean"" label=""Clean"" imageMso=""InkEraseMode"" onAction=""btn_ShowCleanProjectForm"" visible=""true""/><mso:button idQ=""x1:btnQAS"" label=""QAS"" imageMso=""PositionAbsoluteMarks"" onAction=""btn_LaunchQAS"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnPMMSite"" label=""PMM Site"" imageMso=""MsnLogo"" onAction=""btn_GoToPMESDocs"" visible=""true""/><mso:button idQ=""x1:btnActOffsets"" label=""Actual Offsets"" imageMso=""LinkBarCustom"" onAction=""btn_calculateActualOffsets"" visible=""true""/><mso:button idQ=""x1:btnATCForm"" label=""ATC Form"" imageMso=""ViewSlideSorterView"" onAction=""btn_GoToATCForm"" visible=""true""/>" _
& "</mso:group><mso:group id=""grpPMM2"" label=""OTC Options"" autoScale=""true""><mso:button idQ=""x1:btnSetResDefault"" label=""Set Resource Defaults"" imageMso=""ListMacros"" onAction=""btn_SetResourceDefaults"" visible=""true""/></mso:group><mso:group id=""grpPMM3"" label=""External Links"" autoScale=""true""><mso:button idQ=""x1:btnLinkOptions"" label=""Link Options"" imageMso=""ListMacros"" onAction=""btn_LinkOptions"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnTRPOutline"" label=""TRP Outline"" imageMso=""CondolatoryEvent"" onAction=""btn_TRPOutline"" visible=""true""/><mso:button idQ=""x1:btnSynProject"" label=""Sync Project"" imageMso=""RecordsRefreshMenu"" onAction=""btn_SyncProject"" visible=""true""/><mso:button idQ=""x1:btnDetails"" label=""Details"" imageMso=""SlidesPerPageSlideOutline"" onAction=""btn_Detail"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnATCTools"" label=""ATEC Tools"" imageMso=""HyperlinksVerify"" onAction=""btn_ATECTools"" visible=""true""/><mso:button idQ=""x1:btnImportActuals"" label=""Import Actuals"" imageMso=""_3DPerspectiveDecrease"" onAction=""btn_ImportActuals"" visible=""true""/><mso:button idQ=""x1:btnAECMenu"" label=""AEC Menu"" imageMso=""ViewFullScreenView"" onAction=""btn_AEC_Menu"" visible=""true""/></mso:group>" _
& "<mso:group id=""grpPMM4"" label=""Admin Options"" autoScale=""true""><mso:button idQ=""x1:btnChgLog"" label=""Change Log"" imageMso=""ListMacros"" onAction=""btn_ShowChangeLogForm"" visible=""true""/><mso:button idQ=""x1:btnResMaint"" label=""Resource Maint"" imageMso=""CondolatoryEvent"" onAction=""btn_ShowResMaintForm"" visible=""true""/>" _
& "<mso:button idQ=""x1:btnChkResRate"" label=""Check Resource Rates"" imageMso=""TableDesign"" onAction=""btn_checkResourceRates"" visible=""true""/><mso:button idQ=""x1:btnResReport"" label=""Resource Report"" imageMso=""SlideShowUseRehearsedTimings"" onAction=""btn_ShowSetResourceRatesForm"" visible=""true""/></mso:group></mso:tab></mso:tabs></mso:ribbon></mso:customUI>"
ActiveProject.SetCustomUI (customUiXml)
End Sub
Thanks,Hi,
I don't think it likes xl: in the ids. My utility throws up the following that does work:
<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui""><mso:ribbon><mso:tabs><mso:tab id=""PMM"" label=""PMM"" insertBeforeQ=""mso:TabView""><mso:group
id=""PMMOptions"" label=""PMM Options""><mso:button id=""btnSetOptions"" label=""Set Options"" size=""large"" imageMso=""TableBorderPenColorPicker""
onAction=""btn_ShowSetOptionsForm""></mso:button><mso:button id=""btnSetBaseline"" label=""Set Baseline"" size=""large"" imageMso=""VisibilityHidden""
onAction=""btn_ShowSetBaselineForm""></mso:button><mso:button id=""btnSummaries"" label=""Summaries"" size=""large"" imageMso=""DesignXml"" onAction=""btn_InsertATECSummaryTasks""></mso:button><mso:button
id=""btnExcelRpt"" label=""Excel Report"" size=""large"" imageMso=""AppointmentColor9"" onAction=""btn_ShowExcelReportForm""></mso:button><mso:button
id=""btnDtLogic"" label=""Date Logic"" size=""large"" imageMso=""AppointmentColor5"" onAction=""btn_ShowDateLogicForm""></mso:button><mso:button
id=""btnTskSchedule"" label=""Task Schedule"
" size=""large"" imageMso=""Bullets"" onAction=""btn_TaskSchedule""></mso:button><mso:button id=""btnClean"" label=""Clean"" size=""large""
imageMso=""InkEraseMode"" onAction=""btn_ShowCleanProjectForm""></mso:button><mso:button id=""btnQAS"" label=""QAS"" size=""large"" imageMso=""PositionAbsoluteMarks""
onAction=""btn_LaunchQAS""></mso:button><mso:button id=""btnPMMSite"" label=""PMM Site"" size=""large"" imageMso=""MsnLogo"" onAction=""btn_GoToPMESDocs""></mso:button><mso:button
id=""btnActOffsets"" label=""Actual Offsets"" size=""large"" imageMso=""LinkBarCustom"" onAction=""btn_calculateActualOffsets""></mso:button><mso:button
id=""btnATCForm"" label=""ATC Form"" size=""large"" imageMso=""ViewSlideSorterView"" onAction=""btn_GoToATCForm""></mso:button></mso:group><mso:group
id=""OTCOptions"" label=""OTC Options""><mso:button id=""btnSetResDefault"" label=""Set Resource Defaults"" size=""large"" imageMso=""ListMacros""
onAction=""btn_SetResourceDefaults""></mso:button></mso:group><mso:group id=""External
Links"" label=""External Links""><mso:button id=""btnLinkOptions"" label=""Link Options"" size=""large"" imageMso=""ListMacros"" onAction=""btn_LinkOptions""></mso:button><mso:button
id=""btnTRPOutline"" label=""TRP Outline"" size=""large"" imageMso=""CondolatoryEvent"" onAction=""btn_TRPOutline""></mso:button><mso:button id=""btnSynProject""
label=""Sync Project"" size=""large"" imageMso=""RecordsRefreshMenu"" onAction=""btn_SyncProject""></mso:button><mso:button id=""btnDetails"" label=""Details""
size=""large"" imageMso=""SlidesPerPageSlideOutline"" onAction=""btn_Detail""></mso:button><mso:button id=""btnATCTools"" label=""ATEC Tools"" size=""large""
imageMso=""HyperlinksVerify"" onAction=""btn_ATECTools""></mso:button><mso:button id=""btnImportActuals"" label=""Import Actuals"" size=""large""
imageMso=""_3DPerspectiveDecrease"" onAction=""btn_ImportActuals""></mso:button><mso:button id=""btnAECMenu"" label=""AEC Menu"" size=""large""
imageMso=""ViewFullScreenView"" onAction=""btn_AEC_Menu""></mso:button
></mso:group><mso:group id=""AdminOptions"" label=""Admin Options""><mso:button id=""btnChgLog"" label=""Change Log"" size=""large"" imageMso=""ListMacros""
onAction=""btn_ShowChangeLogForm""></mso:button><mso:button id=""btnResMaint"" label=""Resource Maint"" size=""large"" imageMso=""CondolatoryEvent""
onAction=""btn_ShowResMaintForm""></mso:button><mso:button id=""btnChkResRate"" label=""Check Resource Rates"" size=""large"" imageMso=""TableDesign""
onAction=""btn_checkResourceRates""></mso:button><mso:button id=""btnResReport"" label=""Resource Report"" size=""large"" imageMso=""SlideShowUseRehearsedTimings""
onAction=""btn_ShowSetResourceRatesForm""></mso:button></mso:group></mso:tab></mso:tabs></mso:ribbon></mso:customUI>
You'll need to
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
Hi,
Can we create an excel report with Odata feed connection which includes project site custom list data?
Example: My Project is "ProjectTest" and it has a project site in which i created a custom list "ProjectNotes" with some new columns. I want to include these columns in my report.
sandeepHello,
when using the SharePoint ODATA or REST APIs each list and site would have a different endpoint URL. Some example URLs are below:
REST API:
https://test.sharepoint.com/sites/pwa/Project01Test/_api/Web/Lists/getByTitle('ProjectNotes')/Items
https://test.sharepoint.com/sites/pwa/Project01Test/_api/Web/Lists/getByTitle('Risks')/Items
ODATA SVC:
https://test.sharepoint.com/sites/pwa/Project01Test/_vti_bin/listdata.svc/Issues
https://test.sharepoint.com/sites/pwa/Project01Test/_vti_bin/listdata.svc/ChangeRequests
The down site is that in Excel you cant dynamically update the connection URL so would have to add all of these in manually and create the data models - I guess this is ok if you don't have many projects and don't create many new projects. In code such as
JavaScript it is easy and you can build up the URL dynamically using variables like below:
projSiteUrl + "/_api/Web/Lists/getByTitle('ProjectNotes')/Items"
The options to explore to see if you have make this dynamic and get the data you want are:
Potentially look at the search API and use that in Excel:
http://sharepoint.stackexchange.com/questions/98159/retrieving-list-items-from-multiple-sites-via-odata-with-excel
http://social.technet.microsoft.com/Forums/windows/en-US/727c1893-6b42-478b-afca-b32fb259a53d/retrieve-custom-lists-from-all-projects-for-excel-reports-by-using-odata?forum=sharepointgeneral
Power Query:
http://blog.oraylis.de/2013/05/using-dynamic-parameter-values-in-power-query-queries/
JavaScript (put the data on a page), example:
http://gallery.technet.microsoft.com/scriptcenter/Server-Risks-and-Issues-on-65dcbe0e
Or bring the data down to a custom SQL database table and report of that data:
http://nearbaseline.com/blog/2014/04/project-site-custom-list-reporting-using-ssis-odata-connector/
Hope that helps
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Missing "Save Site as Template" For Publishing Sites in Project online 2013
First I created Sub site using Project Template under the site collection.
Now I want to this Sub site Save as a Site Template. When I went for Save site as Template in site setting. Under Site Action there is no option for “Save site as Template”
marylu"Publishing Feature" may be enabled at your site , The Publishing feature does not support the Save Site as Template option.
http://support.microsoft.com/kb/2492356
Some workaround -
http://www.learningsharepoint.com/2013/05/03/missing-save-site-as-template-for-publishing-sites-in-sharepoint-2013/
http://blogs.msdn.com/b/how24/archive/2013/06/13/save-publishing-site-as-a-template.aspx
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful. -
How to use PSI with Project online 2013
There are some entities in project server that we cant interact with using Client side object model like views etc. We need to use PSI for them.
If not, Is there any other approach to get entities such as views.Hello,
You can use the PSI, this link for SharePoint Online claims auth will help you authenticate - this helped us :)
http://msdn.microsoft.com/en-us/library/office/hh147177(v=office.14).aspx
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Custom fields with the same name in Project Online
Today I discovered something interesting when creating custom fields in Project Online.
I usually create a certain set of custom fields that are useful to have on both the project and the task level. An example of these is Reportable, which I use to determine which tasks to roll up into reports and also which projects overall to report on.
So I created a project level custom field called Reportable. No problem.
I then created a custom field on the task level called Reportable. And the computer said no!
I then learned that although you could do this in Project Server 2013, you can't in Project Online. You can't have duplicate custom field names, even if they are of different types.
This has led me to use a naming standard, such as Reportable Task and Reportable Project. But I really don't like that as codes are for computers, not us humans. So I hope this changes in the future, but for now you just need to think about how you approach
the fields.
Good luck!
Ryan Darby
National Manager PMO
www.ipmo.com.au
www.projectonline.com.auHi Ryan,
I would follow Ben on this..
Just made a test on a Project 2013 instance on-premise and I cannot create a task ECF and a project ECF with the same name. The same test on a Online instance returns the same result: the ECF names must be unique whatever the entity is.
Waiting for Ben's confirmation.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Hi I need your guidance on how I should go about setting up my Excel 2013 reports so that others in our Project Online 2013 environment can access and updates these reports of mine.
My questions are as follows:
I presume I need to create and save my ODC files in a PWA > Data Connections folder. I have English and French users in our environment. Do I need save them twice? Once in the French and again in the English Data Connections folder?
Likewise for the Excel file?
How should I go about creating my ODC files within Excel? By default, the ODC files are being created on my PC's > My Documents > My Data Sources folder. I presume I need to get them saved or exported to the PWA > Data Connections
folder. So, How should I be going about creating and saving and/ or exporting the ODC files???
FYI...My oData Feeds that I wish to use and join in this particular Excel file are as follows:
https://cascades.sharepoint.com/sites/pwa/_api/projectdata/AssignmentTimephasedData01T00:00:00'
https://cascades.sharepoint.com/sites/pwa/_api/projectdata/Projects()?$select=ProjectId,ProjectName,CAS_Classification,CAS_PCO,CAS_IT_Department,CAS_Program,CAS_SubProgram
https://cascades.sharepoint.com/sites/pwa/_api/projectdata/TimeSet()?select=TimeByDay,TimeDayOfTheWeek$filter=TimeByDay ge datetime'2014-10-19T00:00:00'
https://cascades.sharepoint.com/sites/pwa/_api/projectdata/Resources()?$select=ResourceId,ResourceName,Programs,Supplier,Source,Role,CostType
Thanks in advance,
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)Thank you Guilaume. May I ask you to help clarify a bit more for me? If I have to do it for both languages (the reports and ODC files), do I simply copy the same ODC files from e.g., the English to French folder in PWA (Odc files)? Or does
that defeat the purpose? Or, do I need to create a new set of oData Feed Connection files with a French version of Excel 2013 and save them to the French Data Connections folder in PWA? Do I need to have a French version of Excel 2013 to create
French ODC files and ultimately French based reports and/ or vice versa?
I did notice that the following oData metadata command from within a browser produces different results (ie., English versus French metadata returned) depending on who runs it (i.e., French or English user, etc). As you can see I am a bit confused.
Any help you can provide would be greatly appreciated.
https://XXXXX.sharepoint.com/sites/pwa/_api/projectdata/$metadata
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada) -
Custom Actions do not work if list is customized with InfoPath?
I am trying to add the display form ribbon custom action, or even the edit form ribbon action, but they do not work if I use a list that was customized in InfoPath?
they work fine on an out of the box list? I am able to do the list item menu actions, but the other ribbon commands are missing?Does InfoPath use a different layout that overwrites these commands?Hi,
yes your custom actions disappears when you customize with infopath forms.
https://social.technet.microsoft.com/Forums/office/en-US/c6afbc48-90cc-4db0-9808-f181c121c7d1/custom-actions-and-infopath?forum=sharepointcustomizationprevious
https://social.technet.microsoft.com/Forums/office/en-US/2706e5b5-17f3-4d2e-982b-653277c749cd/custom-actions-icons-disappear-when-using-infopath-forms?forum=sharepointcustomizationprevious
Please remember to click 'Mark as Answer' on the answer if it helps you -
Project Server 2013 Ribbon Customization using a custom action
Is it possible to customize the ribbon in the Project Center through a Solution? Is the only way to add a button to the Ribbon through an app?
I am using Project Server 2013 on Prem and every time I deploy a custom action - button to the ribbon in the Project Center the button becomes greyed out/disabled and says "This control is currently disabled." I haven't been able to find any examples
of how to do this in Project Server 2013 using a solution.
Here is the custom action, I have tried with and without the EnableScript attribute but nothing seems to work:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="Ribbon.Library.Actions.AddAButton"
Location="CommandUI.Ribbon">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.ContextualTabs.ProjectCenter.Home.Editing.Controls._children">
<Button
Id="Ribbon.Library.Share.NewRibbonButton"
Command="NewRibbonButtonCommand"
Image16by16="http://s10.postimage.org/lhar0oijp/U16.png"
Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png"
LabelText="UniqueId"
ToolTipTitle="UniqueId Displayer"
ToolTipDescription="Displays UniqueId for the list item."
TemplateAlias="o2" />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
EnabledScript="javascript: function ReturnTrue() { return true; } ReturnTrue();"
Command="NewRibbonButtonCommand"
CommandAction="javascript:alert('Hello, world');" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>Hello,
You can add a new button using a SharePoint feature or via an app. If you haven't see the links below already, take a look. These are for 2010 but would be very similar for 2013:
http://msdn.microsoft.com/en-us/library/office/gg549101(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/office/ff535984(v=office.14).aspx
http://blogs.msdn.com/b/project_programmability/archive/2011/04/08/trials-and-tribulations-in-customizing-the-project-center-ribbon.aspx
http://epmsource.com/2012/01/26/adding-print-capabilities-to-project-detail-pages/
http://epmsource.com/2011/12/07/hiding-disabling-ribbon-items-in-project-server-part-i/
http://epmsource.com/2011/12/13/hiding-disabling-ribbon-items-in-project-server-part-ii/
http://msdn.microsoft.com/en-us/library/office/jj873844(v=office.15).aspx#pj15_StatusingApp_ribbon
Follow
some of those example to get those buttons working / hiding then modify your code.
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS
Maybe you are looking for
-
Why can't I just use my debit card for adding my child to family share?!
I want to use my child on family share but can't because I don't need or want a credit card, my bank has fraud protection, who actually just called me about fraud because I purchased the newest iPhone! I don't like credit cards. Why can't I just use
-
My Macbook (safari) suddenly thinks it has adblocker but i never installed it and its not in extensions. its blocking a tv site i watch - how to remove it if it's not there?
-
I am experiencing a memory leak when I write to a file in a loop.
I am conducting a cycling test, each cycle represents about 48k of memory. I collect a selectable number of cycles into a shift register. When the chosen number of cycles is reached, I write the data to text files and then clear out the shift registe
-
Trying to reinstall Design Premium 5.5 on a Mac OSX 10.7.5 - once downloaded to my computer it will not install due to error message "Install" can't be opened. You should eject the disk image. Thanks
-
Wondering how I should manage user accounts
My Dad (on his computer) has a lot of private information he doesn't want anyone messing with, so he has made an account for himself, and an account for the rest of us. My Dad also takes a lot of photos and does a lot of video editing in iMovie on hi