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, სროლა up 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 ფაილი ხელით.
  • გამოცადეთ იგი (გადაამოწმონ, რომ თქვენი ცვლილებები სათანადოდ შენახული და არ დაარღვიოს არაფერი).
  • გახსენით სამუშაო და დამატება unrelated აქცია (such as "log to history").
  • Save workflow.

შედეგი: ამ შემთხვევაში, 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 <კონფერენცია> 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, ასე რომ მე არ ვიცი, თუ მივა მეორე მხარეს უფსკრული.
  • მე არ გამოიძიებს, მაგრამ მე არ გაგიკვირდებათ, თუ არსებობს გარკვეული შაბლონის in 12 hive, რომ მე ვერ ცვლილებები, რათა გავლენა იქონიოს SPD წარმოშობს სტანდარტულ ფორმები (ჰგავს შეგვიძლია ცვლილებები მზადყოფნაში თარგები).

</ბოლო>

გამოწერა ჩემი დღიური!

პროგრამები Tags: ,

4 thoughts on "SPD სიმბოლო “კოლექციონირება მონაცემთა მომხმარებელი”: შეცვლა გენერირებადი სამუშაო ფორმა

  1. ჯიმ ბობ ჰოვარდ

    პოლ,

    კარგი ინფორმაცია. მინდა გითხრათ, სცენარი რომ recreates ფორმა:

    ტესტი 3:

    <li>გააკეთეთ იგივე, რაც #1 გარდა შეცვლის სახელით სამუშაოს (დააწკაპუნეთ <Back button to get to the "Define your new workflow" გვერდზე).</li>

    შედეგი: SPD სურს კატალოგი, რომელიც შეიცავს workflow და ფორმები. Because it is creating it in a "new" კატალოგი,, ფორმა recreated ნულიდან, ზედმეტად წერილობით თქვენი ცვლილებები.

  2. არ არის სახელი

    http://www.batteryfast.co.uk/compaq/310924-b25.htm compaq 310924-B25 ბატარეის,
    http://www.batteryfast.co.uk/compaq/pp2162s.htm compaq pp2162s ბატარეის,
    http://www.batteryfast.co.uk/compaq/pp2160.htm compaq pp2160 ბატარეის,
    http://www.batteryfast.co.uk/compaq/n150.htm compaq n150 ბატარეის,
    http://www.batteryfast.co.uk/compaq/n200.htm compaq N200 ბატარეის,
    http://www.batteryfast.co.uk/compaq/n620.htm compaq N620 ბატარეის,
    http://www.batteryfast.co.uk/compaq/pp2111x.htm compaq pp2111x ბატარეის,
    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 ბატარეის,
    http://www.batteryfast.co.uk/dell/m1210.htm dell m1210 ბატარეის,
    http://www.batteryfast.co.uk/dell/nf343.htm dell nf343 ბატარეის,
    http://www.batteryfast.co.uk/dell/1210.htm dell 1210 ბატარეის,
    http://www.batteryfast.co.uk/dell/cg036.htm dell cg036 ბატარეის,
    http://www.batteryfast.co.uk/dell/t6840.htm dell t6840 ბატარეის,
    http://www.batteryfast.co.uk/dell/latitude-x1.htm dell გრძედი x1 ბატარეის,
    http://www.batteryfast.co.uk/dell/xd187.htm dell xd187 ბატარეის,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm Dell Inspiron 1300 ბატარეის,
    http://www.batteryfast.co.uk/dell/inspiron-b120.htm Dell Inspiron b120 ბატარეის,
    http://www.batteryfast.co.uk/dell/inspiron-b130.htm Dell Inspiron 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 ბატარეის,
    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

დატოვე პასუხი უნდა პოლ Galvin პასუხის გაუქმება

თქვენი ელ-ფოსტა არ გამოქვეყნდება. აუცილებელი ველები მონიშნულია *