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
// Get all the standard and custom objects in the org | |
List<EntityDefinition> entityDefs = [select QualifiedApiName from EntityDefinition]; | |
// Forming a list of Entity API names | |
List<String> entityNames = new List<String>(); | |
for(EntityDefinition entityDef: entityDefs){ | |
if(!entityDef.QualifiedApiName.endsWith('kav')){ |
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
public class PBClearMultiPicklist { | |
public class Params { | |
@InvocableVariable(label='Object ID' required=true) | |
public String sobjectId; | |
@InvocableVariable(label='Picklist Field API Name' required=true) | |
public String fieldName; | |
@InvocableVariable(label='Value' required=true) | |
public String value; |
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
Gist of Centralized Async Handling via Queueable Apex | |
For accompanying presentation see http://scottbcovert.github.io/queueable-apex | |
NOTE: The following source alone will not compile as it is one piece of a larger Force.com development framework available at https://github.com/scottbcovert/Centralized-Salesforce-Dev-Framework |
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
#!/bin/bash | |
# Help menu | |
print_help() { | |
cat <<-HELP | |
This script is used to fix permissions of a Drupal installation | |
you need to provide the following arguments: | |
1) Path to your Drupal installation. | |
2) Username of the user that you want to give files/directories ownership. |
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
<div id="feedback"> | |
<div id="feedback-widget" style="z-index:300;display:none;"> | |
<a class="handle" style="border-left:1px solid #ddd;border-top:1px solid #ddd;border-bottom:1px solid #ddd;" href="#">Feedback</a> | |
<div id="feedback-frame" style="display:none;"> | |
</div> | |
</div> | |
</div> |