מאָך קפּי זשוק? רשימה ינדיקאַטאָר טייד צו דאָקומענט ביבליאָטעק מיט פאָלדערס

דערהייַנטיקן 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. איך דיסקרייבד אַז אין אַ קליין מער דעטאַל דאָ.

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 (ניצן אַ טעכניק ענלעך צו וואָס איך געשריבן וועגן דאָ). 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" אָבער אַנשטאָט מאַכן די דאָקס לאָוקאַלי און דעמאָלט צופֿעליקער זיי).

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".

דאס איז יוזשאַוואַלי פּשוט צו טאָן און איך דיסקרייבד עפּעס זייער פיל ווי דאָס בייַ די שאַרעפּאָינט בעאַגלע מיט גורל פון פאַרשטעלן שאַץ אויב איר ניטאָ אינטערעסירט.

אין אַ נאַטשעל, איך האט די פאלגענדע:

  • Create a view on the doc library called "Pending".
  • קאַנפיגיער די מיינונג צו איגנאָרירן טעקע סטרוקטור.
  • שאַפֿן אַ קפּי רשימה.
  • Create an indicator in the list that points to the doc lib and that "Pending" מיינונג.

This simply does not work. The KPI shows my target (e.g. פינף דרינגלעך דאָקומענטן) but always shows the actual number of urgent documents as zero. Paradoxically, אויב איר בויער אַראָפּ צו די פרטים, 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:

בילד

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".

עס אויס צו מיר אַז אַפֿילו כאָטש איר ספּעציפיצירן אַ מיינונג, the KPI doesn’t honor the "show all items without folders" באַשטעטיקן און אַנשטאָט, קאַנפיינז זיך צו דער וואָרצל טעקע.

אויב איך בין אומרעכט, ביטע פאַלן מיר אַ שורה אָדער לאָזן אַ באַמערקונג.

</עק>

אַבאָנירן צו מיין בלאָג!

טעטשנאָראַטי טאַגס:

איינער געדאַנק אויף "מאָך קפּי זשוק? רשימה ינדיקאַטאָר טייד צו דאָקומענט ביבליאָטעק מיט פאָלדערס

  1. יוחנן ראָסס
    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" אָבער גאַנץ 1 אָדער 0. Check the value of the item in the object model to confirm. I know with the Advanced Search 1 און 0 works but not yes or no. See if that works, אויב עס טוט נישט איר קען שטענדיק מאַכן אַ ברירה פעלד מיט די וואַלועס יא און ניין.
    -יוחנן

לאָזן אַ ענטפֿערן

אייער בליצפּאָסט אַדרעס וועט ניט זיין ארויס. Required fields are marked *