I am trying to use the follow expression to rank my items: orderby=[x = myattribute(int): if (x%252==0) then x else fail()]
(The %25 evaluates to '%') I get the following back: "Invalid expression: malformed expression: (x % 2); expected operand of type int, but found myattribute(int)" 'myattribute' is a custom attribute which I supply in a data feed like this 'c:myattribute:integer'. When I pull up the item for editing, it displays as type 'Number'. I wondered if it was because 'myattribute' is a custom attribute, so I also tried 'quantity' with the same results. What do I need to change? Thanks, Josh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
