maandelikse Argiewe: Februarie 2008

Oplossing (soort): Stel Prioriteit op 'n taak SharePoint Designer

Ek het 'n besigheid scenario soos hierdie:

  • 'N gebruiker uploads 'n dokument aan 'n dokument biblioteek.
  • Sy kies 'n tipe inhoud en gaan meta data soos nodig. Een van die meta data velde is 'n vlag, "Urgent".
  • Dit veroorsaak 'n SharePoint Designer workflow dat, onder andere, uses the "Collect Data from a User" aksie.

"Collect Data from a User" skep 'n item in 'n taak lys om goedkeuring vir daardie dokument.

Ek nodig het om 'n siening van die taak lys wat gewys het dringende versoeke vir goedkeuring te skep.

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

I would have preferred to specify the priority field directly. Egter, Ek was nie in staat om dit te doen om verskeie redes:

  1. Die data in te samel aksie nie 'n meganisme om 'n ander veld as titel te werk (en die addisionele velde wat jy wil om data in te samel).
  2. The "assign a to do item" Die aksie het dieselfde probleem.
  3. Dit is moontlik om 'n item in 'n lys te voeg (d.w.z. Voeg 'n item in die taak lys) but this not a blocking action. That means that the workflow will not wait for the user to complete that task.

Ek het gesien hoe 'n paar benaderings voor (gelukkig) realizing we could just put "urgent" in die titel.

  1. Begin 'n workflow op die taak lys self so dat wanneer 'n nuwe taak word geskep, dit een of ander manier kruisverwysings terug na die dokument wat begin met die eerste workflow, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, vind die gepaardgaande dokument en werk prioriteit soos nodig.
  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. (Vir een of ander rede, Ek het min of meer op hierdie benadering voor wyslik besluit om weg te loop vir 'n rukkie).

Daar is 'n nadeel aan my oplossing (Afgesien van die ooglopende feit dat slegs die teks van die titel dui op die dringendheid). Since "collect feedback" slegs aanvaar die hard gekodeer titel name, I need to use two different collect feedback actions whose only difference is that hard coded title.

Maar, ten minste is daar 'n oplossing wat nie geval ontvangers of persoonlike SPD aksies vereis.

As iemand opgelos in 'n slim manier, laat weet my asseblief.

</einde>

Sondag Funny: Hou jou seun op sy tone

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 sy vrae:

Sy: Watter dag is dit?

Pa: Een dag voor Woensdag.

S: Nie, what day of the month is it?

D: O, it’s 4 days after Jan 25.

===

Tickle him and tell him you’ll stop when he stops laughing.

===

Go down stairs to the TV room and announce, "It’s good to be the daddy." Toe, pick him up to get the warm spot on the couch and change the channel to something good, like the Scifi channel.

===

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. Byvoorbeeld, "the knife slipped in his hand, cutting his index finger, killing him instantly." 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, tell him, "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!"

(This reminds me of my favorite Borg joke: "Borger King: We do it our way. Your way is irrelevant." hahaha!)

===

Open a book to page 9 and say, "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 enemy to the town of Squarewood."

===

We drive up to Massachusetts from New Jersey several times a year and it often takes about 5 hours door to door. As we arrive home and pull into the driveway say, "oh, I forgot, we need to make a quick dash to Home Depot."

===

When watching a violent episode in a TV show (such as Heroes), tell your son, "some times, at work, I need to destroy my enemies by burning them alive using the powers of my mind. I don’t like doing it, but you gotta do what you gotta do."

===

When watching bad horror movies (see "It’s good to be the Daddy" bo), ascribe improbable motives to the evil character. Byvoorbeeld, 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".

===

What tricks do you use?

</einde>

Technorati Tags:

Guest Blogging?

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, until I read this post by Kanwal Khipple over at The Best of SharePoint Buzz- Januarie 2008.

Thinking on it, I believe there could be a lot of people out there in SharePoint land that have the itch to put together an article, short or long, technical or more business oriented, ens., 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, but I suppose that I’d want it to be oriented around SharePoint, but I also like to throw in some personal observations about consulting now en dan. I’m also trying to publish a "Sondag Funny" every week and I’m bound to run out of ideas for that.

If you’re a regular blogger already but would like to experiment with guest blogging, I’m definitely open to that too, óf as gasheer óf as gas 🙂

</einde>

Technorati Tags: