datasetLink.DatasetLink

Note:

The content in this help topic applies to SuiteScript 2.x.

Object Description

A representation of two datasets that are linked using datasetLink.create(options).

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/datasetLink Module

Methods and Properties

DatasetLink Object Members

Since

2021.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script sample, see N/datasetLink Module Script Sample.

            // Add additional code
...
var myDatasetLink = datasetLink.create({
    datasets: [firstDataset, secondDataset],
    expressions: [[columnExpInFirstDataset, columnExpInSecondDataset]],
    id: 'myDatasetLinkId'
});
...
// Add additional code 

          

Related Topics

N/datasetLink Module
SuiteScript 2.x Modules
Dataset Linking in SuiteAnalytics Workbook

General Notices