Created
November 5, 2017 19:57
-
-
Save arutnik/e3e7ff517d8ff8b10e9bb727eceac578 to your computer and use it in GitHub Desktop.
SFA Part 3: Injecting controller name
This file contains hidden or 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
| #Only Added/modified lines shown | |
| parser.add_argument("--controller", help="") | |
| controller = args.controller | |
| html = html.replace('<html lang="en">', '<apex:page showheader="false" sidebar="false" standardStylesheets="false" controller="' + controller + '" >' ) | |
| html = html.replace('$SFCONTROLLER', controller) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment