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
<aura:application extends="force:slds"> | |
<c:searchCmp /> | |
</aura:application> |
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
<aura:application extends="force:slds"> | |
<c:searchCmp /> | |
</aura:application> |
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
global class CommunityBuilderPickListUtil extends VisualEditor.DynamicPickList{ | |
global override VisualEditor.DataRow getDefaultValue(){ | |
VisualEditor.DataRow defaultValue = new VisualEditor.DataRow('Product Family', 'Product Family'); | |
return defaultValue; | |
} | |
global override VisualEditor.DynamicPickListRows getValues() { | |
VisualEditor.DynamicPickListRows myValues = new VisualEditor.DynamicPickListRows(); | |
Schema.DescribeFieldResult fieldResult = Product2.Family.getDescribe(); |
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 | |
if [ $# -lt 1 ] | |
then | |
echo Usage: generatepkgXML.sh orgalias packageName | |
exit | |
fi | |
## Retrieve the PackageXML from Unmanaged Container |
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
if [ $# -lt 1 ] | |
then | |
echo Usage: deploypkg.sh orgalias | |
exit | |
fi | |
## Create a temp directory for mdapi | |
mkdir ./mdapipkg | |
sfdx force:source:convert -r ./force-app -d ./mdapi |
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 | |
if [ $# -lt 1 ] | |
then | |
echo Usage: retrieveDXSource.sh orgalias packageName | |
exit | |
fi | |
## Retrieve the PackageXML from Unmanaged Container |
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
<template> | |
<lightning-card title="Word Cloud Demo"> | |
<canvas class="my_canvas" lwc:dom="manual"></canvas> | |
</lightning-card> | |
</template> |
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
List<PlatformEvents__e > events = new List<PlatformEvents__e >(); | |
// Created a PlatformEvents with a Message__c field of 30 characters only, so second event fails | |
events.add(new PlatformEvents__e(Message__c='Test')); | |
events.add(new PlatformEvents__e(Message__c='ldjgkfjgkfjkjhkgjhkgjhkghkghkgkhkghkghkghkghkghghkghkghkghkghghkghkghkghkghghkghkghkghkghghkghkghkghkghghkghkghkghkgh')); | |
Savepoint sp = Database.setSavepoint(); | |
// Call method to publish events | |
List<Database.SaveResult> results = EventBus.publish(events); |
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
{ | |
"size" : 1, | |
"totalSize" : 1, | |
"done" : true, | |
"queryLocator" : null, | |
"entityTypeName" : "Flow", | |
"records" : [ { | |
"attributes" : { | |
"type" : "Flow", | |
"url" : "/services/data/v49.0/tooling/sobjects/Flow/301B00000006sh9IAA" |
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
{ | |
"Metadata": { | |
"actionCalls": [{ | |
"actionName": "emailSimple", | |
"actionType": "emailSimple", | |
"connector": null, | |
"dataTypeMappings": [], | |
"description": null, | |
"faultConnector": null, | |
"inputParameters": [{ |