Anonymous

My feedback

  1. 926 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    19 comments  ·  1. BreezeJS Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    To accelerate the development of this particular feature we are seeking user support through crowdfunding.

    Want to learn more? Send us an email at breezeadmin@ideablade.com and we’ll send you details on how you can participate.

    Thanks for helping us make BreezeJS the best open source project on the planet!

    Anonymous supported this idea  · 
  2. 338 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    11 comments  ·  1. BreezeJS Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
    Anonymous supported this idea  · 
  3. 124 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  6 comments  ·  1. BreezeJS Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
    Anonymous commented  · 

    As a workaround in the meantime, you could create global "enums" from your metadata like this:

    manager.fetchMetadata()
    .then(function (data) {

    // extract all enums als global objects
    ko.utils.arrayForEach(data.schema.enumType, function (c) {
    window[c.name] = {};
    ko.utils.arrayForEach(c.member, function (m) {
    window[c.name][m.name] = m.value;
    });
    });

    });

    So if you had an enum called "Status", you would now have a global object that you can call:

    var currentStatus = Status.Done; //returns the value as defined in the server side enum

    Anonymous supported this idea  · 
  4. 7 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  1. BreezeJS Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
    Anonymous supported this idea  · 

Feedback and Knowledge Base