Created
November 5, 2017 20:17
-
-
Save arutnik/f360f7310f9bbe12ac12233310f7400a to your computer and use it in GitHub Desktop.
SFA Part 5: Routing variable injection
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 lines shown | |
| parser.add_argument("--pagename", help="") | |
| pageName = args.pagename | |
| inAppPageRoot = 'apex/' + pageName | |
| html = html.replace('$SFPAGEROOT', "'" + inAppPageRoot + "'") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment