tweet transformation

sarathlal s asked on April 24, 2014 23:20

Hi, How can i write a tweet transformation for my dynamic page?

i got for content rating as,

<%@ Register Src="~/CMSAdminControls/ContentRating/RatingControl.ascx" TagName="RatingControl" TagPrefix="cms" %>

<cms:RatingControl ID="elemRating" runat="server" Enabled="true" RatingType="Stars" ExternalValue=' <%# Convert.ToString(CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatingValue"), 0)/((CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 0) == 0?1:CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 1)))) %>' />

Please help

Recent Answers

Brenden Kehren answered on April 25, 2014 07:52

Why are you using the content rating control in a tweet transformation? Typically you're tweets are going to come directly from a Twitter API call and have nothing to do with the document the webpart is placed on.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.