Category Archives: Question

Django checkbutton for todo

I’m pretty new to Django, so please make it newbie friendly :D. Its about a simple todo-list. I want every item to have three Buttons for deleting, editing or in this case checking. In the following code I wanna create a check-button which sets a boolean value to True. But instand of doing anything the… Read More »

How to hit third party API form node server.

IndiaSMS is a thirdparty providing sms service I want to hit this api form node server. Any way to request to third party api. Please help.. var express = require(‘express’); var router = express.Router(); exports.sendOTP = function (userInfo, callback) { console.log(userInfo); console.log(‘Inside SendOTP usin indaSMS’); var indiasmsURL = ‘’ + userInfo.mobilenumber + ‘&message=Your%20OTP%20for%203DClubHouse%20is%20’ + userInfo.otp… Read More »

Query to retrieve manager before employee

We have list of resources with their managers (not the complete hierarchy). We now need to retrieve the resource list such that resource’s manager row should always appear before the resource row. I already tried hierarchical query, however given the data set, I’m not absolutely sure, if it’s working correctly or not. Any pointers or… Read More »

I select list of emails as string and want to save them as json or javascript object in mogodb

I select multiple users emails and get something like that: “participants” : “,,”, But want to save them as a javascript or json object or array to later I can track each email. I want something like that: “participants” : “{ {}, {} } I need to track all these emails separately and do something… Read More »

Cannot read property ‘toString’ of null — Typescript

I create in a component (active.ts) a function that activate a product. In active.html i create a slide-toggle form. This component I want to used in anther component to see and used from that. export class Product { product_id: string; active: number; public gup(token: string, id?: number): string { let usp = new URLSearchParams(); usp.append(‘active’,… Read More »