The Rating control allows displaying a numeric variable with a "star control". It is useful when creating polls or when you want the user to rate items.

The control is supported for SD and Web applications (using the Web Abstract Editor).

Let's start by setting:

RatingDomainCreationAndSettings salto

Next, create a Transaction object and, at least, one attribute of "Rating" type. Apply the work with for smart devices pattern (see Applying Work With Pattern). In this example, we are going to use the following transaction:

RatingTRNDefinition

Add the attribute to the [20429], so you can see the rating of a certain song in that section:

RatingListDefinition

Press F5 and see the results.

iOS

RatingExampleiOS1

RatingExampleiOS2

RatingExampleiOS3

Android

RatingExampleAndroid1

RatingExampleAndroid2

RatingExampleAndroid3

Web

 

Note: in the example images, some theme settings have been changed to enhance how the Song name is displayed.

Videos

Start Video Work With for Smart Devices – General Aspects and List layout
Start Video WorkWith for Smart Devices – Detail Layout