Azkarra eta sinplea: Gaitu SharePoint Designer workflow InfoPath inprimaki bat eguneratzeko

Eszenatoki: I have an InfoPath form that front-ends a workflow process implemented using SharePoint Designer. At one point, a manager must approve the form. Ezin dut, ez baita historia kontatzen workflow nire kontu ikuskaritza baldintzak betetzen, Nire kontu ikuskaritza mezua gordetzeko zuzenean forma bera erabaki dut.

Orokorra:

Diseinatzeko forma du, eta gisa, argitaratzen eduki mota 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" forma bat liburutegia (edo asko, nahi izanez gero). Write a workflow that updates the field.

Berariazko Urratsak:

  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. Publish the form as a content type (NOT a document).
  5. While filling out the publishing dialogs:
    bat) Save the .xsn file to the document library (urratsa #1).
    b) Publish the "Audit Message" field and mark true: "Allow users to edit data in this field by using a datasheet or properties page".
    c) Create a new content type and give it an appropriate name.
  6. Access the forms library.
    bat) Go to its advanced settings and enable the forms library to manage content types.
    b) Select the newly created content type (5c above). It will be grouped under "Microsoft InfoPath" (or similar).
    c) Remove the default "Form" content type from the library.
    d) Mark the library to "show as web page" so that the form will launch from SharePoint and not the InfoPath workstation client.
  7. Go back to the forms library proper and click "New" besterik egiaztatzeko inprimakia hori argitaratua behar bezala eta nahi duzun bezala jardunez.
  8. Sua sortu SharePoint Designer eta gune hori inprimaki zure liburutegia antolatzen nabigatu (urratsa tik 2).
  9. Sortu forma liburutegia atxikitako berriak eu.
  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. Klik Amaitu eta itzuli inprimaki liburutegian.
  12. Create a new form and put some test value into the "Audit Message" Eremu.
  13. Gorde eta atzera inprimaki liburutegian.
  14. Eskuin-klikatu, select "Workflow" eta martxan zure workflow.
  15. It should run almost immediately. Pull up the form (urratsa tik 12) eta guztiak joan nahi izanez gero,, "Audit Message" izan bada esleitutako balioa edozein dela ere, betiere urratsean duzu 10.

Oharrak:

Not all controls may configured for this bi-directional communication. Adibidez, 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 ingurumena eta, seguruenik, baita Enterprise SharePoint ingurumena eskatzen.

Utzi iruzkin bat

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak markatu dira *