What is Bower
What can be done from Bower
Web sites are made of lots of things — frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you.
# registered package
$ bower install jquery
# GitHub shorthand – download repository SOQLBuilder from user Jitendra on Git
$ bower install JitendraZaa/SOQLBuilder
# Git endpoint
$ bower install git://github.com/user/package.git
$ bower install http://somewebsiteURL.com/script.js
I have written many articles on Node.js and AngularJs. In this article, I will demonstrate how to use PostgreSQL with Node.js and deploy on Heroku. I think you already smelled that this is one of starting article which will finally merged with Salesforce to create some cool application.
To connect PostgreSQL, we need “pg” module.
PostgreSQL in Node.js
In Dreamforce 2014, I got chance to present demo of creating online IDE for Salesforce using Tooling API. I used Node.js as a language to communicate with Salesforce API on Heroku Platform.
- Simple Editor
- Editor with Ace framework
Complete source code (Github)
- Simple Editor
- Editor with Ace framework
Dont forget to share your feedback.
Below is the presentation slide I used
Node.js is used as a primary language and hosted on Heroku. If you want to directly deploy to your Heroku Account, You can use Heroku Button on this Git Repository.
We have many tools available online for Query builder, However none of them were satisfying me so though to create my own tool.
This Node.js application is used for building SOQL with following features :
- Toggle between API name and Label Name
- Search Objects or Fileds needs to build SOQL (In my case, it was primitive. I had more than 70 Objects and many of those objects has 300+ fields)
- Checkboxes to select fields (No need to hold control button to select multiple fields)
- Automatic Query Builder at Right side of page
- Shows API count used by application
- Search returned records
- Sorting on Table Headers
Note : You will need to create “Connected App” in Salesforce to allow OAuth as explained in this post.
Live Demo of application
In Below video, I have explained how to create basic Node.js application in Eclipse with help of Egit and Heroku plugin and deploy to Heroku.
Please read below two articles, to get familiar of Plugins and how to setup :
- Salesforce + Git + Eclipse + EGIT = Better and Distributed Source Control
- Creating First Application in Heroku using Eclipse
We have seen that how to create First Heroku application using Eclipse. However it is possible that after following all steps properly in above article you may receive error saying
the Eclipse SSH key is not matching the SSH key(s) that is associated with your Heroku account. To fix this error, you can: – Associate your SSH key to your Heroku account by going to “Preferences” OR – If the SSH Key is correct, restart Eclipse
Eclipse and Heroku SSH key is not matching
However, if you will login to heroku, you will find that application is already created. Error is only at Eclipse end. Continue reading
Previously we already discussed below Auto Complete components:
- Ajax Based Multiselect JQuery Autocomplete Control in ASP.Net
- AutoComplete Component in Visualforce using JQueryUI
In this article, we will be creating TypeAhead Directive (Auto Complete) again in Salesforce However this time we will use AngularJs. Why we are using AngularJS ? We discussed already in one of article.
Getting Remote Data in JSON format using AJAX from:
To get data from remote source, we are using same code “Visualforce Account_JSON” and “Controller AccountJSONCreator ” explained in this article. Only thing I have added in wrapper class is ID field.
Other than AngularJs, we are also using Bootstrap in this article to make slick UI.
TypeAhead Demo using AngularJs
Angular Directive :
Directive is great way of declaring your own component and re-use throughout page. write once and re-use every where. Our directive will look like : Continue reading
In few previous articles, I have talked about how to use “ANT Migration tool in Salesforce” and “How to Use EGit plugin in Eclipse to work with Git“. So to make this article short, I assume that you are already familiar with ANT Migration tool provided by Salesforce and Git.
During project development life cycle it is very essential to backup your code and Configurations daily. However sometimes developers forgot to commit changes in Git, may be because of workload. It may create an issue if someone wants to check back history of code for that duration, there will be no use of having code repository in place if it cant help us to get out of problem.
In this article, I will move one step further and explain how to setup automated script which will run on your System startup and commit backup of your Salesforce organization into local Git repository without any manual interference.
Salesforce Automated Script for Data Backup Using CommandLine
Previously we have seen, How to setup SAML based Single Sign On Where Salesforce will be Service Provider and some other application like AXIOM will be Identity Provider. In this article we will use one Salesforce Instance as Identity Provider and other Salesforce Instance as Service Provider.
Before starting you have to decide which salesforce Instance will act as Identity Provider and which one will act as Service Provider. To Avoid confusions, we can create app with different Logo to distinguish Identity Provider and Service Provider like I did.
Step 1 : Enable Domain in Identity Provider Organization
From Setup, click Domain Management | My Domain, enter a new subdomain name, and click Check Availability. If the name is available, click the Terms and Conditions check box, then click Register Domain. Continue reading
In this post we will discuss on creating Progress bar field without any coding, just by using formula field. Initially it seems like we can’t create dynamic progress bar field by using only formula in Salesforce. There are some approach, where developers stores 4 images with interval of 25% or 10 images with 10% interval and displaying image with help of Case or IF statement.
We will create Progress bar field, which will reflect every percentage.
Progress Bar using Formula field in Salesforce
To create perfect Progress bar field, we will need to take help of two images. Continue reading