Browsed by
Category: Netsuite Tips

Convert Salesforce Ids from 15 to 18 characters using Javascript

Convert Salesforce Ids from 15 to 18 characters using Javascript

I figured this will be useful for anybody working with Salesforce. I used this within Netsuite and worked beautifully. Here’s the code:

 

Free Automatic Translation Within Netsuite using Yandex Translate API

Free Automatic Translation Within Netsuite using Yandex Translate API

In this challenge I decided to integrate Netsuite with Yandex Translate REST API for the following reasons: Free version includes: Up to 10 million characters a month (or 322,580 characters per day spread evenly in 31 days) Up to 1 million characters in 24 hours (would last 10 days only as max is 10 million per month) Translation quality is decent. Great for small translation projects. Let’s say we want to translate a FreeText field, that has a max of…

Read More Read More

Live Chat Using Netsuite as Backend

Live Chat Using Netsuite as Backend

This time I decided to practice my skills by creating a simple live chat messaging system with Netsuite as backend and Bootstrap/jQuery as frontend. I only used one custom record with 3 fields. Two fields (Timestamp and User) were set to default to current user/current datetime. So really the only field I had to write to was the message text. The messages are sent via POST. I am using the jStorage jQuery library as a local DB to cache the messages….

Read More Read More