A common requirement from customers is to be able to hide / disable buttons within their Project Server instance and of course, this requirement will not go away with Project Online. I wrote a a while back about how you could disable or hide ribbon buttons using a simple sandboxed solution. Well the good news is that this approach is still valid for Project Online. Given all the focus on the app model and the flexibility and restrictions it introduces, it is sometimes forgotten that you can still deploy sandboxed solutions to your Project Online environment.
In choosing to utilise Sandboxed Solutions in Project Online, you should choose to remember that whilst the solutions are ‘sandboxed’, if you do end up having a rogue solution that causes your sandbox to suspend, then ALL your solutions in the sandbox will suspend until the resources reset. In the case of ribbon customisations, I think this is a pretty light and risk free way of deploying the customisation.
For this post I am going to take the .WSP file created in the above blog post, using the source posted here.
To deploy the solution, navigate to Site Settings and choose Solutions
Choose to upload the HideRibbonButton.wsp from the above solution
Once the file has uploaded, choose to Activate the solution.
Once activated, navigate to Site Settings > Manage Site Features, note the two additional features that have now appeared like in the original post.
In this case, activating the relevant features will either hide the EPT Change Button or Disable the EPT Change Button within your Project Online tenant.
There you have it, a simple sandboxed solution in this case from Project Server 2010, that I have simply deployed directly into Project Online with no modifications, allowing you to hide buttons. Of course, it’s not just Online, sandboxed solutions are still present in Project Server 2013, so still a valid option too
A user in the Project Server forums asked a question this week about whether it was possible to add printing capability to the Project Detail Pages in order to allow the ‘forms’ to be printed out as there is no print button available on the ribbon.
Out of the box, the printing capability in the Project Web Application is limited to the grids, including the schedule grids that are visible in a schedule PDP and uses a custom page to render the information as can be seen below.
After a little experimenting with the Internet Explorer printing, it seems that PDP’s can be printed quite well directly from the browser, so I thought I would try and pull together a ribbon feature that enables PDP printing.
The element.xml looks like this:
The process of building the feature is exactly the same as outlined in https://epmsource.com/2011/12/13/hiding-disabling-ribbon-items-in-project-server-part-ii/ but substitute the above code into the Element.xml file and change the feature name accordingly.
Once the feature is deployed and activated a Print button should available on the PDP ribbon that when clicked will invoke the Internet Explorer print dialog.
From my preliminary testing, the output is pretty good, as can be seen from this ‘Print to XPS’ below:
I have uploaded the full source to Skydrive which can be downloaded from the link below.
Happy PDP printing
Over the past few months I have found myself using the new Timeline feature of Project 2010 more and more to communicate project schedule information to audiences that may not be comfortable reading Gantt charts. By default, the timeline will show a ‘Today’ indicator that highlights the current date as can be seen below.
Whilst this is fine in most cases, there have been a few times where I didn’t want the today indicator to be visible in the timeline, but I couldn’t work out how to hide it. Looking at the timeline tools ribbon I couldn’t see any prominent setting in the Show / Hide section.
So to hide the indicator I used to export the Timeline out to Word and then edit the resulting graphic to physically remove the Today label and the associated dotted line.
Whilst building a timeline view for a project, I needed to change the Date Format and noticed three little Show / Hide options buried at the bottom of the Date Format menu.
Each option allows you to toggle whether the Task Dates, Today indicator or Timescale is displayed on the timeline view. I am not quite sure why it’s buried at the bottom of the date format menu, but that can be easily fixed by a quick customisation of the Timeline Tools ribbon:
- Select File > Options > Customise Ribbon;
- Create a new group called ‘Toggle Today indicator’; and
- Add the ‘Today’ option to the ‘Toggle Today indicator’ group in the Timeline Tools / Format tab as per the screenshot below.
Resulting in this much improved Timeline tools ribbon with a prominent today indicator toggle.