1

I'm new to Upshot and can't find a documentation/group for Upshot so I'm posting it in here. I want to have calculated property in my model, is it supported and how can I implement that? For example:

 upshot.metadata({
        "Cocktail:#Cocktail.Models": {
            "key": ["Id"],
            "fields": {
                "Id": { "type": "Int32:#System" },
                "Image": { "type": "String:#System" },

                "HtmlId": { "type": "String:#System"},

                 // Calculated Property
                "DetailUrl": { "type": "String:#System", "value": function(){return 'cocktail' + this.Id;} },
            }
        }
    });
Ting
  • 1,658
  • 16
  • 26
Nhím Hổ Báo
  • 572
  • 5
  • 20
  • fyi, since you're new to Upshot you may want to check this [Current status of Upshot.js](http://stackoverflow.com/questions/12238855/current-status-of-upshot-js) – MikeM Feb 20 '13 at 20:50

0 Answers0