Tag: Microsoft

ITIL Priority (Urgency and Impact equals Priority) in a SharePoint Calculated Field

SharePoint Logo

ITIL determines the Priority of an incident as a function of its Impact (its direct effect on business processes) and Urgency (the amount of delay that can be accepted before resolution). Most ITIL-based tools (Remedy, ServiceNow, etc.) handle this conversion internally based on customer definitions.

In some cases you may want to implement this calculation directly within a SharePoint list, or, since this is likely a well-understood concept in the organization, apply a similar calculation to another process. For example, a team using a SharePoint list to accept service requests may define the impact and urgency of those requests to determine a calculated

(more…)

Accessing SharePoint Lists with JavaScript using DP Tools Part One: The Basics

SharePoint LogoSharePoint lists are amazingly versatile for storing data in an “almost database” kind of way. For those with access to enterprise features and SharePoint Designer, accessing that data to create custom displays and reports is point-and-click easy. Those if us without such access have to get a little more… creative.

Thankfully, SharePoint provides a full roster of Web Services, accessible from client-side code, to leverage its features and data. Accessing these from JavaScript can be confounding or, at the very least, cumbersome. To address this in my work, I’ve created a set of abstractions to make the process as painless as possible. There are obviously other ways – many other ways – to achieve the same thing, this is simply my way of doing it.

  • This technique allows us to pull information from any site accessible to the client, local or not.
  • You and all intended end users must have Read Access to the site and list you’re working with. This is client-side code, after all.
  • You can pull data into other SharePoint pages, of course, but also into non-sharepoint web sites.
  • See my article , “Accessing SharePoint List with Visual Basic for Applications“, for examples of using the services with client-side applications such as Word and Excel.

These examples were developed against SharePoint 2010, but should also work in the 2007 and 2013 versions.

(more…)

DP_SharePoint Update

SharePoint LogoI’ve (finally) incorporated a substantial number of improvements and new features into my JavaScript library, DP_SharePoint, designed to make working with client-side SharePoint development easier. It provides:

  • Methods to acquire JavaScript handlers to SharePoint form controls and fields. This makes it much simpler to interrogate or add event handlers to SharePoint forms.
  • Simple methods to add or remove events from SharePoint form elements.
  • Simple methods to hide and show elements of SharePoint forms.
  • Methods to simplify the calling and use of SharePoint web services and ready the data returned from them for use.

It still beta – and likely will be for… ever – but I’m using it in heavily trafficked production development without problems. Except some in-depth posts about specific features over the next few months.

Comments, criticisms or suggestions are always welcome!

SharePoint Scripting: Maximizing Dialog and Field Widths

SharePoint Logo

SharePoint allows you to edit list items either in a dialog box or in a dedicated window.  Each has its benefits, but if you choose the dialog option with certain content, you may be irked by the default, narrow, size. What follows are couple of tricks that I’ve found to mitigate the issue. For more information on loading and using custom scripts see my article, “SharePoint Scripting Basics: Master Pages, Caching and Loading Scripts“.

(more…)

Adding Lync or Sametime Presence Awareness to SharePoint

SharePoint Logo

When Sharepoint and Lync instant messaging are installed in the same environment, SharePoint will automatically add Lync presence awareness icons (indicating availability) to “people” links. However sometimes you may want to add presence awareness to arbitrary names or email groups, or provide similar functionality for those forced to use Lotus Sametime. This article will cover several ways to accomplish this.

(more…)

SharePoint Scripting Basics: Master Pages, Caching and Loading Scripts

SharePoint Logo

SharePoint is a functional, feature-rich platform, but there is definitely room for improvement. In this article, I’ll cover some of the basic issues and solutions that you may run into when attempting to extend SharePoint with client-side scripting. It will primarily serve as a reference point for future articles where I would otherwise risk repeating myself.

(more…)

Accessing SharePoint Lists with Visual Basic for Applications

SharePoint LogoSharePoint has many useful integration points with Microsoft Office out-of-the-box, but for truly deep integration you have to roll-up your sleeves and dig into some code. While there are multiple methods to do this, one of the most versatile is leveraging SharePoint’s many web services directly via Visual Basic for Applications. For those, like me, that lack SharePoint Designer access, this is often the only method available.

This method can be used in any application that supports VBA. This includes all the standard MS Office applications – Word, Excel and PowerPoint – but also other applications such as my favorite drawing suite, CorelDraw, or Autodesk AutoCAD. These examples were developed against SharePoint 2010 and MS Office 2010, but should also work in the 2007 and 2013 versions.

(more…)

Announcing DP_SharePoint

SharePoint LogoI’ve published the initial version of my JavaScript library, DP_SharePoint, designed to make working with client-side SharePoint development easier.  Still in development, the library provides:

  • Methods to acquire JavaScript handlers to SharePoint form controls and fields. This make it much simpler to interrogate or add event handlers to SharePoint forms.
  • Simple methods to add or remove events from SharePoint form elements.
  • Simple methods to hide and show elements of SharePoint forms.
  • Methods to simplify the calling and use of SharePoint web services and ready the data returned from them for use.

The library should be considered (very) beta but I am using it in a heavily trafficked production development.  I’ve got lots of plans for this, as I’m in a position to do a lot of SharePoint development over the next few months or years (all without access to SharePoint Designer or any back-end support).

Comments, criticisms or suggestions are always welcome!

Get List and View Indentifiers in SharePoint

SharePoint LogoThose, like me, that put in the position of managing a SharePoint Team Site without SharePoint Designer access (or indeed without the ability to install development software of any kind) are forced to get creative sometimes.  Leveraging the many rich (but annoying inscrutable) web services available offers a lot of interesting possibilities but adds significant challenges.  Most people will start with getting data from lists.

(more…)