త్వరిత మరియు సింపుల్: ఒక InfoPath ఫారం చదవడానికి మాత్రమే చేయండి (MOSS లో InfoPath పత్రాలు సేవలు)

ఈ వంటి ఒక సాధారణ వ్యాపార దృష్టాంతంలో ఉంది:

  • వాడుకరి ఒక InfoPath ఫారం నింపుతుంది.
  • సమర్పించారు.
  • దీర్ఘకాలంగా వర్క్ఫ్లో ప్రక్రియ ఆరంభిచే.
  • వర్క్ఫ్లో అమలులో ఉన్నప్పుడు, మేము ఎవరైనా రూపం యొక్క విషయం మార్చటానికి వద్దు.

ఈ 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".
  • నిజమైన దాని డిఫాల్ట్ విలువ సెట్.
  • MOSS కు ప్రచురించేటప్పుడు ప్రోత్సహించడానికి.
  • వర్క్ఫ్లో లో, తప్పుకు 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" ఆ దృశ్యం మొగ్గు మరియు వినియోగదారు ఒక nice కొద్దిగా సారాంశం స్థితిని కలిగి స్వయంచాలకంగా పాలించే.

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్.

5 "న ఆలోచనలుత్వరిత మరియు సింపుల్: ఒక InfoPath ఫారం చదవడానికి మాత్రమే చేయండి (MOSS లో InfoPath పత్రాలు సేవలు)

  1. పాల్ గాల్విన్

    మరియు, you wrote "Pardon my ignorance, but when you refer to the "Save" బటన్, SharePoint ప్రదర్శించబడుతుంది మీరు infopath రూపం పైన కనిపించే బటన్ సూచించడం ఉన్నాయి, which I think is enabled in the "Open and Save Form options" రూపం రూపకల్పన చేసేటప్పుడు? కనుక, ఎలా ఒక నియమం ద్వారా డిసేబుల్ చేయవచ్చు – నేను స్పష్టంగా ఉంటుంది ఏదో చూసారు చేసిన కానీ లేదు తప్పక. ధన్యవాదాలు, మరియు"

    నా అనుభవం లో, most "real" ఉత్పత్తి రూపాలు రూపం సేవ్ ఉపయోగిస్తారు ఒక నిర్దిష్ట బటన్ మాత్రమే ముగుస్తుంది. డిఫాల్ట్ InfoPath ఫంక్షన్ ఒక ఫైల్ పేరు కోసం మీరు అడుగుతుంది సేవ్ మరియు సాధారణంగా మేము స్వయంచాలకంగా ఫైల్ పేరు ఉత్పత్తి అనుకుంటున్నారా. ఈ విధంగా, నేను మీ కస్టమ్ submit బటన్ డిసేబుల్ అర్థం. HTH,

    –పాల్ గాల్విన్

  2. సంఖ్య పేరు

    నా అజ్ఞానం క్షమించండి, but when you refer to the "Save" బటన్, SharePoint ప్రదర్శించబడుతుంది మీరు infopath రూపం పైన కనిపించే బటన్ సూచించడం ఉన్నాయి, 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 – వారి పేరు మీద ఆధారపడి. మీరు Infopath రూపంలో చేయవచ్చు ఉంటే నేను తెలియదు?
    Regards
    వస్తువు
  4. పాల్ గాల్విన్
    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 – అనుమతించబడవు మరింత సవరణ – నేను ఈ వద్ద చూస్తున్నాను కనుక సరిగ్గా మీరు సంతకాల సేకరణ సవరించగలిగేలా రూపం వదిలి వచ్చింది = ఏ పరిష్కారం.

ఒక Reply వదిలి సంజీవ్ రాజ్పుత్ ప్రత్యుత్తరం రద్దు

మీ ఇమెయిల్ చిరునామా ప్రచురితమైన కాదు. లు గుర్తించబడతాయి *