SOAP AdvancedSearch include all?


(Nic Hubbard) #1

I am trying to get the SOAP AdvancedSearch function working. I don't really want to narrow down my search that much, I want all assets, all status, and to search everything for an asset, just like the Include All option in a search page.


Is it possible to do this?


(Benjamin Pearson) #2

Unfortunately no, sorry Nic :frowning:


(Nic Hubbard) #3

[quote]
Unfortunately no, sorry Nic :frowning:

[/quote]



Ok, then could you help explain a bit more about search fields? E.g.


    
        search_term
        OR
         
          Metadata
          
            150 
          
        
        
          Attribute
          
            page_standard
            884 
          
         
        
          Standard
          
            name
          
        
      


What does the following mean?

    Standard
          
            name
          


Is this a standard search? The manuals don't explain this super well.

(Benjamin Pearson) #4

[quote]
Ok, then could you help explain a bit more about search fields? E.g.


    
        search_term
        OR
         
          Metadata
          
            150 
          
        
        
          Attribute
          
            page_standard
            884 
          
         
        
          Standard
          
            name
          
        
      


What does the following mean?

    Standard
          
            name
          


Is this a standard search? The manuals don't explain this super well.
[/quote]

These are the other options (beside include_all) in the search page you see. <FieldType> can Metadata, Standard and Attribute. And...

  • "Standard" takes only FieldName eg "name" to search by asset name etc.
    [*]"Attribute" takes AssetType and AttributeID (hopefully obvious)
    [*]"Metadata" takes only MetadataFieldId (again hopefully obvious)


I think you can find more detail here. But you would have to dig through code in search manager for the other Standard codes.

Hope that helps!

(Nic Hubbard) #5

[quote]
I think you can find more detail here. But you would have to dig through code in search manager for the other Standard codes.



Hope that helps!

[/quote]



Thanks, this clears it up a bit. :slight_smile:


(Ashish Karelia) #6

Just for anyone who might stumble upon this forum topic while looking for an answer, this issue was filed as #5607 Minor Enhancement : SOAP AdvancedSearch function should allow “include all”.


Ash