maandelikse Argiewe: Julie 2009

Voorafbestaande toestande: SharePoint Alert Templates tot die redding (?)

One of my clients worked with a previous contractor to build out a small but useful HR application for the enterprise. That contractor used SharePoint Designer to implement the workflow portion of the solution. It’s a bit of a mess. Byvoorbeeld, there are nine SPD workflows in support of a single logical workflow process and up to five of them may fire simultaneously at any given time given the right conditions. It’s not easy to debug 🙂

My kliënt het 'n aantal steeds uitstaande vereistes, one of which is to generally provide more context when the system sends out email alerts – both in the email itself as well as associated task forms. As SPD workflow implementers know, the “collect data from user” SPD action actually creates a task with a custom content type. When we use that action, we don’t get to specify much. We can prompt for some values (bijv. "Goedgekeur" of "ontken") and we can specify a hard coded value in the title and description. That’s about it.

My kliënt se behoefte is tweeledig:

  1. Wanneer SharePoint stuur 'n e-pos oor 'n taak te voltooi, 'n baie inligting oor die taak in die e-liggaam.
  2. Meer belangrik, by verre – Wanneer die gebruiker op die taak skakel in die e-pos, the task form should have all the information the approver needs in order to make his/her approve or deny decision. Right now, the manager needs to click on the item link itself to drill down into the underlying details and no one likes that. You have to click in the email. Then you need to click a sort of obscure link on the task item. Then you can look at the underlying data (n Path vorm in hierdie geval). Then you click back/back, ens.. Everyone hates it.

Ek het hierdie ietwat slordig tegniese oplossing geërf, en ek wil die veranderinge in die minste indringende manier moontlik te maak.

The approach I’m taking right now is to create a custom alert template. Jy kan lees oor wat hier. The flow works like this:

  • SPD workflow lopies.
  • Op 'n sekere punt, dit ken 'n taak om 'n bestuurder.
  • SharePoint system automatically sends out an alert to that manager. This is not part of the SPD workflow but rather “what SharePoint does.” (Die SharePoint timer, Ek glo).
  • 'N persoonlike waarskuwing hanteerder wat opgeroep word ten gunste van die standaard wakker proses (volgende magie reëls soos beskryf in die hierbo vermelde artikel).
  • Wanneer my persoonlike wakker hanteerder loop, it generates a beautiful email. Meer belangrik, aangesien dit die taak in die hand, versier dit ook die taak met al die konteks inligting wat nodig is om die vereistes te voldoen.
  • Die gebruiker kry die e-pos en dit is vol nuttige inligting oor konteks..
  • Gebruiker op die taak skakel en die taak self is vol nuttige inligting oor konteks.
  • Almal gaan huis waatlemoen en roomys te hê.

I did a quick POC and it works well in a lab environment. I get my custom email alert as expected. I also get to update the task description and title itself.

Die enigste moeilike bietjie, so ver, is 'n situasie te vermy waar die waarskuwing updates die item, triggering another alert. This doesn’t worry me.

Lyk belowend so ver ...

The great thing about this is that I don’t need to muck about with any of the existing SPD workflows. They are blissfully unaware that an alert handler is “IIZ hardloop in da BAKGROUND, DECORATIN TEH Takenlijst WIF MOAR konteks".

</einde>

Skryf in op my blog.

Volg my op Twitter http://www.twitter.com/pagalvin

Live SharePoint Q&A sessie Donderdag 07/30/09 @ 12:30 PM EDT eindig 1:30PM EDT

Werk: The format for this is basically a conference call with a couple of PPT slides to set the stage. We have a SharePoint environment on stand by to fire up in case it helps out, but this is mainly people talking out loud. There will be opportunities for follow up by email.

Terug te gaan na my eerste ooit SharePoint konferensie, net meer as 'n jaar gelede, Ek het getref deur hoe geweldige 'n lewendige Q&A session can be. The conference organizers had put together a sort of ad hoc group of “experts” (d.w.z. mense wat rond te hang en was nie bang vir die soek dom op die verhoog) to answer any questions that came from the audience in the room. It was in my head back then, en van tyd tot tyd sedertdien, to host a similar session but do it on line and the phone. I don’t think it can be as good as an in-person Q&'N sessie, maar ek dink dit kan wees pretty cool.

Ek het uiteindelik het om aan en volgende Donderdag, 07/30, my maatskappy (Arcovis) en sakevennoot, Geïntegreerde stelsels en dienste-groep, word die aanbieding van 'n Q&A like that. I’m hoping to do these regularly, as often as weekly.

Hierdie eerste sessie sal waarskynlik 'n bietjie bumpy, maar die konsep is dit:

  • As jy vrae het wat jy wil beantwoord het tydens die sessie, net opdaag en vra.
  • As jy wil, kan jy die vraag e-pos.

Ons beplan om die eerste helfte van die Q te spandeer&A per e-pos vrae en dan maak dit tot iets wat niemand vra na daardie.

Die vergadering vind plaas op Donderdag, 07/30 vanaf 12:30 en eindig by 1:30 PM EDT.

As jy belangstel, vriendelik hier te registreer: https://www323.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=pxlsd9fpsm2md7h9

The panel will include me and other SharePoint luminaries. You’ll have to sign up to find out who they are 🙂

As jy wil om te wees een van daardie ligte vir 'n toekomstige Q&'N sessie, laat my weet.

</einde>

Skryf in op my blog.

Volg my op Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Embed Ontwikkelaar Notes binne-in jou Path Vorms

Ek nog in die lewe in Path Vorms wêreld, en ek moes een van daardie "klein" veranderinge te maak aan 'n vorm wat, ongelukkig, breaks a naming convention I adopted with it two weeks ago. Ek het gedink, "Iemand gaan om te kyk na hierdie ding 'n jaar van nou af en sê:, "Wat was Paulus dink? By Jove, sy Naming Convention maak nie sin nie!"

Ek het besef dat ek kon 'n oog op die vorm te skep vir hierdie en dan, weer, realized that I could have been doing something like this all along. I added a “Developer Notes” view to the InfoPath form as such:

image

Ek het ingestel om die vorm sodat gebruikers dit kan nie aan daardie siening en dus, it’s only visible with the InfoPath client in design view. Now I feel a little inoculated against some future unknown developer looking at my form and thinking bad thoughts about me. Phew!

</einde>

Skryf in op my blog.

Volg my op Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Die bestuur van Path Views

Dit lyk asof ek deur Path fases waar om te gaan, uit die bloute, I’m crafting a bunch of forms. My fingers learn how to use the tool well and then I go through nine month drought and have to learn it all over again.

Ek is in die middel van 'n Path-fase en ek skep die Path vorms met 'n baie wisseling. Een ding wat jy moontlik agterkom, is dat die Path 2007 client shows views in alphabetical order. This is a real nuisance some times. My best technique these days is to prepend a number to the view name so that they always show in the order I want, soos geïllustreer hier:

image

I wish I had been doing this all along.

</einde>

Skryf in op my blog.

Volg my op Twitter http://www.twitter.com/pagalvin

Technorati Tags: