SPD Workflow “Erabiltzaile biltzeko, datuak”: Aldatzeko sortutako Task formularioa

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" ekintza da, beraz, informazio-bit desberdinak erabiltzaileari galdetuko dezakegu, onetsiko dira, hala nola, bertan duzun, zenbait iruzkin eta agian zer eskatu zuten afaria beste gau.

The forms are perfectly functional. They are tied to a task list as a content type. Dira 100% system-generated. This is their strength and weakness. If we can live with the default form, then we’re good to go. Hala eta guztiz ere, we don’t have too much control over how SPD creates the form. If we don’t like that default behavior, hainbat trikimailu jotzea da mugitu behar dugu (adibidez, lehentasuna ezartzeko zeregin batean).

Zeregin bat inprimaki horietan lotura duten ikuspegi ireki propietate eman behar nuen (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:

image

Zorionez, we can do that and it’s not very hard. Broadly speaking, sua sortu 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, bilaketa edo beste XSL eszenatoki, this will be easy for you. Izan ere,, Izango da, oro har, errazago aurkitu dut sortutako forma zertxobait errazagoa baita bilaketa-core emaitzak web parte aldean jarraitu behar (edo nightmarish CWQP).

Jakina, 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" urratsa.

Test 1:

  • Aldatzeko eskuz fitxategia ASPX du.
  • Probatu ezazu (egiaztatu diren aldaketak behar bezala gorde, eta ez du ezer apurtu).
  • Ireki workflow eta kanpoko ekintza bat gehitu (such as "log to history").
  • Gorde eu.

Emaitza: Kasu honetan, SPD ez da berriro sortu inprimakia.

Test 2:

  • Bera egiten gisa #1 except directly modify the "collect data from a user" Ekintza.

Emaitza: Hau hutsetik formularioa re-sortzen, Zure aldaketak baino gehiago idazten.

Final Oharrak:

  • Gutxienez bi SPD sortzeko ekintza hau bezalako forma: "Collect Data From a User" and "Assign To Do Item". Both of these actions’ forma eskuz alda daiteke.
  • Gai nire dispform.aspx lotura sortu nahi izan dut delako, kasu honetan, 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 bat> 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, beraz, ez dakit leizetik beste aldean bada lortzen.
  • Ez dut ikertu, baina ez nuke ez da harritu batzuk txantiloi fitxategi mota badago 12 hive SPD nola sortzen lehenetsi forma eragin hori ezin dut aldatu (askoz bezala alerta txantiloiak alda dezakegu).

</amaiera>

Nire blog Harpidetu!

Technorati Tags: ,

4 buruzko gogoeta "SPD Workflow “Erabiltzaile biltzeko, datuak”: Aldatzeko sortutako Task formularioa

  1. Jim Bob Howard

    Paul,

    Informazio ona. Like egoera hori inprimaki birsortzen gehitu nahi nuke:

    Test 3:

    <li>Bera egiten gisa #1 eu izena aldatu ezik (egin klik <Back button to get to the "Define your new workflow" Orrialdearen).</li>

    Emaitza: SPD direktorioa eu eta forma dauka izena aldatuko. Because it is creating it in a "new" direktorioa, forma da hutsetik birsortu, Zure aldaketak baino gehiago idazten.

    Erantzun
  2. Izenik ez

    http://www.batteryfast.co.uk/compaq/310924-b25.htm Compaq 310924-b25 bateria,
    http://www.batteryfast.co.uk/compaq/pp2162s.htm Compaq pp2162s bateria,
    http://www.batteryfast.co.uk/compaq/pp2160.htm Compaq pp2160 bateria,
    http://www.batteryfast.co.uk/compaq/n150.htm Compaq N150 bateria,
    http://www.batteryfast.co.uk/compaq/n200.htm Compaq n200 bateria,
    http://www.batteryfast.co.uk/compaq/n620.htm Compaq n620 bateria,
    http://www.batteryfast.co.uk/compaq/pp2111x.htm Compaq pp2111x bateria,
    http://www.batteryfast.co.uk/dell/inspiron-6000.htm dell inspiron 6000 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-9200.htm dell inspiron 9200 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-9300.htm dell inspiron 9300 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-9400.htm dell inspiron 9400 bateria,
    http://www.batteryfast.co.uk/dell/e1705.htm dell e1705 bateria,
    http://www.batteryfast.co.uk/dell/m1210.htm dell m1210 bateria,
    http://www.batteryfast.co.uk/dell/nf343.htm dell nf343 bateria,
    http://www.batteryfast.co.uk/dell/1210.htm dell 1210 bateria,
    http://www.batteryfast.co.uk/dell/cg036.htm dell cg036 bateria,
    http://www.batteryfast.co.uk/dell/t6840.htm dell t6840 bateria,
    http://www.batteryfast.co.uk/dell/latitude-x1.htm dell latitude x1 bateria,
    http://www.batteryfast.co.uk/dell/xd187.htm dell xd187 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm dell inspiron 1300 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-b120.htm dell inspiron b120 bateria,
    http://www.batteryfast.co.uk/dell/inspiron-b130.htm dell inspiron b130 bateria,
    http://www.batteryfast.co.uk/gateway/m680.htm atebide m680 bateria,
    http://www.batteryfast.co.uk/gateway/m360.htm atebide m360 bateria,
    http://www.batteryfast.co.uk/gateway/m460.htm atebide m460 bateria,
    http://www.batteryfast.co.uk/hp/m2000.htm HP m2000 bateria,
    http://www.batteryfast.co.uk/hp/dv1000.htm HP dv1000 bateria,
    http://www.batteryfast.co.uk/hp/dv4000.htm HP dv4000 bateria,
    http://www.batteryfast.co.uk/hp/ze2000.htm hp ze2000 battery,
    http://www.batteryfast.co.uk/hp/hstnn-db17.htm HP hstnn-db17 bateria,
    http://www.batteryfast.co.uk/hp/n6000.htm HP n6000 bateria,
    http://www.batteryfast.co.uk/hp/n6100.htm HP n6100 bateria,
    http://www.batteryfast.co.uk/hp/f2019.htm HP f2019 bateria,
    http://www.batteryfast.co.uk/hp/f2019a.htm HP f2019a bateria,
    http://www.batteryfast.co.uk/hp/f2019b.htm HP f2019b bateria,
    http://www.batteryfast.co.uk/hp/hstnn-db02.htm HP hstnn-DB02 bateria,
    http://www.batteryfast.co.uk/hp/dp399a.htm HP dp399a bateria,
    http://www.batteryfast.co.uk/hp/383968-001.htm HP 383968-001 bateria,
    http://www.batteryfast.co.uk/hp/f1739a.htm HP f1739a bateria,

    Erantzun
  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 “Bildu Erabiltzaile datuak” 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?
    Eskerrik asko,
    Kirsten

    Erantzun
    1. Paul Galvin Post egileak

      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.

      Erantzun

Utzi iruzkin bat Paul Galvin Utzi erantzuna

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak markatu dira *