noeticpenguin / ngForce

Force.com && Angular.js integration framework.
noeticpenguin.github.io/ngForce
MIT License
142 stars 61 forks source link

Backwards compatible enhancements to sfrAnalytics #18

Closed chasd00 closed 10 years ago

chasd00 commented 10 years ago

scoped reports API access to sfranalytics.reports and dashboard API to sfranalytics.dashboard. Implemented methods sfranalytics.reports.metadata(reportId) and sfranalytics.reports.run(reportId, options). Options object on method sfranalytics.reports.run is not required but can be used to pass reportFilters array, reportBooleanFilter logic statement, and includeDetails. Note, async report run not supported yet.

example options object

var options = { 
    includeDetails: true,
    reportBooleanFilter: "1AND2",
    reportFilters: [
            {
                "value": "DataMart",
                "operator": "notEqual",
                "column": "ACCOUNT.NAME"
            },
            {
                "value": "AdminUser",
                "operator": "notEqual",
                "column": "USERS.NAME"
            },
    ]
};
chasd00 commented 10 years ago

Any chance of getting on a contributor list? If not, no big deal it's just good for the ol'resume :)

btw, I'm on a project with Andy Ognenoff, he says you're a friend of his. Andy is pretty badass, it's a breath of fresh air to work with badasses heh

On Mon, Jun 30, 2014 at 9:07 PM, Kevin Poorman notifications@github.com wrote:

Merged #18 https://github.com/noeticpenguin/ngForce/pull/18.

— Reply to this email directly or view it on GitHub https://github.com/noeticpenguin/ngForce/pull/18#event-136789019.