Quick u sempliċi: Jagħmlu Formola InfoPath Aqra biss (InfoPath Formoli Servizzi fil MOSS)

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>

Abbona għall-blog tiegħi.

5 ħsibijiet dwar "Quick u sempliċi: Jagħmlu Formola InfoPath Aqra biss (InfoPath Formoli Servizzi fil MOSS)

  1. Paul Galvin

    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

  2. Ebda isem

    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

  3. Sanjeev Rajput
    Paul,
    Can you use conditional formatting in an InfoPath form? I have a dataview form in sharepoint which is read-only using the conditional formatting to make it ‘appear’ greyed għall-utent – jiddependi fuq l-isem tagħhom. I biss ma nafx jekk inti tista 'tagħmel dan fil-forma InfoPath?
    Iqis
    Ħaġa
  4. Paul Galvin
    eugalatha,
    Good point and the approach I describe above would have to be modified. If I had to conditionally allow certain fields to be updated, allura aħna qed probabbilment lura l-opinjonijiet multipli, or a lot of conditional enable/disable logic. The fundamental idea would be the same — use flags to manage which bits of the form are enabled and have workflow set those flags as needed.
  5. erugalatha kiteb:

    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.

Ħalli Irrispondi

Your email address mhux se jkun ippubblikat. Meħtieġa oqsma huma mmarkati *