Tutorial by Examples: a

Clone the repository Place a copy of your Sitecore.Kernel.dll assembly in /lib/sitecore/v7 (for v7/v8) Build the project for your Sitecore version using Visual Studio 2012 or later Copy Unicorn.dll, Rainbow.dll, Rainbow.Storage.Sc.dll, Rainbow.Storage.Yaml.dll and Kamsar.WebConsole.dll to your ...
There are two components to the Unicorn data provider: the database-specific implementation, and the Unicorn implementation. The Unicorn implementation is an individual configuration of Unicorn dependencies that get automatic serialization. For example, if you were serializing two presets you'd nee...
General Description A formula in Acumatica is a DAC field that is calculated based on the values of other object fields. To calculate a formula, Aсumatiсa framework provides a set of various operations and functions (such as arithmetical, logical, and comparison operations and string processing fu...
Introduction The PXSelectorAttribute attribute (also referred to as the selector), while vital and frequently used, has however two major drawbacks: It gives an uninformative message "<object_name> cannot be found in the system" if no items are found to satisfy the selector condi...
An anonymous function can be defined without a name through a Lambda Expression. For defining these type of functions, the keyword lambda is used instead of the keyword defun. The following lines are all equivalent and define anonymous functions which output the sum of two numbers: (lambda (x y) (...
When your device connects to a network, an intent is sent. Many apps don’t check for these intents, but to make your application work properly, you can listen to network change intents that will tell you when communication is possible. To check for network connectivity you can, for example, use the ...
# Print the working directory import os print os.getcwd() # C:\Python27\Scripts # Set the working directory os.chdir('C:/Users/general1/Documents/simple Python files') print os.getcwd() # C:\Users\general1\Documents\simple Python files # load pandas import pandas as pd # read a csv d...
DEFINE QUERY q1 FOR Customer. OPEN QUERY q1 FOR EACH Customer. GET FIRST q1. loop: REPEAT: IF AVAILABLE Customer THEN DO: DISPLAY Customer.NAME CustNum WITH FRAME frClient TITLE "Client data". DISPLAY "(P)revious" SKIP ...
Detailed instructions on getting xcode-ui-testing set up or installed.
A function can be forward declared, this is similar to specifications in a C header file. That way the compiler knows that a function will be made available later on. Without forward declarations the function MUST be declared before it's called in the code. The forward declaration consists of the...
/* This will popup a message-box saying "HELLO WORLD" */ FUNCTION cat RETURNS CHARACTER ( c AS CHARACTER, d AS CHARACTER): RETURN c + " " + d. END. MESSAGE cat("HELLO", "WORLD") VIEW-AS ALERT-BOX.
A function can have multiple return statements and they can be placed in different parts of the actual function. They all need to return the same data type though. FUNCTION returning DATE ( dat AS DATE): IF dat < TODAY THEN DO: DISPLAY "<". RETURN dat - 200. ...
A function can only return a single value but there's one way around that: the parameters are not limited to input parameters. You can declare INPUT, OUTPUT and INPUT-OUTPUT parameters. Unlike INPUT parameters you must specify OUTPUT or INPUT-OUTPUT before the parameters. Some coding conventions m...
For syncing all folders in both direction, insert this into your Vagrantfile config.vm.synced_folder "my-project1", "/home/vagrant/my-project1"
<%@ WebService Language="C#" Class="Util" %> using System; using System.Web.Services; public class Util: WebService { [WebMethod] public int CalculatorAdd(int operandA, int operandB) { return operandA + operandB; } [WebMethod] ...
const timeFormat = "15 Monday January 2006" func ParseDate(s string) (time.Time, error) { t, err := time.Parse(timeFormat, s) if err != nil { // time.Time{} returns January 1, year 1, 00:00:00.000000000 UTC // which according to the source code is the zero va...
prerequisites: To run kibana you need to install supported version of elastic search. for install elastic search refer this link Elasticsearch documentation KibanaElasticsearch4.0.0 - 4.1.x1.4.x - 1.7.x4.2.x2.0.x4.3.x2.1.x4.4.x2.2.x4.5.x2.3.x4.6.x2.4.x5.x5.x The Kibana can be downloade...
TTL value can be used to decide for how long the document needs to be there in the bucket. By default TTL value is 0, which means it will be there for indefinite time period. String bucketName = "bucket"; List<String> nodes = Arrays.asList("node1","node2"); // I...
Below example shows ways to read and write csv file without any third party libraries. Write CSV public void writeToCsvFile(List<String[]> thingsToWrite, String separator, String fileName){ try (FileWriter writer = new FileWriter(fileName)){ for (String[] strings : thingsToWrit...
Detailed instructions on getting air set up or installed.

Page 911 of 1099