Follow

Using nconf to configure a Node.js application

Posted on August 18, 2017 by in Node.Js

Introduction

Sometimes things vary from environment to environment. Like, how we wear a tie to the office, but would try not to elsewhere, save for a few occasions. Similarly, in Node.js, you might want configuration settings to change in each environment. Some of these settings include IP address, port number, database configurations etc., that change from the development to production environment. The recommended approach for changing your app’s environment is by using the NODE_ENV environment variable.

Currently, Node.js does not have a standard way of managing config variables, but luckily there are a number of node modules that will help you to standardize this. One among them is the nconf package. Nconf provides a hierarchical Node.js configuration with files, command-line arguments, and environment variables.

Server-based integration setup - SharePoint Online and CRM OnPremise

Posted on August 3, 2017 by in CRM Solutions, SharePoint

Introduction

Server-based authentication process can be done by following the steps from below URL.

Reference URLhttps://technet.microsoft.com/en-us/library/mt171421.aspx

Pre-step – 1: Verify prerequisites before starting the process.
Pre-step – 2: Two softwares are to be installed before starting the configuration.

  1. Online services Sign-in
  2. Azure Active Directory Module PowerShell

The whole process including software installation has to be done in server where CRM is installed and with the user and Deployment administrator rights.

Location updates and path tracking in Android

Posted on July 18, 2017 by in Mobile Technologies

Introduction

In this era of rapidly changing technology, mobile devices have made their way into all spheres of an individual’s life. Their role in daily life has been increasing tremendously and they are being used for much more than the basic purpose of communication. Android has emerged into the mobile world with an intention to develop a mobile platform OS. It has a tremendous potential in developing smart phones which are aware of its owner’s location and preferences.

Knowing the user’s location is one of the most prominent feature that we have in Android. It can be used to track the path that user went through or to find the current location of a person to identify where he/she is.
Android has provided two API’s from which we can get the location of the device. In this blog, we are going to shed some light on the location API’s usage, working of location awareness in Android and how it will be useful in the real-time world.

Implementing routing in a SPA using AngularUI Router

Posted on July 6, 2017 by in AngularJS

Introduction

In this blog, we’ll give you a rundown of how we’ve implemented routing in our single page project management tool – PineStem.

Routing is a process of navigating the user to the desired location based on the action they perform.
Maintaining the user’s navigation history is a major challenge while developing a single page application(SPA).
To overcome this problem, we implemented a simple stack based solution which only involves pushing and popping an object with required properties.

Demo

You can find the sample code and a demonstration in the Plunker here – https://plnkr.co/OnBe1bc9Q7h1tYBK1pSY?p=info

User Authentication and Authorization - Part ll

Posted on June 16, 2017 by in Node.Js

Introduction

Authentication is used by the server when it needs to know the identity of someone who is accessing their information.
Authorization is a process by which the server determines if the client has permission to use a resource or
access a file. In general, authentication answers the question“Who are you?” and authorization answers  “What are you allowed to do?”.

In an earlier blog, we have discussed about Token based authentication and authorization and how it is being implemented in one of our projects. Over these past few months, we’ve made changes to our approach.
Read on to find out what enhancements we have made and why.

Tips to sail through App Store review process

Posted on June 9, 2017 by in iOS

Introduction

We all might have gone through a situation at some point in Apple’s review process, where our app consistently gets rejected. You would have also thought that it is difficult to get approval for new apps. But it is very simple to get the approval if we abide by the review guidelines.

We have been in your shoes with the review process. With the experience we’ve gained over time on Apple’s review process, we’ve cracked the key to get an app reviewed and approved for listing in the Apple App Store. Compiled are the list of things you can do to reduce the review time, which have helped us immensely for the successful approval of our apps in a single go.

Field Security behaviour in calculated fields

Posted on May 29, 2017 by in CRM Solutions

Introduction

Field level security in Microsoft Dynamics 365/CRM restricts access to the fields containing sensitive business data which are only accessible by authorized users.
It also serves as a means of adding an extra security around the field i.e Create, Update and Read value.

Designing a notification system

Posted on April 26, 2017 by in Node.Js, SQL

It has become common for any social mobile or web app to support notifications and track user activities within that application.

noti

Dynamics Dev Helpmate

Posted on April 25, 2017 by in CRM Solutions

INTRODUCTION

Dynamics Dev Helpmate – was developed as a bookmarklet for Microsoft Dynamics 365 developers. The idea behind this is to minimize the efforts and time in accomplishing the tasks related to customizations & navigations. This tool supports MS CRM 2013 and above versions.

FEATURES OF DYNAMICS DEV HELPMATE

Helpmate_01

Dynamics 365: Trigger action using JS

Posted on April 20, 2017 by in CRM Solutions

Trigger action using JS

In many cases we may encounter a requirement where we are required to perform server side logic utilizing client side events (onchange, onsave, onload…etc) in MS CRM. We generally prefer to use actions for dealing with these kinds of operations.

So in this blog, we’ll take a detailed look at how to trigger an action and retrieve the action output parameters using script with a simple example.

Example

Let us create a simple action which will trigger on save of the account and create a primary contact.