##Quick instructions:
- Make a canvas app that loads the VF page VisualForceIFrameWrapper.page and pre-approve it for all profiles
- Add that canvas app to your page layout
- Profit
| (function () { | |
| var root = $(document.getElementsByTagName('body')); | |
| var watchers = []; | |
| var f = function (element) { | |
| if (element.data().hasOwnProperty('$scope')) { | |
| angular.forEach(element.data().$scope.$$watchers, function (watcher) { | |
| watchers.push(watcher); | |
| }); | |
| } |
| @echo off | |
| SET codePath=C:\Program Files (x86)\Microsoft VS Code\code.exe | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Visual Studio Code" /t REG_SZ /v "" /d "Open with Visual Studio Code" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Visual Studio Code" /t REG_EXPAND_SZ /v "Icon" /d "%codePath%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Visual Studio Code\command" /t REG_SZ /v "" /d "%codePath% \"%%1\"" /f | |
| rem add it for folders | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Visual Studio Code" /t REG_SZ /v "" /d "Open with Visual Studio Code" /f |
| # Set architecture flags | |
| export ARCHFLAGS="-arch x86_64" | |
| # Ensure user-installed binaries take precedence | |
| export PATH=/usr/local/bin:$PATH | |
| # Load .bashrc if it exists | |
| test -f ~/.bashrc && source ~/.bashrc | |
| txtblk='\e[0;30m' # Black - Regular | |
| txtred='\e[0;31m' # Red | |
| txtgrn='\e[0;32m' # Green |
| /** | |
| * Copyright (c), Andrew Fawcett | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright notice, | |
| * this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright notice, |
| #!/bin/bash | |
| for i in `git status | grep deleted | awk '{print $2}'`; do git update-index --assume-unchanged $i; done |
| <apex:includeScript value="/canvas/sdk/js/publisher.js"/> | |
| <script type="text/javascript"> | |
| Sfdc.Dom.onReady(function () { | |
| Sfdc.canvas.publisher.subscribe( | |
| { | |
| name : "publisher.showPanel", | |
| onData:function(e) { | |
| resizeCanvas(); | |
| } | |
| } |
##Quick instructions:
| <!-- | |
| - Created by gtandeciarz on 6/21/17. | |
| --> | |
| <apex:page id="VisualForcePageUsage" title="VisualForce Page Metrics" readOnly="true" setup="true" standardStylesheets="false"> | |
| <apex:slds ></apex:slds> | |
| <script type="text/javascript"> | |
| var __sfdcSessionId = '{!GETSESSIONID()}'; | |
| </script> | |
| <script src="../../soap/ajax/40.0/connection.js" |
The gist here is that you will be using a dynamic email alias to forward emails to salesforce by using a combination of filters and forwarders in gmail. Dynamic email aliasing is the concept of adding a "+alias" string after your email username, so myuser@gmail.com would become myuser+sandboxalias@gmail.com
This works well with Acumen Solutions as Acumen uses GMAIL as the email service provider. You can set up your own email-to-case forwarding alias to your SFDC sandboxes without requiring any external administrator support.
yourusername+sandboxalias@acumensolutions.com (so for me, this would be gtandeciarz+gmtdev@acumensolutions.com