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" gníomh ionas gur féidir linn a spreagfaidh an t-úsáideoir le haghaidh giotán éagsúla faisnéise, mar shampla, cé acu acu é a cheadú, roinnt tuairimí agus b'fhéidir a iarraidh ar cad a bhí siad don dinnéar an oíche eile.
The forms are perfectly functional. They are tied to a task list as a content type. Tá siad 100% system-generated. This is their strength and weakness. If we can live with the default form, then we’re good to go. Mar sin féin, we don’t have too much control over how SPD creates the form. If we don’t like that default behavior, ní mór dúinn dul i muinín cleasanna éagsúla a fháil timpeall air (mar shampla, tosaíocht leagan ar thasc).
Is gá dom a nasc ar na foirmeacha tasc a d'oscail suas an airíonna an amhairc a chur ar fáil (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:
Thankfully, we can do that and it’s not very hard. Broadly speaking, dóiteáin suas 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, cásanna XSL eile cuardaigh nó, this will be easy for you. Go deimhin, Fuair mé é a bheith i gcoitinne níos éasca ós rud é go bhfuil an fhoirm a ghintear beagán níos éasca a leanúint i gcomparáid le croí-thorthaí páirt gréasáin chuardaigh (nó an CWQP nightmarish).
Ar ndóigh,, 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" céim.
Tástáil 1:
- Athraigh an comhad ASPX de láimh.
- Tástáil sé (fhíorú go raibh shábháil do chuid athruithe i gceart agus ní raibh rud ar bith a bhriseadh).
- Oscail suas an sreabhadh oibre agus cuir ar ghníomhaíocht atá unrelated (such as "log to history").
- Sábháil an sreabhadh oibre.
Toradh: Sa chás seo, Ní raibh SPD ath-chruthú ar an bhfoirm.
Tástáil 2:
- An bhfuil an céanna mar #1 except directly modify the "collect data from a user" gníomh.
Toradh: Seo ar ath-Cruthaíonn an fhoirm ó scratch, ró-scríobh do chuid athruithe.
Nótaí Deiridh:
- Ar a laghad dhá ghníomh SPD chruthú foirmeacha mar seo: "Collect Data From a User" and "Assign To Do Item". Both of these actions’ Is féidir foirmeacha a mhodhnú de láimh.
- Bhí mé in ann a ghiniúint mo nasc chuig dispform.aspx mar gheall ar, sa chás seo, 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, mar sin níl a fhios agam má thagann go dtí an taobh eile de chuid an chasm.
- Ní raibh mé ag imscrúdú, ach ní ba mhaith liom a bheith ionadh más rud é go bhfuil roinnt de chineál comhaid teimpléad sa 12 hive go raibh mé in ann a mhodhnú go mbeadh tionchar acu conas a ghineann SPD na foirmeacha réamhshocraithe (i bhfad mar is féidir linn a mhodhnú teimpléid airdeall).
</deireadh>
Paul,
Dea-eolas. Ba mhaith liom buíochas a chur le cás go recreates an fhoirm:
Tástáil 3:
<li>An bhfuil an céanna mar #1 ach amháin a athrú an t-ainm ar an Sreabhadh Oibre (cliceáil ar an <Back button to get to the "Define your new workflow" leathanach).</li>
Toradh: SPD renames an eolaire go bhfuil an sreabhadh oibre agus na foirmeacha. Because it is creating it in a "new" eolaire, Tá an fhoirm athchruthaigh ó scratch, ró-scríobh do chuid athruithe.
http://www.batteryfast.co.uk/compaq/310924-b25.htm compaq 310,924-B25 ceallraí,
http://www.batteryfast.co.uk/compaq/pp2162s.htm compaq ceallraí pp2162s,
http://www.batteryfast.co.uk/compaq/pp2160.htm compaq ceallraí pp2160,
http://www.batteryfast.co.uk/compaq/n150.htm compaq N150 ceallraí,
http://www.batteryfast.co.uk/compaq/n200.htm compaq N200 ceallraí,
http://www.batteryfast.co.uk/compaq/n620.htm compaq N620 ceallraí,
http://www.batteryfast.co.uk/compaq/pp2111x.htm compaq ceallraí pp2111x,
http://www.batteryfast.co.uk/dell/inspiron-6000.htm Dell inspiron 6000 ceallraí,
http://www.batteryfast.co.uk/dell/inspiron-9200.htm Dell inspiron 9200 ceallraí,
http://www.batteryfast.co.uk/dell/inspiron-9300.htm Dell inspiron 9300 ceallraí,
http://www.batteryfast.co.uk/dell/inspiron-9400.htm Dell inspiron 9400 ceallraí,
http://www.batteryfast.co.uk/dell/e1705.htm dell e1705 ceallraí,
http://www.batteryfast.co.uk/dell/m1210.htm dell m1210 ceallraí,
http://www.batteryfast.co.uk/dell/nf343.htm Dell ceallraí nf343,
http://www.batteryfast.co.uk/dell/1210.htm dell 1210 ceallraí,
http://www.batteryfast.co.uk/dell/cg036.htm Dell ceallraí cg036,
http://www.batteryfast.co.uk/dell/t6840.htm Dell ceallraí t6840,
http://www.batteryfast.co.uk/dell/latitude-x1.htm Dell domhanleithead x1 ceallraí,
http://www.batteryfast.co.uk/dell/xd187.htm Dell ceallraí xd187,
http://www.batteryfast.co.uk/dell/inspiron-1300.htm Dell inspiron 1300 ceallraí,
http://www.batteryfast.co.uk/dell/inspiron-b120.htm Dell inspiron ceallraí b120,
http://www.batteryfast.co.uk/dell/inspiron-b130.htm Dell inspiron ceallraí b130,
http://www.batteryfast.co.uk/gateway/m680.htm geata m680 ceallraí,
http://www.batteryfast.co.uk/gateway/m360.htm gheata m360 ceallraí,
http://www.batteryfast.co.uk/gateway/m460.htm gheata m460 ceallraí,
http://www.batteryfast.co.uk/hp/m2000.htm HP ceallraí m2000,
http://www.batteryfast.co.uk/hp/dv1000.htm HP dv1000 ceallraí,
http://www.batteryfast.co.uk/hp/dv4000.htm HP dv4000 ceallraí,
http://www.batteryfast.co.uk/hp/ze2000.htm hp ze2000 battery,
http://www.batteryfast.co.uk/hp/hstnn-db17.htm HP hstnn-db17 ceallraí,
http://www.batteryfast.co.uk/hp/n6000.htm HP ceallraí n6000,
http://www.batteryfast.co.uk/hp/n6100.htm HP ceallraí n6100,
http://www.batteryfast.co.uk/hp/f2019.htm HP ceallraí f2019,
http://www.batteryfast.co.uk/hp/f2019a.htm HP ceallraí f2019a,
http://www.batteryfast.co.uk/hp/f2019b.htm HP ceallraí f2019b,
http://www.batteryfast.co.uk/hp/hstnn-db02.htm HP hstnn-DB02 ceallraí,
http://www.batteryfast.co.uk/hp/dp399a.htm HP ceallraí dp399a,
http://www.batteryfast.co.uk/hp/383968-001.htm HP 383968-001 ceallraí,
http://www.batteryfast.co.uk/hp/f1739a.htm HP ceallraí f1739a,
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 “Bailigh sonraí ó Úsáideoir” 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?
Go raibh maith agat,
Kirsten
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.