Yes/No (angalia sanduku) kuchuja katika Sehemu ya Content Query Mtandao

To filter for a query for the Yes/No check box entitled "PG Milestone", configure CQWP kama hii:

picha

Hii ni mwingine mmoja wa wale dhahiri-mara moja-wewe-know-it lakini maswali ngumu-kwa-kupata-jibu-kwa: Jinsi ya kuchuja juu ya sanduku Ndiyo / Hapana hundi kutumia hoja maudhui ya mtandao sehemu.

kwanza tafuta matokeo I find using the search term "filter yes/no content query web part" ni nje gorofa vibaya, hivyo nimeona d kuweka hii up huko na kuona kama anaweza kuchukua nafasi ya matokeo yasiyo sahihi katika matokeo ya kawaida tafuta.

Ni rahisi kabisa: True values = "1" and false values do not equal "1" (pretty retro, kweli).

Katika mfano wa hapo juu, I created site column of type "Yes/No (checkbox)" named "PG Milestone". I added it to a doc library, uploaded nyaraka chache, kuweka thamani kwa wanandoa na majaribio yake.

<mwisho />

6 mawazo juu ya "Yes/No (angalia sanduku) kuchuja katika Sehemu ya Content Query Mtandao

  1. Collin

    Nina swali… Nina orodha rahisi na meza moja. Kimsingi ni lina tu Shamba la, Email Shamba na kisha kadhaa Ndiyo / Hapana Fields Check. I want to generate a query which list each email record of each which is checked "Yes". Nina qyery ambayo kila Ndiyo / Hapana shamba juu yake. Na hii formula: [Fomu]![FOMU NA masanduku CHECK].[Ndiyo / Hapana JINA FIELD].. SO inaelekeza katika fomu ambapo naweza kuangalia masanduku nyingi na kisha fomu ina kifungo kuendesha swala… It works fine except the relationship is an "AND" uhusiano ambapo kama rekodi email ina Angalia a 1 & Angalia a 2 checked, Nina kuchuja hasa kama kwamba. Nataka nini ni kama Check a 1 & Angalia a 2 ni checked na kupata matokeo ambayo ni pamoja na kumbukumbu hizo pamoja na kumbukumbu tu ambapo Angalia a 1 ni checked na rekodi ambapo Angalia a 2 ni checked… Mawazo yoyote?

    Kujibu
  2. Alan Li aliandika:
    Hi, Makala hii ni muhimu sana kwa ajili yangu.
    Can I ask how do you set up the CQWP file for filtering on Yes/No check box (Sema ImportantNotices)? Ni kwamba haki chini ya?
    <property name="FilterField2" type="string">ImportantNotices</mali>
    <property name="FilterValue2" type="string">Ndiyo</mali>

    <property name="FilterOperator2" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart FilterFieldQueryOperator, Microsoft.SharePoint.Publishing, Toleo = 12.0.0.0, Utamaduni = neutral, PublicKeyToken=71e9bce111e9429c">Eq</mali>
    <property name="FilterType2" type="string">Nakala</mali>

    Shukrani sana kwa msaada wako.

    Kujibu

Kuondoka Reply

Anwani yako si kuchapishwa. Mashamba required ni alama *