Which code sample is needed to use a custom tag in an ISML template?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Prepare for the Salesforce B2C Commerce Developer Test with interactive flashcards and multiple-choice questions. Dive into comprehensive study materials, hints, and explanations. Ace your Salesforce exam with ease!

To use a custom tag in an ISML template, the correct approach is to include the relevant layout or module that defines this custom tag. The choice indicating the inclusion of a template from the "util/modules" directory aligns perfectly with this requirement. This particular directive allows the ISML template to reference predefined functionalities, styles, or customizations that you want to leverage across your application.

When you include a template that defines custom tags, all associated logic and markup become available for use within the ISML context. This makes it easier to maintain cohesive and reusable code.

In contrast, the other options focus on different methods of inclusion or tag management that are not directly about including a custom tag within an ISML template. For instance, one option shows an attempt to directly reference a URL, which does not pertain directly to ISML template inclusion. Another mentions manipulating a custom tag creation method, which is more relevant when defining or managing tags programmatically rather than directly employing them in an ISML template.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy