Salesforce

How Do I Embed a File into a Predefined Template? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Embed a File into a Predefined Template? (Magic xpa 3.x)

You can embed entire files, if you like, using the <!$MGINCLUDE> tag. In our example, we used <!$MGINCLUDE> to embed our stylesheet into the file at runtime.

Syntax of <!$MGINCLUDE>

The syntax of <!$MGINCLUDE> is:

<!$MGINCLUDE><file name><!$MGENDINCLUDE>

Where <file name> is the name of the file to include. You can use a tag for the file name; the embedding happens after the file is fully merged.

See also

The Online and Rich Client Samples projects (program MG06 and RMG06)

Reference
Attachment 
Attachment