MOSS TFB bug? Táscaire liosta Ceangailte le Leabharlann Doiciméad Le Fillteáin

Suas chun dáta 02/29/08: I solved this problem by creating a folder and then assigning a content type to the folder which has the meta data I need for the KPIs. Cur síos mé go bhealach níos mine beag anseo.

We have implemented a technical solution where users upload documents to a document library. An event receiver creates a directory and moves the file to that directory (ag baint úsáide as teicníc cosúil leis an méid a scríobh mé faoi anseo). We’ve successfully navigated around the potential issues caused by event receivers that rename uploaded files (mainly because users never start their document by clicking on "New" ach ina ionad sin a chruthú ar an docs go háitiúil agus ansin iad a uaslódáil).

The meta data for these documents includes a Yes/No site column called "Urgent" and another site column called "Status". We need to meet a business requirement that shows the percentage of "Urgent" documents whose status is "Pending".

Tá sé seo de ghnáth simplí a dhéanamh agus mé cur síos ar rud éigin go mór mar seo ag an Beagle SharePoint le go leor de shots scáileán má tá suim agat.

In a nutshell, Rinne mé an méid seo a leanas:

  • Create a view on the doc library called "Pending".
  • Cumraigh an dearcadh neamhaird a struchtúr fillteán.
  • Cruthaigh Liosta PTF.
  • Create an indicator in the list that points to the doc lib and that "Pending" féachaint ar.

This simply does not work. The KPI shows my target (e.g. Cúig cinn de dhoiciméid práinneach) but always shows the actual number of urgent documents as zero. Paradoxically, if you drill down to the details, it shows the five urgent documents in the list. I created a very simple scenario with two documents, one in a folder and one not. Here is the screen shot:

íomhá

The above screen shot clearly shows there are two documents in the view but the "value" is one. The "CamlSchema" with blank document Id is in the root folder and the other is in a folder named "84".

It appears to me that even though you specify a view, the KPI doesn’t honor the "show all items without folders" setting and instead, confines itself to the root folder.

If I’m wrong, please drop me a line or leave a comment.

</deireadh>

Liostáil le mo bhlag!

Clibeanna Technorati:

Shíl amháin ar "MOSS TFB bug? Táscaire liosta Ceangailte le Leabharlann Doiciméad Le Fillteáin

  1. John Ross
    I’ve seen before in other situations where you are trying to compare the value of Yes/No fields that the value isn’t "yes" or "no" ach 1 nó 0. Check the value of the item in the object model to confirm. I know with the Advanced Search 1 agus 0 works but not yes or no. See if that works, más rud é nach ndéanann sé d'fhéadfaí tú a chruthú i gcónaí réimse Rogha na luachanna Sea agus Uimh.
    -John
    Freagra

Leave a Reply

Ní thabharfar do sheoladh r-phoist a fhoilsiú. Réimsí riachtanacha atá marcáilte *