Hemm xenarju tan-negozju komuni bħal dan:
- User jimla formola InfoPath.
- Jissottometti forma.
- Proċess workflow fit-tmexxija kicks off.
- Filwaqt li l-fluss tax-xogħol qed taħdem, aħna ma tridx xi ħadd li jibdlu l-kontenut tal-formola.
Dan l-eżempju office.microsoft.com describes how to create a separate "view" and mark the whole view as read-only. This is a workable approach but has the drawback that you’ve effectively created two entire versions of the same form and must now keep them in sync manually. If you add a field to the editable view, you must then add it to the non-editable view as well. Maż-żmien, mal-iżviluppaturi differenti, there can be some divergence.
Din l-alternattiva jista 'jaħdem aħjar f'xi każijiet:
- Add a new field to the form called "IsEditable".
- Issettja valur default tagħha li veru.
- Jippromwovu meta jiġu ppubblikati l MOSS.
- Fil-fluss tax-xogħol, jiffissa l-valur tal IsEditble biex falza.
- Mur lura għall-forma.
- Add a rule that "upon open of the form", jiskonnettja buttunaIssejvja tiegħek meta IsEditable hija falza.
The drawback to this approach is that all the fields will still be editable on the screen. The user can get a false impression that they can actually change content. You can mitigate that by putting in some text that the form is disabled, possibilment b'ittri ħomor kbar madwar l-quċċata tal-paġna.
Fi proġett wieħed, I created a "workflow status" ħsieb. As the workflow progressed, it would update specific status fields that had been promoted from the form. When the user opened the form, the "open form" regola awtomatikament ma din l-opinjoni u l-utent kellu status sbieħ sommarju ftit.
</aħħar>
U, you wrote "Pardon my ignorance, but when you refer to the "Save" buttuna, huma inti jirreferu għall-buttuna li jidher fuq il-quċċata tal-formola InfoPath meta murija f Sharepoint, which I think is enabled in the "Open and Save Form options" meta jfasslu l-formola? Jekk iva, kif jista 'jkun inattivat minn regola – Stajt ħares iżda għandhom jiġu nieqsa xi ħaġa li hija evidenti. grazzi, U"
Fl-esperjenza tiegħi, most "real" forom ta 'produzzjoni jispiċċaw wara buttuna speċifiku użat biex isalva l-formola. Il-default jiffrankaw funzjoni fil InfoPath se pront inti għal isem ta 'fajl u normalment aħna tixtieq li jiġġeneraw dak l-isem fajl awtomatikament. Allura, I tfisser li jiskonnettja custom buttuna issottometti tiegħek. HTH,
–Paul Galvin
Maħfra injoranza tiegħi, but when you refer to the "Save" buttuna, huma inti jirreferu għall-buttuna li jidher fuq il-quċċata tal-formola InfoPath meta murija f Sharepoint, which I think is enabled in the "Open and Save Form options" meta jfasslu l-formola? Jekk iva, kif jista 'jkun inattivat minn regola – Stajt ħares iżda għandhom jiġu nieqsa xi ħaġa li hija evidenti. grazzi, U
X'jiġri fil-xenarju fejn inti tixtieq li jinġabru l-firem għal approvazzjoni / ċaħda bħala workflow tiegħek runs? If you disable the save – ebda editjar aktar permess – hekk jekk jien tħares lejn dan b'mod korrett inti ltqajna biex iħallu l-formola editable biex jinġabru l-firem = ebda soluzzjoni.