Landing pagescan use which SSJS library? 1. Core LibraryZ. Platform Library 3. SSJS Library
Show answerHide answer
Correct answer: B Only1 ard2
Explanation
Explanation:Salesforce Marketing Cloud Engagement supports Server-Side JavaScript (SSJS) on CloudPages and landing pages through specific server-side libraries. The Core Library provides general-purpose functionality, including string manipulation, date handling, and HTTP-related operations. The Platform Library provides Marketing Cloud-specific functionality for interacting with platform objects and services. The SSJS Library mentioned separately is not an independent library category in the same way. Therefore, landing pages can use both Core and Platform libraries.
Correct Option:
B. Only 1 and 2
This is the correct answer because Marketing Cloud Engagement supports the Core Library and Platform Library for server-side JavaScript execution on landing pages. The Core Library provides standard programming functionality, such as string operations, date processing, and general utility methods. The Platform Library provides functions for interacting with Marketing Cloud platform objects, including data extensions, subscribers, and other platform resources. Developers can include these libraries in CloudPages to implement dynamic functionality and server-side processing.
Incorrect Option:
A. Only 1 and 3
This option is incorrect because it includes the Core Library but incorrectly treats SSJS Library as the second supported library category. Salesforce documentation identifies Core and Platform as the primary Server-Side JavaScript libraries available in Marketing Cloud Engagement. Although SSJS is the general technology used to execute server-side JavaScript, it is not a separate library category alongside Core and Platform. Therefore, this combination does not correctly identify the supported library types.
C. Only 2 and 3
This option includes the Platform Library but incorrectly substitutes SSJS Library for the Core Library. The Platform Library provides Marketing Cloud-specific functionality, but the Core Library is also required to access general-purpose SSJS functions. SSJS itself refers to Server-Side JavaScript rather than an additional independent library. Consequently, excluding the Core Library makes this combination incorrect. Developers should understand the distinction between the SSJS technology and its available library categories.
D. All 1, 2 and 3
This option is incorrect because it treats all three terms as separate SSJS library categories. Salesforce Marketing Cloud Engagement primarily provides two SSJS libraries: Core and Platform. SSJS stands for Server-Side JavaScript and describes the scripting technology rather than another independent library. Therefore, including all three as separate libraries creates an incorrect classification. Developers should remember that Core and Platform are the two principal libraries used when implementing server-side JavaScript functionality on CloudPages.
E. None of these
This option is incorrect because Marketing Cloud Engagement does support Server-Side JavaScript libraries on landing pages and CloudPages. Developers can use both the Core Library and Platform Library to implement server-side functionality. These libraries provide general-purpose JavaScript methods and Marketing Cloud-specific platform operations. Therefore, the statement that none of the listed combinations is correct is inaccurate. Option B correctly identifies the two supported library categories.
Reference:
Salesforce documentation, Server-Side JavaScript Libraries, explains the Core and Platform libraries available in Marketing Cloud Engagement, their supported functions, and how developers include them in CloudPages and landing pages.