XLTS - How to only display specific record from XML Data

Topics: General, XSLT
Jul 6, 2011 at 5:00 PM

I am looking to filter an XML to only display a specific record according to the Querystring value (which is the record ID).  

Here is my example:

Details Page:

I create a Function Call to GetEventXML and I update my selected fields.

I also created a Function Call to get the querystring value.

 

I am able to get the all the XML Record Data to display, but how can I only show the record that has the ID that is given by the Querystring?  I have tried setting the filter without success.

 

Any help would be great!

Rob

Coordinator
Jul 6, 2011 at 5:14 PM

Hello,

Try to set filter one more time, hope it will be successfully :-)

  In Function Call GetEventXML  locate parameter Filter -> Function -> select <your Event type namespase>/FieldPredicateFilter -> Id filter -> Function -> select Composite/Utils/Predicates/GuidEquals -> The value to compare with -> Function -> Composite/Web/Request/QueryStringGiudeValue -> set Parameter name to the name of your query parameter

This should work.

Jul 6, 2011 at 5:25 PM

Thank you so much - it worked.