Sadə və sadə: InfoPath form güncellemek SharePoint Designer iş imkan

Ssenari: I have an InfoPath form that front-ends a workflow process implemented using SharePoint Designer. At one point, a manager must approve the form. Mən audit tələblərinə uyğun iş tarixi arxalana bilməz ildən, I formu özü birbaşa öz audit mesajı saxlamaq üçün qərar.

Baxış:

Şəklində dizayn və bu kimi dərc Bu məzmun növü and the form itself to a document library. Mark desired form fields as being updateable from MOSS. The form is tied to the content type and the content type is "attached" bir formaları kitabxana (və ya bir çox, Əgər siz). Write a workflow that updates the field.

Konkret addımlar:

  1. Create a document library. This will hold your InfoPath template.
  2. Create a forms library.
  3. Create the InfoPath form. Include a text field, "Audit Message".
  4. Bir içerik növü kimi formu Publish (Bir sənəd).
  5. Nəşriyyat informasiya qutusu doldurulması isə:
    bir) Sənəd kitabxana üçün. Xsn fayl saxla (addım #1).
    b) Publish the "Audit Message" sahə və nişanı doğru: "Allow users to edit data in this field by using a datasheet or properties page".
    c) Yeni içerik növü yaratmaq və müvafiq ad verin.
  6. Formaları kitabxana daxil ol.
    bir) Inkişaf etmiş ayarları gedin və məzmun növləri idarə formaları kitabxana imkan.
    b) Yeni yaradılmış məzmun növünü seçin (5Yuxarıda c). It will be grouped under "Microsoft InfoPath" (və ya oxşar).
    c) Remove the default "Form" kitabxana içerik növü.
    d) Mark the library to "show as web page" şəklində SharePoint-dən başlamaq və InfoPath workstation müştəri deyil ki,.
  7. Go back to the forms library proper and click "New" sadəcə şəklində düzgün olunub və istədiyiniz kimi fəaliyyət doğrulamak üçün.
  8. SharePoint Designer yanğın və forma kitabxana keçirilir ki, saytda gedin (addım 2).
  9. Formaları kitabxana əlavə yeni iş yaradın.
  10. Add a single action "Set Field in Current Item". You should expect SharePoint Designer to list your your field, "Audit Message". Assign it a value.
  11. Son'u basın və formu kitabxana geri.
  12. Create a new form and put some test value into the "Audit Message" sahə.
  13. Saxlamaq və şəklində kitabxana geri.
  14. Sağ basın, select "Workflow" və iş başlamaq.
  15. It should run almost immediately. Pull up the form (addım 12) və bütün plan getdi, əgər, "Audit Message" adımda təmin hər hansı dəyər verildi 10.

Qeydlər:

Not all controls may configured for this bi-directional communication. Məsələn, it does not seem to implement an SPD workflow that modifies text fields wrapped inside repeating sections.

One of the key take-away’s here is that we’ve really created a content type with an associated template. This also enables us to store multiple InfoPath form templates in the same form library.

This requires forms server. It’s most certainly not going to work in a WSS 3.0 yəqin ki, ətraf mühit və hətta Enterprise SharePoint mühit tələb edir.

Şəkil Yükləmə

E-poçt ünvanından dərc olunmayacaq. Lazım alanlar qeyd olunur *