SPD Workflow “A User məlumat toplamaq”: Yaradılan Task Form Düzelt

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" hərəkət biz informasiya müxtəlif bit üçün istifadəçi təklif edə bilər ki,, Onlar təsdiq olmadığı kimi, bəzi şərhlər və bəlkə digər gecə şam yeməyi üçün onlar idi soruşması.

The forms are perfectly functional. They are tied to a task list as a content type. Onlar 100% system-generated. This is their strength and weakness. If we can live with the default form, then we’re good to go. Lakin, we don’t have too much control over how SPD creates the form. If we don’t like that default behavior, biz bu ətrafında almaq üçün müxtəlif tövsiyələr müraciət etmək lazımdır (məsələn, bir vəzifə prioritet qəbulu).

Mən baxımından xüsusiyyətləri açılır ki, bu məsələ formaları linki təmin etmək üçün lazım (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

Təşəkkürlə, we can do that and it’s not very hard. Broadly speaking, SPD yanğın, 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, axtarış və ya digər XSL ssenarilər, this will be easy for you. Faktiki olaraq, Oluşturulan forma axtarış əsas nəticələri web hissəsi nisbətən riayət etmək qədər asandır bəri mən ümumiyyətlə asan hesab (və ya nightmarish CWQP).

Əlbəttə, 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" addım.

Sınaq 1:

  • Əl ilə Aspx faylı dəyişdirin.
  • Test (Sizin dəyişikliklər düzgün xilas və bir şey qırmaq olmadığını yoxlamaq).
  • Ki, iş açmaq və əlaqəli olmayan hərəkət et (such as "log to history").
  • Ki, iş Saxla.

Nəticə: Bu halda, SPD yenidən yaratmaq şəklində vermədi.

Sınaq 2:

  • Eyni etməyin #1 except directly modify the "collect data from a user" fəaliyyət.

Nəticə: Bu sıfırdan şəklində yenidən yaradır, Sizin dəyişikliklər artıq yazılı.

Final Qeydlər:

  • Ən azı iki SPD tədbirlər bu kimi formaları yaratmaq: "Collect Data From a User" and "Assign To Do Item". Both of these actions’ formaları əl dəyişdirilə bilər.
  • Mən dispform.aspx mənim link əldə edə idi, çünki, bu halda, the relate item always has its ID embedded in the related item’s URL. I was able to extract it and then build an <a 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, mən uçurum digər tərəfdən olur, əgər bilmirəm.
  • Mən araşdırmaq etməyib, də şablon faylı bir növ olduqda amma sürpriz olmaz 12 Mən SPD default formaları yaradır necə təsir dəyişə bilər ki, Hive (biz alert şablonları dəyişə bilərsiniz çox kimi).

</son>

Blog abunə!

Technorati Tags: ,

4 Haqqında "fikirləriSPD Workflow “A User məlumat toplamaq”: Yaradılan Task Form Düzelt

  1. Jim Bob Howard

    Paul,

    Yaxşı məlumat. Mən şəklində dinlendirir bir ssenari əlavə etmək istərdim:

    Sınaq 3:

    <li>Eyni etməyin #1 except change the name of the Workflow (basın <Back button to get to the "Define your new workflow" səhifə).</li>

    Nəticə: SPD ki, iş və formaları olan kataloq renames. Because it is creating it in a "new" kataloq, şəklində sıfırdan yeniden edir, Sizin dəyişikliklər artıq yazılı.

    Cavab
  2. No name

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

    Cavab
  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 “İstifadəçi veriler toplamaq” 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?
    Təşəkkür,
    Kirsten

    Cavab
    1. Paul Galvin Post müəllif

      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.

      Cavab

Bir cavab buraxın Paul Galvin Cavab ləğv

E-poçt ünvanından dərc olunmayacaq. Lazım alanlar qeyd olunur *