Arkivji ta 'Kull Xahar: Lulju 2009

Pre-kondizzjonijiet eżistenti: SharePoint Templates Twissija għall-salvataġġ (?)

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. Per eżempju, 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 customer has a number of still-outstanding requirements, 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 (e.g. “approve” or “deny”) and we can specify a hard coded value in the title and description. That’s about it.

My customer’s requirement is two fold:

  1. When SharePoint sends an email about a task assignment, include a lot of information about the task in the email body.
  2. More importantly, by far – when the user clicks on the task link in the email, 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 (an InfoPath form in this case). Then you click back/back, eċċ. Everyone hates it.

I’ve inherited this somewhat messy technical solution and I want to make changes in the least intrusive way possible.

The approach I’m taking right now is to create a custom alert template. You can read about that here. The flow works like this:

  • SPD workflow runs.
  • F'xi punt, it assigns a task to a manager.
  • SharePoint system automatically sends out an alert to that manager. This is not part of the SPD workflow but rather “what SharePoint does.” (The SharePoint timer service, I believe).
  • A custom alert handler is invoked in favor of the standard alert process (following magic rules as described in the above referenced article).
  • When my custom alert handler runs, it generates a beautiful email. More importantly, since it has the task in hand, it also decorates the actual task with all the context information necessary to meet the business requirement.
  • The user gets the email and it’s full of useful context information.
  • User clicks on the task link and the task itself is full of useful context information.
  • Everyone goes home to have watermelon and ice cream.

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.

The only tricky bit, s'issa, is to avoid a situation where the alert updates the item, triggering another alert. This doesn’t worry me.

Looks promising so far…

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 RUNNIN IN DA BAKGROUND, DECORATIN TEH TASK LIST WIF MOAR CONTEXT".

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Live SharePoint Q&A Sessjoni IL-ĦAMIS 07/30/09 @ 12:30 PM EDT jispiċċa 1:30PM EDT

Aġġornament: 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.

Tmur lura għall-ewwel konferenza tiegħi SharePoint qatt, ftit aktar minn sena ilu, Stajt ġiet milquta mill kif terrific Q ħajjin&A session can be. The conference organizers had put together a sort of ad hoc group of “experts” (I.E. nies li kienu mdendlin madwar u ma kinux jibżgħu tfittex li iblah up fuq il-palk) biex tirrispondi xi mistoqsijiet li ġew mill-udjenza fil-kamra. Kien fir-ras tiegħi lura mbagħad, u perjodikament minn dakinhar, li jospita sessjoni simili iżda jagħmlu dan fuq il-linja u l-telefon. Ma naħsibx li jistgħu jkunu tajbin bħala Q fil-persuna&A sessjoni, iżda naħseb li jista 'jkun pjuttost jibred.

I finalment ltqajna madwar lilha u l-Ħamis li jmiss, 07/30, kumpanija tiegħi (Arcovis) u sieħeb fin-negozju, Sistemi integrati u grupp Servizzi, se tkun qed tospita Q&A bħal dik. Jien bit-tama li tagħmel dawn regolarment, ta 'spiss kemm ta' kull ġimgħa.

Din is-sessjoni inawgurali probabbilment se jkun ftit bumpy, iżda l-kunċett huwa dan:

  • Jekk għandek xi mistoqsijiet li inti tixtieq li jkollha wieġeb matul is-sessjoni, biss juru up u jistaqsu.
  • Jekk inti tixtieq, inti tista 'email il-kwistjoni bil-quddiem.

Qed nippjanaw li jonfqu l-ewwel nofs tas-Q&A dwar mistoqsijiet emailed u mbagħad iftaħ it up għal xi ħaġa li ħadd jitlob wara li.

Is-sessjoni sseħħ nhar il-Ħamis, 07/30 jibdew minn 12:30 u li jintemmu fil 1:30 PM EDT.

Jekk int interessat, ġentilment tirreġistra hawn: https://www323.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=pxlsd9fpsm2md7h9

Il-bord se jinkludi lili u luminaries SharePoint oħra. You’ll have to sign up to find out who they are 🙂

Jekk inti tixtieq li tkun waħda minn dawk luminaries għal Q futur&A sessjoni, let me know.

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Embed Noti Developer Ġewwa Formoli InfoPath tiegħek

Jien għadhom jgħixu fil InfoPath Formoli dinja u I meħtieġa biex jagħmlu waħda minn dawk "żgħar" tibdiliet għal forma li, sfortunatament, breaks a naming convention I adopted with it two weeks ago. I thought to myself, "Xi ħadd ikun se tħares lejn dan il-ħaġa sena minn issa u jgħidu, "Dak li kien Paul taħseb? By Jove, his naming convention makes no sense!"

I realized that I could create a view on the form for this and then, għal darb'oħra, 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

I’ve configured the form so that users can’t get to that view and therefore, 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!

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Tags:

Ġestjoni Views InfoPath

I jidhru li jmorru permezz ta fażijiet InfoPath fejn, mill-blu, 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.

Jien fin-nofs ta 'fażi InfoPath u jien ħolqien forom InfoPath ma' lott ta 'fehmiet. Ħaġa waħda inti probabilment avviż huwa li l-InfoPath 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, kif jidher hawn:

image

I wish I had been doing this all along.

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Tags: