Last active
July 9, 2020 06:42
-
-
Save j-schreiber/b553e7fe0b0195397ba0df8f5e01fc5d to your computer and use it in GitHub Desktop.
PDF Visualforce page that uses the template property to dynamically load the formatting css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:variable rendered="{! Template.LetterFormat__c != NULL }" var="LetterFormat" value="{! Template.LetterFormat__c }"> | |
<apex:stylesheet value="{! URLFOR($Resource[Template.LetterFormat__c]) }" /> | |
</apex:variable> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment