Examples of using Starfish Class Functions In Javascript

Examples of using Starfish Class Functions In Javascript

This code was used to lookup a value inside of SugarCRM using the Sugar REST connector.

function scriptedField() {
	var res = "";
	res = vals["Branch Name"];
	if (res) {
		Starfish.LogMessage(res.toString());
	}
	res = SmartLookup("TA6_Branch","id","[{\"name\":\"" + res + "\"}]");
	return res;
}
    • Related Articles

    • Starfish Scripting Class Object

      From within VBScript operations (ScriptedVariable, VBScriptProcedure, ScriptedField) in additional to normal VBScript functions, the developer has access to a custom “Starfish” class. The tables below define its usage. This class may also be used ...
    • Using Starfish Scripting Class Properties & Methods in C#

      See available Starfish Scripting Class Variables, Properties and Methods. To use these variables, properties and methods, you must append "Starfish." to the beginning of variable, property or method AND you must use the exact capitalization as found ...
    • Starfish Ray

      Overview The Starfish Ray is a light-weight footprint service installed on a client machine which enables the movement of data from a system behind the firewall to other cloud-based systems. Our cloud hosted Starfish software facilitates this ...
    • Starfish Monitor

      Installation Beginning with Starfish ETL 3.8, the Starfish Monitor service is included and created when you install the Starfish Scheduler. The Monitor service's Startup Type is set to 'Manual' by default. If you wish to use this service, you should ...
    • Using Row Hashing for Incremental Integrations

      Hashing The Whole Record Typically when setting up an ongoing integration, we only want to pull data from your origin which has changed since the last time Starfish ran. This is accomplished using LastRunDate and applying it as a filter against your ...