Cás: I have an InfoPath form that front-ends a workflow process implemented using SharePoint Designer. At one point, a manager must approve the form. Ós rud é nach féidir liom brath ar stair sreabhadh oibre chun freastal ar mo riachtanais iniúchóireachta, Cinneadh a dhéanamh liom a stóráil mo theachtaireacht féin a iniúchadh go díreach ar an bhfoirm féin.
Forbhreathnú:
Dearadh an fhoirm agus é mar fhoilsiú cineál ábhar 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" le leabharlann foirmeacha (nó go leor, más mian leat). Write a workflow that updates the field.
Céimeanna Sonracha:
- Create a document library. This will hold your InfoPath template.
- Create a forms library.
- Create the InfoPath form. Include a text field, "Audit Message".
- Foilsigh an fhoirm mar cineál inneachair (NACH doiciméad).
- Cé líonadh amach na dialóga fhoilsiú:
a) Sábháil an comhad. Xsn go dtí an leabharlann doiciméad (céim #1).
b) Publish the "Audit Message" réimse agus marc fíor: "Allow users to edit data in this field by using a datasheet or properties page".
c) Cruthaigh cineál ábhar nua agus a thabhairt dó ainm cuí. - Rochtain ar an leabharlann foirmeacha.
a) Téigh go dtí ar a suímh chun cinn agus a chur ar chumas an leabharlann foirmeacha a bhainistiú cineálacha ábhar.
b) Roghnaigh an cineál inneachair nuachruthaithe (5c thuas). It will be grouped under "Microsoft InfoPath" (nó a leithéid).
c) Remove the default "Form" cineál inneachair ón leabharlann.
d) Mark the library to "show as web page" ionas go mbeidh an fhoirm a sheoladh ó SharePoint agus nach bhfuil an cliant stáisiún oibre InfoPath. - Go back to the forms library proper and click "New" chun a fhíorú go simplí go bhfuil an fhoirm sa phost i gceart agus ag feidhmiú mar is mian leat.
- Dóiteáin suas SharePoint Dearthóir agus nascleanúint a dhéanamh leis an suíomh go ina hóstach ar do leabharlann fhoirm (ó chéim 2).
- Cruthaigh sreabhadh oibre nua a ghabhann leis an leabharlann foirmeacha.
- 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.
- Cliceáil Críochnaigh agus dul ar ais go dtí an leabharlann bhfoirm.
- Create a new form and put some test value into the "Audit Message" réimse.
- Sábháil agus dul ar ais go dtí an leabharlann bhfoirm.
- Right-click, select "Workflow" agus tús a chur suas do sreabhadh oibre.
- It should run almost immediately. Pull up the form (ó chéim 12) agus má tá go léir imithe chun pleanáil, "Audit Message" Tá sannta cibé luach a sholáthraíonn tú i chéim 10.
Nótaí:
Not all controls may configured for this bi-directional communication. Mar shampla, 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 timpeallacht agus is dócha éilíonn fiú timpeallacht SharePoint Fiontraíochta.