cancel
Showing results for 
Search instead for 
Did you mean: 

Plant Information Catalog Web Service - Search by Property Value

Former Member
0 Kudos

Hello ..

I am trying to use Catalog Administration/Maintenance and Browse Plant Information Catalog WSDLs to obtain the catalog details for a given property value.

While i pass the property name, i get the result set which consists of the given property name. Example: When the property name is assigned in the webservice action block, it works. Web_Service_0.SearchTagsRequest{/ns1:SearchTagsRequest/filter/propertyNames} assign "Location" (Location is one of the property names). However, if I want to get the objects with a particular Location, the assignment didnt work. This doesnt work "Location=NY".

From MII help page // You can search for Property Name based on property value using the syntax Property Name=<Property Value>. You can also use wild cards to search in the fields Property Name and Property Value.//


Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for the reply Neha .. I am searching for a filter with Property Value. Yes properyNames is working fine for me as well, when I pass only the name of the property, not the value as defined in the help.

Former Member
0 Kudos

Hi Ajay ,

Did you check if you are searching for a value for with PropertyNames or it should be PropertySetNames?

Example if in Property Set tab ,you have created new Property Set - Location and to that you add a propert- NewYork then you should be searching with :

Web_Service_0.SearchTagsRequest{/ns1:SearchTagsRequest/filter/propertySetNames}

Assign this value - Location

Now if you want to search all tags with property - NewYork the filter would be

Web_Service_0.SearchTagsRequest{/ns1:SearchTagsRequest/filter/propertyNames}

Assign this then the value "NewYork"

This is working absolutely fine for me .

Thanks,

Neha

Former Member
0 Kudos

Appreciate your thoughts Abhijeet.

Since the number of PICs are high and the frequency of the calls are high as well, would like to use the property value filter as defined in the help. I am missing on how to pass the property value as an input to the webservice call.

Now on MII 15.1 SP3 Patch 0.

abhinaste
Explorer
0 Kudos

As a workaround you can get the data first by passing the Property Name as LOCATION in

Web_Service_0.SearchTagsRequest{/ns1:SearchTagsRequest/filter/propertyname}

and then applying the xPath on the webservice response to get your desired output.

Web_Service_0.SearchTagsResponse{/ns1:SearchTagsResponse/tag/propertySets/properties[value="NY"]/name}

Regards,

Abhijeet