Արագ եւ Simple: Կատարել InfoPath Ձեւ Կարդալ Only (InfoPath ձեւերը ծառայություններ MOSS)

Կա մի ընդհանուր բիզնես սցենար նման:

  • User լցնում դուրս InfoPath ձեւը.
  • Ներկայացնում ձեւ.
  • Երկարակյաց վազում աշխատանքի արդյունքում գործընթաց է մեկնարկել.
  • Մինչ աշխատանքի արդյունքում աշխատում, մենք չենք ուզում որեւէ մեկին փոխել բովանդակությունը տեսքով.

Այս office.microsoft.com օրինակ նկարագրում է, թե ինչպես ստեղծել առանձին msgstr "Տեսաբերել" 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. Ժամանակի ընթացքում, տարբեր ծրագրավորողներ, there can be some divergence.

Այս այլընտրանք կարող է ավելի լավ աշխատենք, որոշ դեպքերում:

  • Նոր դաշտ ձեւով անվանել «IsEditable".
  • Սահմանել իր նախնական արժեքը ճշգրիտ.
  • Նպաստել այն ժամանակ, երբ հրապարակել է MOSS.
  • Այդ աշխատանքի արդյունքում, սահմանել արժեքը IsEditble են կեղծ.
  • Վերադառնալ տեսքով.
  • Ավելացնել կանոն է, որ «այդ բաց ձեւի»:, անջատել ձեր պահպանումը կոճակը, երբ IsEditable կեղծ է.

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, հնարավորինս մեծ, կարմիր տառերով ամբողջ էջի վերեւում.

Մի ծրագիր, Ես ստեղծել է աշխատանքի արդյունքում կարգավիճակ" դիտել. As the workflow progressed, it would update specific status fields that had been promoted from the form. When the user opened the form, - ին «բաց ձեւը" բացառում ավտոմատ անցել այդ տեսակետին, եւ մի գեղեցիկ փոքրիկ օգտվողին ամփոփ կարգավիճակ.

</վերջ>

Անդամագրվել իմ բլոգում.

5 thoughts on "Արագ եւ Simple: Կատարել InfoPath Ձեւ Կարդալ Only (InfoPath ձեւերը ծառայություններ MOSS)

  1. Paul Galvin

    Իսկ, you wrote "Pardon my ignorance, but when you refer to the "Save" button, are you referring to the button that appears on the top of the infopath form when displayed in Sharepoint, which I think is enabled in the "Open and Save Form options" when designing the form? Եթե ​​այդպես է, how can it be disabled by a rule – I’ve looked but must be missing something that is obvious. շնորհակալություն, Իսկ"

    Իմ փորձից, most "real" production forms end up having a specific button used to save the form. The default save function in InfoPath will prompt you for a file name and usually we want to generate that file name automatically. Այնքան, I mean to disable your custom submit button. HTH,

    –Paul Galvin

  2. No name

    Pardon my ignorance, but when you refer to the "Save" button, are you referring to the button that appears on the top of the infopath form when displayed in Sharepoint, which I think is enabled in the "Open and Save Form options" when designing the form? Եթե ​​այդպես է, how can it be disabled by a rule – I’ve looked but must be missing something that is obvious. շնորհակալություն, Իսկ

  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 out to the user – depending on their name. I just don’t know if you can do that in the Infopath form?
    Regards
    ThiNg
  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, then we’re probably back to multiple views, 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 wrote:

    What happens in the scenario where you want to collect signatures for approval/denial as your workflow runs? If you disable the save – no further editing allowed – so if I’m looking at this correctly you got to leave the form editable to collect signatures = no solution.

Թողնել Պատասխանել Sanjeev Rajput Ավելացնել կարծիք Չեղարկել պատասխանել

Ձեր էլ. Փոստի հասցեն չի հրապարակվելու. Պահանջվող դաշտերը նշված են աստղանիշով *