getDil

Retrieves a partner-specific DIL instance.

Function Signature: getDil: function (partner, containerNSID) {}

Parameters

Name Type Description
partner String The partner name to search for.
containerNSID Integer Defaults is 0. The NSID of the container you’re searching for. Optional.

Response

A successful partner and container NSID match returns a partner-specific DIL instance. If there is no match, the API returns (does not throw) an error with the message, " The DIL instance with partner <name> and containerNSID <ID> was not found."

Sample Code

DIL.getDil('partner', containerNSID); 
DIL.getDil('partner');

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now