Quantcast
Viewing all articles
Browse latest Browse all 5

Article 2

The iSocialObject function IXSLGetSocialObjectProfile will return the results you are looking for. the IXSLSerialize was not bringing back this data so we can just use this function.

To do this, we need to add the iSocialObject namespace:

xmlns:iSocialObject="urn:ThePortBusiness.IXSLSocialObjects"

be sure to include iSocialObject in the exclude-result-prefixes

Now, within your loop, you can call the function:

xsl:variable name="oSOData" select="iSocialObject:IXSLGetSocialObjectProfile(ID)"/

From the XML this returns, you can get your ratings that are listed in the above post. You just need to call them using this path:

xsl:value-of select="$oSOData/SocialObjectProfile/RatingNumPositiveOne"/

Let us know how this works out.

Thanks!

Viewing all articles
Browse latest Browse all 5

Trending Articles