arquivos mensuais: Xullo 2009

Condicións pre-existentes: Modelos do SharePoint alerta para o rescate (?)

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. Por exemplo, 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 🙂

O meu cliente ten un número de aínda pendentes previa, 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. "Aprobar" ou "negar") and we can specify a hard coded value in the title and description. That’s about it.

Esixencia do meu cliente é dúas veces:

  1. Cando o SharePoint envía un correo electrónico sobre unha asignación de tarefa, incluír unha morea de información sobre a tarefa no corpo do correo.
  2. Máis importante, de lonxe – cando o usuario fai clic na ligazón tarefa de correo-e, 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 (unha forma InfoPath neste caso). Then you click back/back, etc. Everyone hates it.

Eu herdei esta solución un tanto confuso técnica e quero facer cambios na forma menos intrusiva posible.

The approach I’m taking right now is to create a custom alert template. Pode ler máis sobre iso aquí. The flow works like this:

  • SPD fluxo de traballo é executado.
  • Nalgún momento, que atribúe unha tarefa a un director.
  • SharePoint system automatically sends out an alert to that manager. This is not part of the SPD workflow but rather “what SharePoint does.” (O servizo de axustado dunha decena do SharePoint, Creo).
  • Un manipulador de alerta personalizado é invocado en favor do proceso estándar de alerta (seguindo as normas de máxicas como se describe no artigo anterior fai referencia a).
  • Cando o meu manipulador personalizado alerta é executado, it generates a beautiful email. Máis importante, xa que ten a tarefa na man, tamén decora a tarefa real con todo o contexto da información necesaria para satisfacer o requisito de negocio.
  • O usuario recibe o correo electrónico e está cheo de información de contexto útil.
  • O usuario fai clic na ligazón e tarefa a tarefa en si está cheo de información de contexto útil.
  • Todo o mundo vai a casa ter crema de sandía e xeo.

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.

A única parte complicada, ata agora, para evitar unha situación na que as actualizacións alerta o elemento, triggering another alert. This doesn’t worry me.

Parece prometedor ata agora ...

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 xustificación, Decoratin tarefa TEH LISTA WiF CONTEXTO MOAR".

</final>

Rexístrate para o meu blog.

Siga-me no Twitter http://www.twitter.com/pagalvin

Ao vivo SharePoint Q&Unha sesión de xoves 07/30/09 @ 12:30 AM EDT terminando 1:30AM EDT

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

Volvendo á miña conferencia SharePoint primeiro, pouco máis dun ano, Fun alcanzado por unha terrible como Q en directo&A session can be. The conference organizers had put together a sort of ad hoc group of “experts” (i.e. persoas que estaban pendurados arredor e non tiveron medo de ollar para boba encima do escenario) to answer any questions that came from the audience in the room. It was in my head back then, e periodicamente desde entón, 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&Unha sesión, pero eu creo que podería ser moi legal.

Finalmente teño tempo para iso e vindeiro xoves, 07/30, a miña empresa (Arcovis) e compañeiro de empresas, Sistemas Integrados e Servizos grupo, estará hospedando un Q&A like that. I’m hoping to do these regularly, as often as weekly.

A sesión inaugural será, probablemente, un pouco accidentado, pero o concepto é este:

  • Se ten preguntas que desexa responder durante a sesión, só mostrar-se e pedir.
  • Se quere, pode enviar correo-e a cuestión con antelación.

Pretendemos pasar a primeira metade do q&Un sobre cuestións enviadas por correo e logo abri-lo para calquera cousa que alguén pregunta por que.

A sesión ten lugar o xoves, 07/30 comezando o 12:30 e rematando no 1:30 AM EDT.

Se che interesa, xentilmente Rexístrese aquí: 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 🙂

Se desexa ser un dos luminares para un futuro Q&Unha sesión, deixe-me saber.

</final>

Rexístrate para o meu blog.

Siga-me no Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Inserir Anotacións dun creador Dentro de formularios InfoPath

Eu aínda estou vivindo no mundo de formularios InfoPath e eu precisaba facer unha desas "pequenas" cambio de forma que, por desgraza, breaks a naming convention I adopted with it two weeks ago. Eu penso para min mesmo, "Alguén vai mirar para esa cousa de aquí a un ano e dicir, "O que estaba a pensar Paul? By Jove, súa convención de nomenclatura non ten sentido!"

Entender que eu podería crear un punto de vista sobre a forma para iso e, a continuación,, unha vez, 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

Eu configurei o formulario para que os usuarios non poden chegar a ese punto de vista e, polo tanto,, 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!

</final>

Rexístrate para o meu blog.

Siga-me no Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Xestionar Views InfoPath

Paréceme pasar por fases onde InfoPath, fóra do azul, 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.

Eu estou no medio dunha fase InfoPath e estou creando formas do InfoPath con unha morea de puntos de vista. Unha cousa que probablemente vai notar que o 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, como ilustrado aquí:

image

I wish I had been doing this all along.

</final>

Rexístrate para o meu blog.

Siga-me no Twitter http://www.twitter.com/pagalvin

Technorati Tags: