Author Archives: Bernado

Unknown's avatar

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.

New version of CRMQuickDeploy adds tighter integration with CRM Developer Toolkit and productivity shortcut

I have released version 2.5 of CRMQuickDeploy (previously known as BNH.CRM.Debugging). This version adds tighter integration with CRM Developer Toolkit projects and a new productivity shortcut. Download it now! You can download the latest version of CRMQuickDeploy from the Visual … Continue reading

Posted in CRM, CRMQuickDeploy | Leave a comment

Correcting available lookup views when restricting lookup types via JavaScript in CRM

Although unsupported, in CRM you can use JavaScript to restrict the available lookup types for a lookup field on the form. For example, on the Email form I’d like to restrict the Regarding field to be able to lookup Client … Continue reading

Posted in CRM | Leave a comment

Programmatically setting toolbar type for list view web part [SharePoint]

If you ever tried to programmatically set the toolbar type for a list view web part then you will find that this is not at all straightforward. There are actually quite a lot of posts about this on the net, and … Continue reading

Posted in SharePoint 2013 | 3 Comments

Publishing deployment package with SPClientSideDeployment 1.1

With SPClientSideDeployment you can point Visual Studio to any environment and deploy your files to that environment. This is fine for development, but typically is not good practice for higher environments. Most organisations dictate that a package is given to IT Ops, … Continue reading

Posted in SharePoint 2013, SPClientSideDeployment | Leave a comment

SPClientSideDeployment: a new productivity Visual Studio extension for SharePoint developers

New in 3.3: Added option to publish on deployment New in 3.2: Added support for deploying assemblies to GAC (On-Prem only) New in 3.1: Added support for minified JS/CSS and seamless dev-prod transitioning New in 3.0: Auto-deploy on save option and … Continue reading

Posted in SharePoint 2013, SPClientSideDeployment | 14 Comments

Search query to find pages in current site and all sub-sites [SharePoint]

I was given a challenge to develop a mechanism to list all pages in the current site and its sub-sites. Why not do it using Content By Search Web Part was my initial thought. In the end I managed to achieve this, … Continue reading

Posted in Search, SharePoint | 1 Comment

‘An unexpected error has occurred’ when cancelling from creating a new page [SharePoint]

On SharePoint 2013 we had an issue where the user was getting the error message below when cancelling from creating a new page in the Pages library. Sorry, something went wrong An unexpected error has occurred. The correlation ID for this … Continue reading

Posted in SharePoint | Leave a comment

No log entries in ULS Viewer for real-time monitoring mode [SharePoint]

Recently we found that if you are using the updated ULS Viewer (16.0.3129.1000) from Microsoft (https://www.microsoft.com/en-au/download/details.aspx?id=44020), and you have changed the default logging path in Central Admin, then you may find that the real-time monitoring in ULS Viewer does not show … Continue reading

Posted in SharePoint 2013 | Leave a comment

Custom workflow activity to process multiple related records [CRM]

We often need to process multiple records in a workflow, particular those related to the current target record. Think notifying all bookings when an event is rescheduled, or cancelling all orders when a product is cancelled. Unfortunately the OOTB CRM workflow designer … Continue reading

Posted in CRM, Workflow | 3 Comments