How to build a KQL that Filters content based on a NULL value

Hi,
A rather simple question. How to I configure the Content Search Webpart to return all pages where a specific column do not have a value? Or has a value?
I've bound a column to the Location Term in UPS for a content type and would like to find pages where nothing is selected in that column. Read the
http://technet.microsoft.com/en-us/library/jj683123.aspx but cant see any possibilities to do that? Have I overlooked something?
Thank you

Hi,
You cannot easily use the "search this site" scope, as it adds a u= parameter which limits results to that url only.
So, you can still create a result source which brings in items from either the catalog or the current site. Copy the settings in the catalog and add an OR statement like:
... OR path:{Site.URL}
That should include the catalog items as well as items in the current site. You would then have to rewire the search box to go to a search page which uses your new result source. If that search page is on another URL than the web itself, you have to use
a variation of the same, but you cannot use the Site.URL query variable. I'll clue you into it if that is needed.
Thanks,
Mikael
Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
http://techmikael.blogspot.com/
Author of Working with FAST Search Server 2010 for SharePoint

Similar Messages

  • How to build a form that traps all the IP adresses of the systems connected

    HELLO EVERYBODY,
    This is Paritosh Sharma,Actually I wanna know How to build a form that traps all the IP adresses of the systems connected.It's really Urgent

    6i on the web or client server? Webutil is not certified against 6i so if it's web I'm not sure, but I think it's in D2KWUtil for client-server.

  • How to Build a VI that generates a random number between 1 and 80 ....Help!!!!

    Build a VI that generates a random number between 1 and 80 
    Divides the random number by a number specified in the front panel.
    If the inputted number is zero, the VI program should turn on a LED in the front-panel to indicate a divide by zero error.
    Solved!
    Go to Solution.

    One quick question Edward, was the answer just in time for your monday morning class.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to create a dimension object in SAP BW Unv with Null value

    Hello,
    for query syncronisation task, I need a dimension object in my BW universe with NULL value. Does someone know, how to do it or if its possible?
    Regards,
    Thilo

    Hi Thilo,
    so the only common item is Material then - correct ?
    Query 1                                                                                Query 2
    Formulation (grouping of materials)                                                  (No counterpart)
    Material                                                                                Material
    dummy key figure (why?)                                                                Company Code
                                                                                    10 Keyfigure
    Is this something you regular have to do ? what about a MultiProvider ?
    did you try "merged dimensions" in the Web Intelligence Report ?
    Ingo

  • How to build a DLL that has Pascal calling conventions with application builder?

    Hi,
    I'm researching for possible solution to one of our problems.
    In one case, solution would be to build a DLL from LabView
    code. This should be simple task, but the application that
    is going to load the DLL requires that the functions in the
    library are exported using Pascal calling conventions,
    similar to the C/C++ example code below.
    DWORD APPEXPORT far APPPASCAL function(char hexr[])
    Could this be possible with LabView somehow? Or is it best just
    to write the DLL with C/C++?
    Thanks.

    Thanks Wiebe.
    I don't know whether I need pass string pointers or not. The example
    I posted was from the manual of the program that will be using the DLL
    I build with LabView. I only wanted to show with it the exported calling
    convention needed. It seems that it actually confused my question rather
    than clearing it.
    Anyway, now I know that it's possible to declare the calling convention
    when building the DLL. And it's always good to know that I might encounter
    different pointer types on the way, this may actually save me from a lot of
    debugging some day.

  • How to Build a Report that display values Current + 11 consuctive Months

    Hi Experts,
    Could you please update me on how can achieve...this
    I want to develop a forecast report  that can be analysed either by WEEKLY,MONTHLY and QUARTERLY.
    for the  current+ 11   respective time chars
    In the first screen the user selects how he want to analyze report...Weekly,Monthly or Quarterly (By checking in Radio Button)(user won't enter any date variables)
    If he selects WEEKLY then it should  provide how many Policies (count) are going to mature current week,next week.....12th from the current week
    If he selects MONTHLY  then it should  provide how many Policies (count) are going to mature current month,next month.....12th month from the current month
    Like wise Quarter
    Further able to Drill down by employee.....policy mature date...etc
    I got 0Calday,0Calmonth,0Cal year/Month ,quarter and Policy Mature Date,Employee No....etc.
    Please update me

    Hi Wondewossen
    Thanks for the update.....
    Can i develop a report which shows....monthly
    Current Month.....Current Month1....Current Month2.....Current Month+11
    and
    an option to use to drill down on this to weekly and daily
    CURRENT MONTH should be from Current day to end of current month
    Example:
    If user execute report on 01/03/2008 it shoul display policies that expire from 01/03/2008 to end of month (30 Days) in current month column
    If user execute report on 21/03/2008 it shoul display policies that expire from 21/03/2008 to end of month(9 Days)  in current month column
    I shall be greatful if any one can explain me how can i acheve this in detail steps
    Thanks

  • [Solved] How to build a module that's not in repos or AUR?

    I am trying to follow the ABS instructions to build a module. I have the source code from GitHub. However, I cannot find anything that says what to do if the module has not already been built somewhere in Arch. It is not in the abs tree and it is not in the AUR. Maybe I just don't understand the ABS instructions, but I seem to need a PKGBUILD to use it. All I have is the source code for the module.
    On Debian, I just run make, then make install. For some reason, that fails in Arch:
    gcc: error: -pg and -fomit-frame-pointer are incompatible
    The recommendations I have found to work around that error say to keep -fomit-frame-pointer and remove -pg. However, -pg is not actually in the Makefile, it is apparently coming from some default location. If I can't find it, I can't remove it.
    In case anyone knows another way to find Arch modules, the one I need is rtl8192du. It is for a USB wireless adapter dongle. https://github.com/lwfinger/rtl8192du
    Tim
    Last edited by ratcheer (2014-06-12 20:49:34)

    Trilby wrote:
    The results of `git describe` will not be sequential (nor monotonically increasing which is really the requirement).  The wiki suggests using tags, if they are present.  But as I rarely use tags myself, I usually use something like the following:
    $(git rev-list --count HEAD).$(git describe --always)
    This does provide the "describe" hash, but before that is a monotonically increasing number so new commits always show as upgrades.
    That fails for me:
    ==> Validating source files with md5sums...
    rtl8192du ... Skipped
    ==> Extracting sources...
    -> Creating working copy of rtl8192du git repo...
    Cloning into 'rtl8192du'...
    done.
    ==> Starting pkgver()...
    /scratch/rtl8192du-git/PKGBUILD: line 20: 251.e627694: command not found

  • How to build an ActionForm that have "dynamic" array as its property?

    Hi...
    In my current project i need to create an ActionForm that has a property (array, list, or something else) that can take any number of element (dynamically).
    The JSP is generated by other pageFlow (contains a dynamic rows of input), so the ActionForm must be able to take any number of input rows.
    Any suggestion how to make such ActionForm?
    I tried to create an actionform like in Struts (indexed property) but seemed not to work:
    public List objectInputs;
    public Object getObjectInput(int key)
    if (objectInputs== null)
    objectInputs= new ArrayList();
    return objectInputs.get(key);
    public void setObjectInput(int key, Object objectInput)
    if (objectInputs== null)
    objectInputs= new ArrayList();
    this.objectInputs.set(key,objectInput);
    Thx in advance :)

    Hi
    You should check
    http://dev2dev.bea.com/blog/rvimala/archive/2006/11/working_with_ar.html
    This has a sample on how to use arrays within formbean.
    Vimala-

  • Filtering measure based on a column value in rpd

    Hi,
    I created 2 measure in RPD for a fact : Channel Change SLA FACT
    1.Success Count which is count(Response_Event_DateTime) and
    2.Failure Count which is count(Failure_Reason_Key)
    and in the report I put filters for these measures in Edit formula as
    Successes : FILTER("Channel Change SLA FACT"."Success Count" USING ("Channel Change SLA FACT"."Failure Reason Key" < 1))
    Failures : FILTER("Channel Change SLA FACT"."Failure Count" USING ("Channel Change SLA FACT"."FAILURE_REASON_KEY" NOT IN (-1, 1)))
    then I calculated Success percentage as Successes/(Successes+Failures)*100
    Everything is working fine but is there a way to put those filters for Successes and Failures in RPD ? So that users can just drag and drop those measures and calculate success percentage ???
    Thanks in advance
    Siri

    Yes , you can put it in Rpd... just create 2 new more Logical Columns under "Channel Change SLA FACT" table
    1) Successes Logical Column
    2) Failures Logical Column
    For Successes , check the checkbox "Use existing logical columns as the source" then click the 3 dots ...
    Then in the expression builder.. build the above formula... ie
    FILTER("Channel Change SLA FACT"."Success Count" USING ("Channel Change SLA FACT"."Failure Reason Key" < 1))
    Same for Failures Logical Column
    Bring both the columns in the Presentation Layer and then you are done...
    Thanks
    Ashish

  • How to find the list of material variant based on the characteristics value

    Hi
    We are creating materials variants for FERT Material Type in material master in MRP-3 view .There we configure the variant by attaching characteristics value 
    Now we want to have a report , which can give the list of material variants , if char value is given in selection
    Can somebody guide me if there is standard report for this OR what is the linkage in Table , so that we can develop a report
    rgds
    Sandeep

    I couldn't find a standard report to get the material variants based on characteristic values (the nearest I could find was CT12) but I wrote a report some time back here's the table join logic for the main select statement.
    select a~matnr
            e~atwrt
            h~atwtb
    into table i_tab
          from MARC as a
          inner join IBIN as b
          on b~instance eq a~cuobj
          inner join IBIB as c
          on c~ibase eq b~ibase
          inner join IBINVALUES as d
          on d~in_recno eq b~in_recno
          inner join IBSYMBOL as e
          on e~symbol_id eq d~symbol_id
          inner join CABN as f
          on f~atinn eq e~atinn
          inner join CAWN as g
          on g~atinn eq e~atinn
          and g~atwrt eq e~atwrt
          inner join CAWNT as h
          on h~atinn eq g~atinn
          and h~atzhl eq g~atzhl
         where     a~matnr in s_matnr
                and e~atinn in s_atinn
                and e~atwrt in s_atwrt
               and b~valto eq '99991231235959'. "This is important condition
    I included bare minimum fields to suite your requirement needs you can add whatever other field you want . Though I tested the table join, I suggest you to test it again before writing your own ABAP program using SE16N.

  • How to branch 2 different pages on submit based on the item value.

    Hello Everybody,
    I am trying to branch from one page to 2 diiferent pages based on values on item value which I set in page 1 on submit.
    Create page processing (after submit) in page 35 wrote following plsql :
    begin
    CASE :p35_exempt_rad
    when 'ex' THEN
    :P38_TEST_MSG := 'yes';
    when 'nex' THEN
    :P38_TEST_MSG := 'no';
    else
    raise case_not_found;
    end case;
    end;
    Then created 2 conditional branch under page 35 as follow:
    Branch 1:
    target type: Page in this application
    page: 38
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = 'yes'
    When Button Pressed = p35_submit
    Branch 2:
    target type: Page in this application
    page: 33
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = 'no'
    When Button Pressed = p35_submit
    But on pressing submit, getting error msg: ERR-1777: Page 35 provided no page to branch to.
    Your help/ suggestion would be highly appreciated.
    Raj.

    I believe Expression 2 should not contain quotes. It should be:
    Then created 2 conditional branch under page 35 as follow:
    Branch 1:
    target type: Page in this application
    page: 38
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = yes
    When Button Pressed = p35_submit
    Branch 2:
    target type: Page in this application
    page: 33
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = no
    When Button Pressed = p35_submitRobert
    http://apexjscss.blogspot.com

  • How to build an extensible application

    I am currently looking into how to build an application that allows other developers to implement an interface (say DictionaryProvider) and provide a jar file with this implementation and have my application automatically find all classes within a specific directory (under any jar) that implement this interface, instantiate an object and perform some operation on the object. I see in java 1.6 that there is a nice way to do this but I have not seen similar examples in Java 1.5. My basic question is how do I allow users to implement an interface and then at run time find all classes that implement this interface and instantiate an object of that type?

    DrClap wrote:
    Right. Don't waste your time loading every single class in the jar, there's probably a lot of supporting classes in there. Instead do what the XML people did and use the Services API. For an example, look at how Java loads a DocumentBuilderFactory. The third bullet point there shows you how it's done in that case. You'll find that TransformerFactory has a similar process.Hmm. I think the OP wants people to be able to drop in previously unknown jars that implement some interface, and have that work without that jar creator needing to do anything else. I'd find a property file or manifest entry easy enough, but I can see his angle.
    I have heard about another way that I haven't tried, which is to use annotations and spring - but I guess that's just as complicated as writing entries to a property file. So the only plug-and-play method without the external jar producer having to do anything but implement the interface seems to be ClassLoader workarounds...

  • How to find out that a record is empty or null

    hi
    how can i find out that a record is empty or null.
    in other languages when a object or record is not initialized it will be null.
    after initialization how can i find out its values are null. so far i tried this
    declare
    v_r_emp emp%rowtype := null;
    BEGIN
         if (v_r_emp is null) then
         dbms_output.put_line('record is not initialized');
         end if;
    END;
    it seems in plsql we can assign null but cannot compare it with null clause why? if we are able of assign null we must should about to compare it with null too.
    also how record can be made empty. how can we find out that a record variable is empty
    please help me to understand the concept
    thanks

    You need to check every element in the record.

  • Binding for "File Content Repository Path" is returning null value

    I have created a data control for file based content repository based on an existing file system path. *But when this data contol is invoked the command "#{bindings['getURI_returnURI'].inputValue}" is returning null.*+
    Please advice what are possible scenarios. I have performed the following
    #1. Create a file system folder in windows XP named "C:\CPContentRepository" and add some html pages into this folder.
    #2. Create a "content" project in the application.
    #3. Create a "Content Repository Data Control" named "CPFileContentRepository". Repository Type : "File System", Base Path : "C:\CPContentRepository". Test & Registration is successful.
    #4. Add a "panel horizontal" into jsf jsp "ContentTest" page & drap-dop data control "CPFileContentRepository--> getURI(String)--> Return--> URI". select return type as "ADF Output Text".
    #5. Edit Authorization of the "ContentTest" page definition for "View --> anyone".
    #6. Edit Authorization of the "ContentTest" page definition bindings "getURI" for "Invoke --> anyone".
    #7. Run the "ContentTest" page. The output for the page is empty.
    Regards,
    Vikki

    There're two major problems in your code. One you have used different names to get your parameters like in your first jsp they're like
    <input type="text" name="did" size="20" </p>
      <p align="center"> </p>
      <p align="center"><b>Name        </b>          
      <input type="text" name="name" size="20"></p>
      <p align="center"> </p>
      <p align="center"><b>Specialist In         
      <input type="text" name="specialist" size="20"></b></p>
      <p align="center"> </p>
      <p align="center"><b>Address                
      <input type="text" name="address" size="20"></b></p>
      <p align="center"> </p>
      <p align="center"><b>Phone no.            
      <input type="text" name="phno" size="20"></b></p>
      <p align="center"> </p>but when you're getting you're doing it like this
    String name = request.getParameter("name");
         String did = request.getString("did");
         String add = request.getParameter("add");
         String specilist = request.getParameter("specilist");
         String phno = request.getParameter("phno");First get them with same name as you have them in your first jsp. another thing in that you're not used form tag in write way... You have created submit button in some other form
    and when you're pressing submit button actully you're submitting only that form value and your form1 is not submitted that's why you're getting null values for
    those parameters you're getting with right name

  • How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?

    How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub? 
    Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
    OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
    Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf>  but there's not even a search feature on the pdf file.
    Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
    However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
    (Thank you so much in advance for any help).

    <http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages. 

Maybe you are looking for