ઝડપી અને સરળ: એક ઈન્ફોપાથ ફોર્મ ફક્ત વાંચવા માટે કરો (શેવાળમાં ઈન્ફોપાથ ફોર્મ સર્વિસ)

આ જેમ એક સામાન્ય બિઝનેસ પરિસ્થિતિ નથી:

  • વપરાશકર્તા ઈન્ફોપાથ ફોર્મ ભરે.
  • ફોર્મ જમા.
  • લાંબા સમયના વર્કફ્લો પ્રક્રિયા બોલ કિક.
  • વર્કફ્લો ચાલી રહ્યું છે ત્યારે, અમે કોઈને પણ આ સ્વરૂપ સમાવિષ્ટ બદલવા માંગો છો નથી.

આ 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. સમય ઉપર, વિવિધ વિકાસકર્તાઓ સાથે, there can be some divergence.

આ વૈકલ્પિક કેટલાક કિસ્સાઓમાં વધુ સારી રીતે કામ કરી શકે છે:

  • Add a new field to the form called "IsEditable".
  • સાચું તેની મૂળભૂત કિંમત સેટ કરો.
  • શેવાળ માટે પ્રકાશિત જ્યારે તે પ્રમોટ.
  • આ કાર્યમાં, false પર IsEditble ની કિંમત સુયોજિત.
  • ફોર્મ પર પાછા જાઓ.
  • Add a rule that "upon open of the form", 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, કદાચ પાનાંની ટોચ તરફ મોટા લાલ અક્ષરો.

એક પ્રોજેક્ટ, I created a "workflow status" દૃશ્ય. 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" કે દૃશ્ય ફેરવાઈ અને વપરાશકર્તા એક સરસ ઓછી સારાંશ સ્થિતિ હતી આપમેળે શાસન.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

5 પર "વિચારોઝડપી અને સરળ: એક ઈન્ફોપાથ ફોર્મ ફક્ત વાંચવા માટે કરો (શેવાળમાં ઈન્ફોપાથ ફોર્મ સર્વિસ)

  1. પીડી Galvin

    અને, you wrote "Pardon my ignorance, but when you refer to the "Save" બટન, શેરપોઈન્ટ પ્રદર્શિત જ્યારે તમે ઈન્ફોપાથ ફોર્મ ટોચ પર દેખાય છે કે બટન ઉલ્લેખ કરવામાં આવે છે, which I think is enabled in the "Open and Save Form options" ફોર્મ ડિઝાઇન ત્યારે? જો એમ હોય તો, કેવી રીતે તે નિયમ દ્વારા નિષ્ક્રિય કરી શકાય છે – હું સ્પષ્ટ છે કે કંઈક જોયું છો પરંતુ ગુમ થયેલ હોવું જ જોઈએ. આભારદર્શક શબ્દો, અને"

    મારા અનુભવ, most "real" ઉત્પાદન સ્વરૂપો ફોર્મ સાચવવા માટે વપરાય ચોક્કસ બટન કર્યા અંત. મૂળભૂત ઈન્ફોપાથ માં કાર્ય ફાઇલ નામ માટે તમને પૂછશે સેવ અને સામાન્ય રીતે અમે આપમેળે તે ફાઇલ નામ પેદા કરવા માંગો છો. તેથી, હું તમારી વૈવિધ્યપૂર્ણ submit બટન નિષ્ક્રિય કરવા માટે અર્થ. HTH,

    –પીડી Galvin

  2. કોઈ નામ

    મારા અજ્ઞાન બદલ ખેદ છે, but when you refer to the "Save" બટન, શેરપોઈન્ટ પ્રદર્શિત જ્યારે તમે ઈન્ફોપાથ ફોર્મ ટોચ પર દેખાય છે કે બટન ઉલ્લેખ કરવામાં આવે છે, which I think is enabled in the "Open and Save Form options" ફોર્મ ડિઝાઇન ત્યારે? જો એમ હોય તો, કેવી રીતે તે નિયમ દ્વારા નિષ્ક્રિય કરી શકાય છે – હું સ્પષ્ટ છે કે કંઈક જોયું છો પરંતુ ગુમ થયેલ હોવું જ જોઈએ. આભારદર્શક શબ્દો, અને

  3. સંજીવ રાજપૂત
    પોલ,
    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 – તેમના નામ પર આધાર રાખીને. તમે ઈન્ફોપાથ ફોર્મ છે કે શું કરી શકો છો જો હું માત્ર ખબર નથી?
    સાદર
    વસ્તુ
  4. પીડી 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, પછી અમે કદાચ ઘણા જોવાઈ પાછા રહ્યાં છો, 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 લખ્યું:

    તમે તમારા વર્કફ્લો બનાવ્યા તરીકે મંજૂરી / અસ્વીકાર માટે સહીઓ એકત્રિત કરવા માંગો છો જ્યાં શું દૃશ્ય બને? If you disable the save – મંજૂરી આગળ કોઈ સંપાદન – હું આ પર જોઈ રહ્યો છું, તેથી જો યોગ્ય રીતે તમે સહીઓ એકઠી કરવા માટે સંપાદનયોગ્ય ફોર્મ રજા મળી = કોઈ ઉકેલ.

એક જવાબ છોડો સંજીવ રાજપૂત જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *