Nyaraka za kila mwezi: Februari 2008

Ufumbuzi (aina ya): Kuweka kipaumbele juu ya Task Kutumia SharePoint Designer

I have a business scenario like this:

  • A user uploads a document to a document library.
  • She selects a content type and enters meta data as needed. One of the meta data fields is a flag, "Urgent".
  • This triggers a SharePoint Designer workflow that, miongoni mwa mambo mengine, uses the "Collect Data from a User" hatua.

"Collect Data from a User" creates an item in a task list requesting approval for that document.

I needed to create a view of the task list that showed urgent requests for approval.

Ufumbuzi: Put the word "URGENT:" into the title of these tasks.

I would have preferred to specify the priority field directly. Hata hivyo, I was unable to do that for several reasons:

  1. The collect data action does not provide a mechanism to update any field other than title (na wale mashamba ya ziada kwa ajili ya ambayo unataka kukusanya data).
  2. The "assign a to do item" hatua ina tatizo moja.
  3. Inawezekana kuingiza bidhaa katika orodha (i.e. kuingiza bidhaa katika orodha ya kazi moja kwa moja) but this not a blocking action. That means that the workflow will not wait for the user to complete that task.

Nikaziangalia mbinu chache kabla ya (nashiriki) realizing we could just put "urgent" katika cheo.

  1. Kuanza workflow kwenye orodha ya kazi yenyewe ili wakati kazi mpya ni kuundwa, marejeo ni kwa namna fulani kuvuka nyuma ya hati ambayo ilianza workflow kwanza, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, Machapisho ya hati ya kuhusishwa na update kipaumbele kama inahitajika.
  3. Use the "create list item" action in conjunction with the "wait for field change" action and an event receiver. If we create a list item, we can specify all the fields we want. Use an event receiver to update the original item when the user completes the task and the "wait for field change" action’s condition would be met and the workflow would proceed. (Kwa sababu baadhi ya, Mimi nilikuwa zaidi au chini ya makazi ya mbinu hii kabla ya busara ya kuamua kutembea mbali kwa muda).

Kuna Drawback kwa ufumbuzi yangu (mbali ya ukweli dhahiri kwamba tu Nakala ya cheo inaonyesha uharaka). Since "collect feedback" tu anapokea ngumu coded cheo majina, I need to use two different collect feedback actions whose only difference is that hard coded title.

Lakini, angalau kuna ufumbuzi kwamba hauhitaji kupokea tukio au desturi vitendo SPD.

Kama mtu ana kutatuliwa hili kwa njia ya wajanja zaidi, tafadhali napenda kujua.

</mwisho>

Jumapili Mapenzi: Kutunza Mwana wako On Vidole wake

One of the many joys I take in being the parent of a ten year old boy is finding new ways to make him laugh or think a little differently about questions and things in the world. I’ve used these techniques over the years:

===

Misconstrue maswali yake:

Yake: Siku gani ni?

Baba: Siku moja kabla ya Jumatano.

S: Si, nini siku ya mwezi ni?

D: Oh, ni 4 siku baada ya Jan 25.

===

Tekenya naye na kumwambia wewe itabidi kuacha wakati yeye ataacha laughing.

===

Kwenda chini ya ngazi ya chumba TV na kutangaza, "It’s good to be the daddy." Kisha, kumchukua kupata doa joto juu ya kitanda na kubadili channel kitu kizuri, kama channel SciFi.

===

Read stories out loud. Insert ridiculous sentences in the middle of the story. My favorite is to add "killing him instantly" when the main characters encounters some minor trouble. Kwa mfano, "the knife slipped in his hand, kukata index kidole chake, kumuua papo hapo." Nothing quite gets your son out of a complacent and passive listening mode as the main character being killed instantly.

===

Read stories incorrectly. Read sentences backward. The best part of this is that the first couple of times I did this, my son thought he was helping me out by pointing out that I wasn’t reading the words in the right order. The down side is that he really doesn’t want me to read to him any more.

===

Go to Burger King for lunch. My son would eat BK morning, night and day if we let him. When going, kumwambia, "I know you hate going there, but we simply have no choice." When he tries to explain that he loves BK, talk over him and say things like "We don’t have time to argue about it! We’re going and I don’t want to have a discussion!"

(Hii inanikumbusha utani favorite Borg: "Borger King: We do it our way. Your way is irrelevant." hahaha!)

===

Kufungua kitabu ukurasa 9 na kusema, "hmm, that’s an odd page".

===

Fill the world with arch enemies. "We’re going to run quick over toe 7-11, arch-enemy of 11-7".

"Your aunt lives in Ringwood, Arch adui wa mji wa Squarewood."

===

Sisi kuendesha hadi Massachusetts kutoka New Jersey mara kadhaa kwa mwaka na mara nyingi inachukua kuhusu 5 hours door to door. As we arrive home and pull into the driveway say, "oh, Nimesahau, tunahitaji kufanya dash haraka Home Depot."

===

Wakati kuangalia sehemu ya vurugu katika TV show (kama vile Heroes), kuwaambia mwanao, "some times, kazini, I need to destroy my enemies by burning them alive using the powers of my mind. I don’t like doing it, lakini gotta kufanya nini gotta kufanya."

===

Wakati kuangalia sinema horror mbaya (see "It’s good to be the Daddy" juu ya), ascribe improbable motives to the evil character. Kwa mfano, tell your son that the reason Jason is so angry is because he wants some cake and they won’t let him have any.

===

Explain phone numbers incorrectly. Instead of telling your son to dial "201-111-2222", tell him it’s "2-011-1-12222".

===

Mbinu gani unaweza kutumia?

</mwisho>

Tags technorati:

Guest mabalozi?

It seems fairly common in the political blogging world for a given blog to host a "guest blogger". When I’m in political blog land I must be wearing a different pair of eye glasses because it never occurred to me that "guest blogging" might make sense for a technical blog like mine. That is, mpaka mimi kusoma makala hii na Khipple Kanwal zaidi ya saa Juu ya SharePoint Buzz- Januari 2008.

Kufikiri juu yake, Naamini kuna inaweza kuwa mengi ya watu huko nje katika nchi SharePoint kwamba kuwa na kujikuna kuweka pamoja makala, mfupi au mrefu, kiufundi au biashara zaidi oriented, nk, but don’t run their own blog for all the usual reasons. If you’re one of those people, I’d be happy to host it. You can reach me via email or leave a comment. I haven’t thought through any kind of guidelines, lakini nadhani ningependa wanataka kuwa ni karibu oriented SharePoint, lakini mimi pia kama kutupa katika baadhi ya uchunguzi binafsi kuhusu kushauriana sasa na kisha. I’m also trying to publish a "Jumapili Mapenzi" kila wiki na mimi nina amefungwa kwa kukimbia nje ya mawazo kwa ajili ya kwamba.

Kama wewe ni mwanablogu wa mara kwa mara tayari lakini angependa majaribio na mabalozi mgeni, Mimi dhahiri wazi kwamba pia, either as a host or a guest 🙂

</mwisho>

Tags technorati: