SPD Workflow “Prikupljanje podataka od korisnika”: Izmjena generirani obrazac zadataka

I’m working on a project that uses five different SharePoint Designer work flows to handle some document approvals. SPD provides the "collect data from a user" akcija, tako da možemo brz korisnik za različite bitova informacija, kao što su to oni odobre, neki komentari i možda pitati što su imali za večeru druge noći.

The forms are perfectly functional. They are tied to a task list as a content type. Oni su 100% system-generated. This is their strength and weakness. If we can live with the default form, then we’re good to go. Međutim, we don’t have too much control over how SPD creates the form. If we don’t like that default behavior, moramo posegnuti za raznim trikovima kako bi dobili oko njega (na primjer, postavljanja prioriteta na zadatku).

Morao sam dati link na tim radnim obrascima koji je otvorio se pogled svojstva (dispform.asxp) of the "related item" in a new window. This provides one-click access to the meta data of the related item. This is what I mean:

slika

Srećom, we can do that and it’s not very hard. Broadly speaking, ložiti SPD, navigate to the directory that houses the workflow files and open the ASPX file you want to modify. These are just classic XSL transform instructions and if you’ve mucked about with itemstyle.xsl, Traženje ili drugih XSL scenarija, this will be easy for you. Zapravo, Otkrio sam da se općenito lakše jer generira oblik je nešto lakše pratiti odnosu na temeljne rezultata pretraživanja web-dijela (ili noćne more CWQP).

Naravno, there is one major pitfall. SPD’s workflow editor expects full control over that file. If you modify it, SPD will happily overwrite your changes give the right set of circumstances. I did two quick tests to see how bad this could get. They both presuppose that you’ve crafted a valid SPD workflow that uses the "collect data from a user" korak.

Test 1:

  • Izmjena ASPX datoteku rukom.
  • Testirajte ga (provjeriti da vaše promjene su spremljene ispravno i ne razbiti ništa).
  • Otvoriti tijek rada i dodati nepovezanih akciju (such as "log to history").
  • Spremi tijek rada.

Rezultirati: U tom slučaju, SPD nije ponovno stvoriti oblik.

Test 2:

  • Učiniti isto kao #1 except directly modify the "collect data from a user" akcija.

Rezultirati: Ovo ponovno stvara obrazac ispočetka, tijekom pisanja-promjena.

Završne napomene:

  • Najmanje dva SPD akcije stvoriti obrasce kao što je ovaj: "Collect Data From a User" and "Assign To Do Item". Both of these actions’ obrasci mogu se mijenjati ručno.
  • Bio sam u mogućnosti generirati svoju vezu, jer dispform.aspx, u ovom slučaju, the relate item always has its ID embedded in the related item’s URL. I was able to extract it and then build an <href> based on it to provide the one-click meta data access feature. It’s unlikely that your URL follows this rule. There may be other ways to get the ID of the related item but I have not had to cross that bridge, tako da ne znam da li dobiva na drugu stranu ponora.
  • Nisam istragu, ali ne bih se iznenadio ako postoji neka vrsta datoteke predloška u 12 košnica koje sam mogao utjecati na to kako se mijenjati SPD stvara zadane obrasce (baš kao što možemo mijenjati predložaka upozorenja).

</kraj>

Pretplatite se na moj blog!

Technorati Tags: ,

4 misli o „SPD Workflow “Prikupljanje podataka od korisnika”: Izmjena generirani obrazac zadataka

  1. Jim Bob Howard

    Pavle,

    Dobra informacija. Želio bih dodati da je scenarij ponovno stvara obrazac:

    Test 3:

    <Li>Učiniti isto kao #1 osim promijeniti ime u Workflow (kliknite <Back button to get to the "Define your new workflow" stranica).</Li>

    Rezultirati: SPD je preimenovao katalog koji sadrži tijek i forme. Because it is creating it in a "new" imenik, Obrazac je ponovno od nule, tijekom pisanja-promjena.

  2. No name

    http://www.batteryfast.co.uk/compaq/310924-b25.htm Compaq 310924-B25 baterije,
    http://www.batteryfast.co.uk/compaq/pp2162s.htm Compaq pp2162s baterije,
    http://www.batteryfast.co.uk/compaq/pp2160.htm Compaq pp2160 baterije,
    http://www.batteryfast.co.uk/compaq/n150.htm Compaq N150 baterija,
    http://www.batteryfast.co.uk/compaq/n200.htm Compaq N200 baterija,
    http://www.batteryfast.co.uk/compaq/n620.htm Compaq n620 baterija,
    http://www.batteryfast.co.uk/compaq/pp2111x.htm Compaq pp2111x baterije,
    http://www.batteryfast.co.uk/dell/inspiron-6000.htm Dell Inspiron 6000 baterija,
    http://www.batteryfast.co.uk/dell/inspiron-9200.htm Dell Inspiron 9200 baterija,
    http://www.batteryfast.co.uk/dell/inspiron-9300.htm Dell Inspiron 9300 baterija,
    http://www.batteryfast.co.uk/dell/inspiron-9400.htm Dell Inspiron 9400 baterija,
    http://www.batteryfast.co.uk/dell/e1705.htm Dell e1705 baterije,
    http://www.batteryfast.co.uk/dell/m1210.htm Dell M1210 baterija,
    http://www.batteryfast.co.uk/dell/nf343.htm Dell nf343 baterije,
    http://www.batteryfast.co.uk/dell/1210.htm šumovita dolina 1210 baterija,
    http://www.batteryfast.co.uk/dell/cg036.htm Dell cg036 baterije,
    http://www.batteryfast.co.uk/dell/t6840.htm Dell t6840 bateriju,
    http://www.batteryfast.co.uk/dell/latitude-x1.htm Dell Latitude X1 baterija,
    http://www.batteryfast.co.uk/dell/xd187.htm Dell xd187 baterije,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm Dell Inspiron 1300 baterija,
    http://www.batteryfast.co.uk/dell/inspiron-b120.htm Dell Inspiron B120 Baterija,
    http://www.batteryfast.co.uk/dell/inspiron-b130.htm Dell Inspiron B130 Baterija,
    http://www.batteryfast.co.uk/gateway/m680.htm pristupnika m680 baterije,
    http://www.batteryfast.co.uk/gateway/m360.htm pristupnika M360 baterije,
    http://www.batteryfast.co.uk/gateway/m460.htm pristupnika m460 baterije,
    http://www.batteryfast.co.uk/hp/m2000.htm HP M2000 baterija,
    http://www.batteryfast.co.uk/hp/dv1000.htm HP dv1000 baterije,
    http://www.batteryfast.co.uk/hp/dv4000.htm HP dv4000 baterije,
    http://www.batteryfast.co.uk/hp/ze2000.htm KS Ze2000 baterije,
    http://www.batteryfast.co.uk/hp/hstnn-db17.htm HP HSTNN-db17 baterija,
    http://www.batteryfast.co.uk/hp/n6000.htm KS n6000 baterija,
    http://www.batteryfast.co.uk/hp/n6100.htm KS n6100 baterija,
    http://www.batteryfast.co.uk/hp/f2019.htm HP f2019 baterije,
    http://www.batteryfast.co.uk/hp/f2019a.htm KS f2019a baterije,
    http://www.batteryfast.co.uk/hp/f2019b.htm KS f2019b baterije,
    http://www.batteryfast.co.uk/hp/hstnn-db02.htm HP HSTNN-db02 baterija,
    http://www.batteryfast.co.uk/hp/dp399a.htm KS dp399a baterije,
    http://www.batteryfast.co.uk/hp/383968-001.htm KS 383968-001 baterija,
    http://www.batteryfast.co.uk/hp/f1739a.htm KS f1739a baterije,

  3. Kirsten

    Thanks for this it is just what I am looking for!

    I have collected some data from a user in a SharePoint Designer workflow step and I now want to display that data in a second “Prikupljati podatke od korisnika” form at a subsequent step in my workflow. How can I add the content of my Workflow data variable in the Collect Data from user form?

    Could you please show the code that you use to achieve this?
    Hvala,
    Kirsten

    1. Paul Galvin Post autor

      Sorry for never responding. I’m doing a giant blog cleanup process now and I apologize for missing you. I hope you figured out a good solution.

Ostavite odgovor na Paul Galvin Odustani odgovor

Vaša email adresa neće biti objavljena. obavezna polja su označena *