I started to learning promise with loopback and jsforce, and couldn't handle this problem; I couldn't return status var inside promise to cb() function.  Basically i want to connect salesforce and get data via JSforce and write it to db via...
I want to setup an OAuth 2.0 Server using Loopback using a package called loopback-component-oauth2  The documentation is here : https://docs.strongloop.com/display/public/LB/OAuth+2.0#OAuth2.0-UsingtheOAuth2component  But it is very unclear, what mo...
I'm using Loopback from Strongloop as a REST framework and ORM. I want to use TypeScript for my business logic.  However, Loopback requires JavaScript with a specific shape to support their framework. For example:  module.exports = function(Perso...
I'm new to loopback.js. I want to use the ES6 syntax for classes.   How to achieve this using the way that the models are defined by loopback?  module.exports = function(MyModel) {   MyModel.on('dataSourceAttached', function(obj){     var...
I have tried an example from http://apidocs.strongloop.com/loopback/#model:  MyModel.on('changed', function(inst) {   console.log('model with id %s has been changed', inst.id);   // => model with id 1 has been changed });   I repla...
I have recently started with loopback framework and made a simple login functionality by creating a 'customer' model inheriting from base 'User' like this:  CUSTOMER.JSON  {     "name": "customer",     "base":...
I have the career form where i have all the details with the file attachment. now i can able to store the file. I am able to send email, but both sending email with attachment is not happening because i have two model one is for attachment and the ot...
I'm  trying to load an object on a node.js Loopback server and I want to load multiple related objects in the same query. These related objects are on different depths. This is the query:  /api/MyUsers/114?filter[include][institutes]=institute&am...
Loopback datasource API offers automigrate function with an optional callback.  I see in some examples that the callback gets one parameter (err), but no definition of that.   What form does the callback parameter have? Are there other possible param...
We have monetizable Mobile Application Idea, and will be building our first mobile Hybrid application.   I looked into few things and figured out that to achieve my end-to-end goal I would need:   Front End UI Framework : possible options: Ionic / A...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.