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" చర్య మేము సమాచారం వివిధ బిట్స్ కోసం వినియోగదారును ప్రాంప్ట్ చేయవచ్చు తద్వారా, అటువంటి వారు ఆమోదిస్తే అనే, కొన్ని వ్యాఖ్యానాలు మరియు ఉండవచ్చు ఇతర రాత్రి విందు కోసం తాము ఏమి అడగాలో.

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. నిజానికి, ఉత్పత్తి రూపం ఒక శోధన కోర్ ఫలితాలు వెబ్ భాగం పోలిస్తే అనుసరించడానికి కొంత సులభం నుండి నేను సాధారణంగా సులభంగా ఉన్నట్లు (లేక పీడకలలను 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" క్రియ.

ఫలితంగా: ఈ మొదటి నుండి రూపం తిరిగి సృష్టిస్తుంది, మీ మార్పులకు రాయడం.

ఫైనల్ గమనికలు:

  • కనీసం రెండు 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 <ఒక 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, కాబట్టి నేను అగాధం ఇతర వైపు గెట్స్ తెలియదు.
  • నేను పరిశోధనను కొనసాగించలేదు, లో టెంప్లేట్ ఫైలు యొక్క రకమైన ఉంది కానీ నేను ఆశ్చర్యం కాదు 12 నేను SPD డిఫాల్ట్ రకాల ఉత్పత్తి ఎలా ప్రభావితం సవరించడానికి అని అందులో నివశించే తేనెటీగలు (మేము హెచ్చరికను టెంప్లేట్లు సవరించవచ్చు చాలా వంటి).

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్!

4 "న ఆలోచనలుSPD వర్క్ఫ్లో “ఒక వినియోగదారు నుండి డేటా సేకరించండి”: రూపొందించిన విధి ఫారం సవరించు

  1. జిం బాబ్ హోవార్డ్

    పాల్,

    మంచి సమాచారం. నేను రూపం వినోదాన్ని ఒక సందర్భంలో జోడించడానికి కోరుకుంటున్నారో:

    టెస్ట్ 3:

    <li>అదే డు #1 పనిలో పేరు మార్చడానికి తప్ప (క్లిక్ <Back button to get to the "Define your new workflow" పేజీ).</li>

    ఫలితంగా: SPD వర్క్ఫ్లో మరియు రూపాలు కలిగి డైరెక్టరీ పేరును. Because it is creating it in a "new" డైరెక్టరీ, రూపం మొదటి నుండి తిరిగి తయారు ఉంది, మీ మార్పులకు రాయడం.

  2. సంఖ్య పేరు

    http://www.batteryfast.co.uk/compaq/310924-b25.htm కాంప్యాక్ 310924-b25 బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/pp2162s.htm కాంప్యాక్ pp2162s బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/pp2160.htm కాంప్యాక్ pp2160 బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/n150.htm కాంప్యాక్ n150 బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/n200.htm కాంప్యాక్ n200 బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/n620.htm కాంప్యాక్ n620 బ్యాటరీ,
    http://www.batteryfast.co.uk/compaq/pp2111x.htm కాంప్యాక్ pp2111x బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-6000.htm డెల్ ఇన్సిరాన్ 6000 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-9200.htm డెల్ ఇన్సిరాన్ 9200 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-9300.htm డెల్ ఇన్సిరాన్ 9300 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-9400.htm డెల్ ఇన్సిరాన్ 9400 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/e1705.htm డెల్ e1705 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/m1210.htm డెల్ m1210 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/nf343.htm డెల్ nf343 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/1210.htm చిన్న గుంట 1210 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/cg036.htm డెల్ cg036 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/t6840.htm డెల్ t6840 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/latitude-x1.htm డెల్ లాటిట్యూడ్ x1 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/xd187.htm డెల్ xd187 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm డెల్ ఇన్సిరాన్ 1300 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-b120.htm డెల్ ఇన్సిరాన్ b120 బ్యాటరీ,
    http://www.batteryfast.co.uk/dell/inspiron-b130.htm డెల్ ఇన్సిరాన్ b130 బ్యాటరీ,
    http://www.batteryfast.co.uk/gateway/m680.htm గేట్వే m680 బ్యాటరీ,
    http://www.batteryfast.co.uk/gateway/m360.htm గేట్వే m360 బ్యాటరీ,
    http://www.batteryfast.co.uk/gateway/m460.htm గేట్వే m460 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/m2000.htm hp m2000 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/dv1000.htm hp dv1000 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/dv4000.htm hp dv4000 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/ze2000.htm hp ze2000 battery,
    http://www.batteryfast.co.uk/hp/hstnn-db17.htm hp hstnn-db17 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/n6000.htm hp n6000 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/n6100.htm hp n6100 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/f2019.htm hp f2019 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/f2019a.htm hp f2019a బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/f2019b.htm hp f2019b బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/hstnn-db02.htm hp hstnn-DB02 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/dp399a.htm hp dp399a బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/383968-001.htm hp 383968-001 బ్యాటరీ,
    http://www.batteryfast.co.uk/hp/f1739a.htm hp f1739a బ్యాటరీ,

  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

ఒక Reply వదిలి పాల్ గాల్విన్ ప్రత్యుత్తరం రద్దు

మీ ఇమెయిల్ చిరునామా ప్రచురితమైన కాదు. లు గుర్తించబడతాయి *