SPD աշխատանքի արդյունքում “Հավաքագրել տվյալներ Ա Օգտվող”: Փոփոխել առաջացած աշխատանքային ձեւը

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" գործողություն, որպեսզի մենք կարող է հուշել այն մասին տարբեր bits տեղեկատվության, ինչպես, օրինակ, թե արդյոք նրանք ընդունում են այն, որոշ Դիտողություններն ու միգուցե հարցնում էին ճաշի մյուս գիշեր.

The forms are perfectly functional. They are tied to a task list as a content type. Նրանք 100% system-generated. This is their strength and weakness. If we can live with the default form, then we’re good to go. Սակայն, we don’t have too much control over how SPD creates the form. If we don’t like that default behavior, մենք պետք է դիմել տարբեր հնարքներ, որպեսզի դրա շուրջ (օրինակ, համար առաջնահերթ խնդիր է).

Ինձ անհրաժեշտ է ապահովել հղում են աշխատանքային խմբեր ձեւերով բացվել է դիտիր հատկությունները (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:

պատկեր

Բարեբախտաբար, we can do that and it’s not very hard. Broadly speaking, կրակել են 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, Պահեստավորված կամ այլ XSL սցենարներ, this will be easy for you. Ի դեպ, Ես գտա, որ դա ընդհանրապես, քանի որ ավելի հեշտ ձեւ գեներացվել է փոքր - ինչ ավելի հեշտ է հետեւել համեմատ որոնման հիմնական արդյունքների վեբ մաս (կամ nightmarish CWQP).

Իհարկե, 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" քայլ.

Փորձարկում 1:

  • Փոփոխել ASPX ֆայլը ձեռքով.
  • Փորձարկել այն (ստուգել, ​​որ ձեր փոփոխություններ են պատշաճ կերպով պահվել եւ չէր խախտում ոչ մի բան).
  • Բացեք այդ աշխատանքի արդյունքում, եւ ավելացնել անկապ գործողություն (such as "log to history").
  • Պահպանիր աշխատանքի արդյունքում.

Արդյունք: Այս դեպքում, SPD չի վերստեղծել ձեւը.

Փորձարկում 2:

  • Արդյոք նույնը, ինչ #1 except directly modify the "collect data from a user" գործողություն.

Արդյունք: Այս վերակազմակերպման ստեղծում ձեւը զրոյից, over-գրավոր Ձեր փոփոխությունները.

Եզրափակիչ Notes:

  • Առնվազն երկու SPD գործողությունները ստեղծելու ձեւեր նման: "Collect Data From a User" and "Assign To Do Item". Both of these actions’ ձեւերը կարելի է ձեռքով փոփոխվել.
  • Ես կարողացել եմ առաջացնում իմ հղում dispform.aspx պատճառով, այդ դեպքում, the relate item always has its ID embedded in the related item’s URL. I was able to extract it and then build an <ա Ռաֆֆի Չ.> 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, ես չգիտեմ, եթե ստանում մյուս կողմում անդունդ.
  • Ես չէի հետաքննել, բայց ես չէի զարմանա, եթե ինչ կաղապարի ֆայլի մեջ 12 փեթակ, որ ես կարող փոփոխությունները է ազդել SPD առաջացնում կանխադրված ձեւերը (շատ նման մենք չենք կարող փոփոխությունները հիշեցում օրինակները).

</վերջ>

Անդամագրվել իմ բլոգում!

4 thoughts on "SPD աշխատանքի արդյունքում “Հավաքագրել տվյալներ Ա Օգտվող”: Փոփոխել առաջացած աշխատանքային ձեւը

  1. Jim Bob Howard

    Paul,

    Good information. I would like to add a scenario that recreates the form:

    Փորձարկում 3:

    <li>Արդյոք նույնը, ինչ #1 except change the name of the Workflow (click the <Back button to get to the "Define your new workflow" էջ).</li>

    Արդյունք: SPD renames the directory that contains the workflow and the forms. Because it is creating it in a "new" directory, the form is recreated from scratch, over-գրավոր Ձեր փոփոխությունները.

  2. No name

    http://www.batteryfast.co.uk/compaq/310924-b25.htm compaq 310924-b25 battery,
    http://www.batteryfast.co.uk/compaq/pp2162s.htm compaq pp2162s battery,
    http://www.batteryfast.co.uk/compaq/pp2160.htm compaq pp2160 battery,
    http://www.batteryfast.co.uk/compaq/n150.htm compaq n150 battery,
    http://www.batteryfast.co.uk/compaq/n200.htm compaq n200 battery,
    http://www.batteryfast.co.uk/compaq/n620.htm compaq n620 battery,
    http://www.batteryfast.co.uk/compaq/pp2111x.htm compaq pp2111x battery,
    http://www.batteryfast.co.uk/dell/inspiron-6000.htm Dell Inspiron 6000 մարտկոց,
    http://www.batteryfast.co.uk/dell/inspiron-9200.htm Dell Inspiron 9200 մարտկոց,
    http://www.batteryfast.co.uk/dell/inspiron-9300.htm Dell Inspiron 9300 մարտկոց,
    http://www.batteryfast.co.uk/dell/inspiron-9400.htm Dell Inspiron 9400 մարտկոց,
    http://www.batteryfast.co.uk/dell/e1705.htm dell e1705 battery,
    http://www.batteryfast.co.uk/dell/m1210.htm dell m1210 battery,
    http://www.batteryfast.co.uk/dell/nf343.htm dell nf343 battery,
    http://www.batteryfast.co.uk/dell/1210.htm անտառապատ հովիտ 1210 մարտկոց,
    http://www.batteryfast.co.uk/dell/cg036.htm dell cg036 battery,
    http://www.batteryfast.co.uk/dell/t6840.htm dell t6840 battery,
    http://www.batteryfast.co.uk/dell/latitude-x1.htm dell latitude x1 battery,
    http://www.batteryfast.co.uk/dell/xd187.htm dell xd187 battery,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm Dell Inspiron 1300 մարտկոց,
    http://www.batteryfast.co.uk/dell/inspiron-b120.htm dell inspiron b120 battery,
    http://www.batteryfast.co.uk/dell/inspiron-b130.htm dell inspiron b130 battery,
    http://www.batteryfast.co.uk/gateway/m680.htm gateway m680 battery,
    http://www.batteryfast.co.uk/gateway/m360.htm gateway m360 battery,
    http://www.batteryfast.co.uk/gateway/m460.htm gateway m460 battery,
    http://www.batteryfast.co.uk/hp/m2000.htm hp m2000 battery,
    http://www.batteryfast.co.uk/hp/dv1000.htm hp dv1000 battery,
    http://www.batteryfast.co.uk/hp/dv4000.htm hp dv4000 battery,
    http://www.batteryfast.co.uk/hp/ze2000.htm hp ze2000 battery,
    http://www.batteryfast.co.uk/hp/hstnn-db17.htm hp hstnn-db17 battery,
    http://www.batteryfast.co.uk/hp/n6000.htm hp n6000 battery,
    http://www.batteryfast.co.uk/hp/n6100.htm hp n6100 battery,
    http://www.batteryfast.co.uk/hp/f2019.htm hp f2019 battery,
    http://www.batteryfast.co.uk/hp/f2019a.htm hp f2019a battery,
    http://www.batteryfast.co.uk/hp/f2019b.htm hp f2019b battery,
    http://www.batteryfast.co.uk/hp/hstnn-db02.htm hp hstnn-db02 battery,
    http://www.batteryfast.co.uk/hp/dp399a.htm hp dp399a battery,
    http://www.batteryfast.co.uk/hp/383968-001.htm hp 383968-001 մարտկոց,
    http://www.batteryfast.co.uk/hp/f1739a.htm hp f1739a battery,

  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 “Հավաքագրել տվյալներ Օգտվող” 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?
    Շնորհակալություն,
    Kirsten

Թողնել Պատասխանել Paul Galvin Ավելացնել կարծիք Չեղարկել պատասխանել

Ձեր էլ. Փոստի հասցեն չի հրապարակվելու. Պահանջվող դաշտերը նշված են աստղանիշով *