Onespena Taldeak kudeatzeko FBA ingurunean InfoPath batera

Gastu bat onartzeko prozesuan behar dut ezartzea InfoPath erabiliz oinarritutako autentifikazioa forma bat daukat (FBA) ingurumena forma zerbitzuak erabiliz (web oinarritutako InfoPath).

Badira bi talde eta onesteko prozesua horrela egiten du lan:

  • Erabiltzaile betetzen out gastu eta txosten bat aurkeztuko da, onar dezaten.
  • That triggers an email to first level approver group.
  • First level approver reviews and approves or denies the report.
  • If first level person approves it, system notifies second level approver.

On the InfoPath side of things, I have different sections that hide/appear based on whether the user is a member of one of those approval groups.

In an FBA environment the username() function always returns blank, zoritxarrez. What I’ve done is set up a a custom list called “Approval Groups”.

I don’t add any additional columns to the list.

When the form opens up, it has a rule like this:

image

The “set a field’s value” is here:

image

This is basically saying: Kontsultatu onartu talde zerrenda pertsonalizatu eta kontsulta hori iragazi errenkadan edozein non Izenburua balioa = "NORDIC" bila.

Duten balioa itzultzen bada, then the current user is a member of that group. I know it contains that value because the string length is greater than zero.

Close the loop by securing the individual items in the Approval Group list. At run-time, uneko erabiltzaileak ez badu, dagokion segurtasun-elementu hori eskuratu ondoren, kontsulta egingo ez itzultzeko, string-length will be zero and now you know the current user is not part of that group. You can use that fact as needed in the form.

This is a super brief write-up. I’m pressed for time or I’d provide more detail.

I don’t know how relevant it is that I’m in an FBA environment. This would probably work well in a non-FBA environment but I can imagine cases where this would be useful.

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags: ,

Pentsatu zen "Onespena Taldeak kudeatzeko FBA ingurunean InfoPath batera

  1. Juan Morató Moscardó

    Hi Paul,
    I have a similar problem and I will be very glad if you can explain how you created the "Approval Control" data connection in an FBA environment, because as far as I know InfoPath does not support creation of data connections to lists in sites using FBA authentication.

    Erantzun

Utzi iruzkin bat

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