Nyaraka za kila mwezi: Julai 2009

Kabla zilizopo Masharti: SharePoint Alert Matukio na Uokoaji (?)

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. Kwa mfano, 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 🙂

Mteja wangu ana idadi ya mahitaji bado-bora, 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. "Kupitisha" au "kukataa") and we can specify a hard coded value in the title and description. That’s about it.

Mahitaji ya mteja wangu ni mara mbili:

  1. Wakati SharePoint zituma barua pepe kuhusu zoezi kazi, ni pamoja na mengi ya habari kuhusu kazi katika mwili email.
  2. Muhimu zaidi, kwa mbali – wakati mtumiaji Clicks juu ya kiungo kazi katika barua pepe, 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 (Fomu InfoPath katika kesi hii). Then you click back/back, nk. Everyone hates it.

Nimekuwa kurithi hii kiasi fulani messy ufumbuzi wa kiufundi na mimi nataka kufanya mabadiliko katika njia angalau intrusive inawezekana.

The approach I’m taking right now is to create a custom alert template. Unaweza kusoma juu ya kwamba hapa. The flow works like this:

  • SPD workflow anaendesha.
  • Katika hatua nyingine, ni inateua kazi na meneja.
  • SharePoint system automatically sends out an alert to that manager. This is not part of the SPD workflow but rather “what SharePoint does.” (Timer SharePoint huduma, Naamini).
  • desturi handler tahadhari ni kutenguliwa katika neema ya mchakato kiwango tahadhari (kufuata sheria ya uchawi kama ilivyoelezwa katika makala hapo juu inatazamwa).
  • Wakati macho yangu handler desturi anaendesha, it generates a beautiful email. Muhimu zaidi, tangu ina kazi katika mkono, pia decorates kazi halisi na taarifa ya mazingira yote muhimu ili kukidhi mahitaji ya biashara.
  • mtumiaji anapata barua pepe na ni kamili ya habari muhimu muktadha.
  • Mtumiaji Clicks juu ya kiungo kazi na kazi yenyewe ni kamili ya habari muhimu muktadha.
  • Kila mtu anakwenda nyumbani kuwa na tikiti maji na 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.

tu gumu kidogo, hadi sasa, ni kuepuka hali ambapo updates tahadhari bidhaa, triggering another alert. This doesn’t worry me.

Inaonekana kuahidi hadi sasa ...

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 KAZI ORODHA WIF moar MAELEZO".

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin

Kuishi SharePoint Q&Alhamisi Kikao 07/30/09 @ 12:30 EDT kukomesha 1:30PM EDT

Mwisho: 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.

Tukirudi kwenye mkutano yangu ya kwanza kabisa SharePoint, tu zaidi ya mwaka mmoja uliopita, Nimekuwa akampiga kwa jinsi kali Q kuishi&A session can be. The conference organizers had put together a sort of ad hoc group of “experts” (i.e. watu ambao walikuwa wanazurura na walikuwa na hofu ya kuangalia silly juu ya hatua) to answer any questions that came from the audience in the room. It was in my head back then, na mara kwa mara tangu wakati huo, 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&kikao, lakini nadhani inaweza kuwa pretty baridi.

Mimi hatimaye got karibu yake na Alhamisi ijayo, 07/30, yangu kampuni (Arcovis) na mpenzi biashara, Jumuishi Systems na Huduma za kundi, itakuwa mwenyeji Q&A like that. I’m hoping to do these regularly, as often as weekly.

Kikao hiki uzinduzi pengine kuwa kidogo bumpy, lakini dhana hii ni:

  • Kama una maswali ambayo ungependa kuwa akajibu wakati wa kikao, tu show up na kuuliza.
  • Kama unataka, unaweza email swali mapema.

Tuna mpango wa kutumia nusu ya kwanza ya Q&juu ya maswali yaliyopelekwa na kisha kufungua it up na kitu chochote kwamba mtu anauliza baada ya kuwa.

kikao unafanyika Alhamisi, 07/30 kuanzia saa 12:30 na kuishia katika 1:30 PM EDT.

Kama wewe ni nia, kindly kujiandikisha hapa: 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 🙂

Kama Ningependa kuwa mmoja wa mianga wale kwa Q baadaye&kikao, napenda kujua.

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin

Tags technorati:

Embed Vidokezo Developer Ndani ya Fomu yako InfoPath

Mimi bado wanaishi katika dunia InfoPath Fomu na mimi zinahitajika kufanya moja ya mabadiliko hayo "ndogo" kwa ajili ya kwamba, kwa bahati mbaya, breaks a naming convention I adopted with it two weeks ago. Mimi nilidhani, "Mtu ni kwenda kuangalia kitu mwaka huu kutoka sasa na kusema, 'Je, Paulo alikuwa kufikiri? By Jove, kumtaja mkataba wake haina mantiki!"

Nilitambua kwamba inaweza kujenga mtazamo juu ya fomu kwa ajili ya hii na kisha, mara nyingine tena, 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

Nimekuwa kimeundwa fomu ili watumiaji hawawezi kupata maoni kuwa na hivyo, 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!

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin

Tags technorati:

Kusimamia Views InfoPath

Mimi kuonekana kwenda kwa njia ya awamu InfoPath ambapo, nje ya bluu, 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.

Mimi nina katikati ya awamu InfoPath na mimi nina kujenga aina InfoPath na mengi ya maoni. Jambo moja pengine taarifa ni kwamba 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, kama inavyoonyeshwa hapa:

image

I wish I had been doing this all along.

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin

Tags technorati: