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) "قلم دوم از اقلام مربوط به" 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 با دست.
  • آزمون (کنترل کنید که تغییرات خود را به درستی ذخیره شد و چیزی را پاره کند).
  • باز کردن گردش کار و اضافه کردن یک عمل نامربوط (از قبیل "ورود به سیستم به تاریخ").
  • صرفه جویی در گردش کار.

نتیجه: در این مورد, SPD دوباره ایجاد فرم.

تست 2:

  • همه گروه همان #1 جز به طور مستقیم "جمع آوری اطلاعات از یک کاربر را تغییر دهید" اقدام.

نتیجه: این دوباره ایجاد فرم از ابتدا, بیش از نوشتن همه تغییرات مورد نظرتان را در.

یادداشت های نهایی:

  • حداقل دو عملیات SPD ایجاد اشکال مثل این: "جمع آوری اطلاعات از کاربر" 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 دیدگاه در "SPD گردش کار “جمع آوری اطلاعات از کاربر”: اصلاح فرم وظیفه تولید

  1. جیم باب هوارد

    پل,

    اطلاعات خوب. من می خواهم برای اضافه کردن یک سناریو است که بازسازی فرم:

    تست 3:

    <لی>همه گروه همان #1 به جز تغییر نام از گردش کار (با کلیک بر روی <دکمه برگشت را برای رسیدن به "تعریف گردش کار جدید خود را" صفحه).</لی>

    نتیجه: SPD تغییر نام دایرکتوری که شامل گردش کار و فرم ها. از آنجا که آن را آن را ایجاد در جدید "" دایرکتوری, فرم را از ابتدا دوباره, بیش از نوشتن همه تغییرات مورد نظرتان را در.

    پاسخ
  2. بدون نام

    http://www.batteryfast.co.uk/compaq/310924-b25.htm COMPAQ 310،924-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 دل Inspiron 6000 باتری,
    http://www.batteryfast.co.uk/dell/inspiron-9200.htm دل Inspiron 9200 باتری,
    http://www.batteryfast.co.uk/dell/inspiron-9300.htm دل Inspiron 9300 باتری,
    http://www.batteryfast.co.uk/dell/inspiron-9400.htm دل Inspiron 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 تاپ Dell Latitude X1 باتری,
    http://www.batteryfast.co.uk/dell/xd187.htm دل xd187 باتری,
    http://www.batteryfast.co.uk/dell/inspiron-1300.htm دل 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 باتری نوت 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 نوت f2019a باتری,
    http://www.batteryfast.co.uk/hp/f2019b.htm نوت f2019b باتری,
    http://www.batteryfast.co.uk/hp/hstnn-db02.htm باتری نوت HSTNN-db02,
    http://www.batteryfast.co.uk/hp/dp399a.htm نوت dp399a باتری,
    http://www.batteryfast.co.uk/hp/383968-001.htm اسب بخار 383968-001 باتری,
    http://www.batteryfast.co.uk/hp/f1739a.htm نوت 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

    پاسخ

ترک پاسخ به پل گالوین لغو پاسخ

آدرس ایمیل شما منتشر نخواهد شد. بخشهای موردنیاز علامتگذاری شدهاند *