WSS, doc libs & orodha ya, Mahesabu nguzo kuwashirikisha [Mimi]

Someone on the Internets was asking about how to create a calculated column on a list that would show a value formatted as "[Mtumiaji] – [Hali ya] – [Mahali]" as in "Paul Galvin – Kunywa [bure] Bia – The Beach".

Paul would go in and update his entry in the list and the calculated column would update appropriately. The [Mtumiaji] lazima default kwa mtumiaji kuingia / uppdatering orodha.

A calculated column cannot use "volatile" kazi kama vile [Mimi] au [Leo]. I solved it in a test environment with these steps:

  1. Create a text column named "Current User".
  2. Kuweka default thamani yake kwa [Mimi]
  3. Create a calculated column called "Calc Test".
  4. Kuweka thamani yake = [Sasa mtumiaji]

Nilikwenda katika, aliongeza bidhaa na orodha na ni kazi.

9 mawazo juu ya "WSS, doc libs & orodha ya, Mahesabu nguzo kuwashirikisha [Mimi]

  1. Richard Harbridge

    Jambo Paulo,

    Bila maana nadhani wewe tu figured nje ya njia ya kupata kote suala kubwa InfoPath / SharePoint nimekuwa kuwa.

    Kimsingi naweza kupata uwanja jina la mtumiaji ya watumiaji lakini basi hawawezi kutumia [Mimi] filters na nguvu nyingine utendaji SharePoint. Lakini kwa kutumia kitu kama hiki, ni lazima kazi karibu suala kwamba, kwa kuruhusu mimi kulinganisha nguzo Nakala mbili (moja line) badala ya watu na makundi ya safu.

    Wakati wa kutoa, ni kujaribu.

    Asante,
    Richard Harbridge

    Kujibu
  2. Christophe Humbert
    Mimi kukosa kitu? Mfano wako inaonyesha jina la mtumiaji katika wazi ("Paul Galvin"), lakini wakati mimi mtihani huu mimi kwa kweli kupata login (ambayo kwa namna fulani kushindwa lengo, as announcing that "DOMAIN\username is drinking a beer" doesn’t sound that cool…).
    Kujibu
  3. Hakuna jina
    Hujambo.
    Mimi kujaribu kutumia swala CAML dhidi ya huduma za mtandao Sharepoint ili kuchuja vitu iliyopita na [Mimi] na baadhi ya chaguzi nyingine. Je, unajua jinsi ya kufanya hivyo kwa sababu mimi sikuona chochote bado?.
    I’ve tried GetListItems with the filtering query and a view that has a filter with Modified By = [Mimi], lakini mtazamo ni kupuuzwa wakati wa kutumia swala.
    Shukrani.
    Kujibu
  4. Patrick Rote
    Nilifanya yako tirck Paulo.
    Lakini wakati i kuangalia orodha i kuona tu [Mimi] na si jina la mtumiaji yangu.
    Wakati i umba safu mahesabu i kuweka kwa [Sasa mtumiaji] kutumia formula kuongeza kifungo.
    Ni kwamba haki?
    Napenda kujua
    Shukrani
    Kujibu
  5. Paulo Galvin
    Cha kusikitisha, I don’t see any way to do that without writing an event handler. Even If change the presentation of the "Person or Group" to simple "Name" (as opposed to the more complex "Name with Presense") bado ni ilipopiga.
    –Paulo Galvin
    Kujibu
  6. Akauchomoa

    Paulo,
    Thank you for that solution. It worked great. Expanding on your solution, ingekuwa una wazo jinsi ya kuweka calc mtihani = sasa mtumiaji kama unataka mtumiaji wa sasa kuwa Watu Picker shamba kwa watu tu kuchaguliwa?

    Shukrani tena.

    Akauchomoa

    Kujibu

Kuondoka Reply

Anwani yako si kuchapishwa. Mashamba required ni alama *