Azkarra eta sinplea: Egin InfoPath formularioa bat irakurri bakarrik (InfoPath Inprimakiak MOSS Zerbitzuak)

Ez dago honelako enpresa komun eszenatokia da:

  • Erabiltzaile betetzen out InfoPath inprimakia.
  • Aurkezten inprimakia.
  • Long-entzierroa workflow-prozesua hasten.
  • Eu exekutatzen ari den bitartean, ez dugu nahi inor inprimaki edukia aldatzeko.

Office.microsoft.com adibide honetan 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. Denborarekin, garatzaileei ezberdinekin, there can be some divergence.

Aukera hau hobeto agian kasu batzuetan:

  • Add a new field to the form called "IsEditable".
  • Ezarri bere balio lehenetsia Egia.
  • Susta ezazu noiz MOSS argitaratzeko.
  • Eu en, ezarri IsEditble balioa faltsua.
  • Itzuli inprimakia.
  • Add a rule that "upon open of the form", ezgaitu zure Gorde botoia denean IsEditable faltsua.

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, seguru asko, orrialdearen goiko zehar gorri handi letra.

Ko proiektuan, I created a "workflow status" ikusteko. 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" araua automatikoki ikuspegi hori aldatu da, eta erabiltzaileak a nice little laburpen egoera izan.

</amaiera>

Nire blog Harpidetu.

5 buruzko gogoeta "Azkarra eta sinplea: Egin InfoPath formularioa bat irakurri bakarrik (InfoPath Inprimakiak MOSS Zerbitzuak)

  1. Paul Galvin

    Dan, you wrote "Pardon my ignorance, but when you refer to the "Save" botoia, ari denean Sharepoint bistaratuko botoi hori inprimaki infopath goialdean agertzen duzun aipatuz, which I think is enabled in the "Open and Save Form options" denean, forma diseinatzen? Hala bada, nola egin dezaket arau batek ezgaituta – Begiratu dut, baina falta behar den zerbait da, begi-bistakoa. esker, Dan"

    Nire esperientzia, most "real" ekoizpen forma azkenean erabilitako forma gorde botoia zehatz bat izatea. Lehenetsia gorde InfoPath funtzioa eskatuko dizu fitxategi-izen bat, eta, normalean, fitxategi-izen hori sortzeko automatikoki nahi dugu. Beraz,, Zure submit botoia desgaitu nahi dut. HTH,

    –Paul Galvin

    Erantzun
  2. Izenik ez

    Barkatu nire ezjakintasuna, but when you refer to the "Save" botoia, ari denean Sharepoint bistaratuko botoi hori inprimaki infopath goialdean agertzen duzun aipatuz, which I think is enabled in the "Open and Save Form options" denean, forma diseinatzen? Hala bada, nola egin dezaket arau batek ezgaituta – Begiratu dut, baina falta behar den zerbait da, begi-bistakoa. esker, Dan

    Erantzun
  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’ lausotu egiten dira, erabiltzailearen – bere izenaren arabera. Ez dut ezagutzen ez duzun egin bada Infopath inprimakia?
    Ondo izan
    Gauza
    Erantzun
  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, ondoren, seguruenik ari gara hainbat aldiz atzera, 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.
    Erantzun
  5. erugalatha idatzi zuen:

    Zer eszenatoki batean gertatzen da, non sinadurak biltzeko onartzeko / ukatzeko zure workflow gisa exekutatzen nahi duzu? If you disable the save – onartzen edizio gehiagorik ez – hala bada honetan nabil inprimakia behar bezala utzi da editatu sinadurak biltzeko you got = ez da konponbiderik.

    Erantzun

Utzi iruzkin bat Sanjeev Rajput Utzi erantzuna

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak markatu dira *