diff --git a/.vscode/settings.json b/.vscode/settings.json
index aaa049b..a5c850f 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,5 +4,7 @@
"**/bower_components": true,
"**/.sfdx": true
},
- "salesforcedx-vscode-core.show-cli-success-msg": false
+ "salesforcedx-vscode-core.show-cli-success-msg": false,
+ "vlocity.sfdxUsername": "tnascimento@salesforce.com.comms.demo",
+ "vlocity.projectPath": "/Users/tnascimento/dev/enablement-sessions-orgdevmode/datapacks"
}
diff --git a/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello.json b/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello.json
new file mode 100644
index 0000000..c135665
--- /dev/null
+++ b/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello.json
@@ -0,0 +1,207 @@
+{
+ "dataSource": {
+ "contextVariables": [
+ ],
+ "orderBy": {
+ },
+ "type": null,
+ "value": {
+ }
+ },
+ "enableLwc": true,
+ "isFlex": true,
+ "lwc": {
+ "DeveloperName": "cfEnablementAccountHello_1_SalesforceDemo",
+ "Id": "0RbHp000000rFgdKAE",
+ "ManageableState": "unmanaged",
+ "MasterLabel": "cfEnablementAccountHello_1_SalesforceDemo",
+ "NamespacePrefix": "c"
+ },
+ "selectableMode": "Multi",
+ "states": [
+ {
+ "actions": [
+ ],
+ "childCards": [
+ ],
+ "components": {
+ "layer-0": {
+ "children": [
+ {
+ "children": [
+ {
+ "class": "slds-col ",
+ "element": "flexIcon",
+ "elementLabel": "Block-0-Icon-1",
+ "key": "element_element_block_0_0_flexIcon_0_0",
+ "name": "Icon",
+ "parentElementKey": "element_block_0_0",
+ "property": {
+ "card": "{card}",
+ "extraclass": "slds-icon-standard-default",
+ "iconName": "standard:default",
+ "iconType": "",
+ "record": "{record}",
+ "size": "medium",
+ "variant": "inverse"
+ },
+ "size": {
+ "default": "12",
+ "isResponsive": false
+ },
+ "stateIndex": 0,
+ "styleObject": {
+ "sizeClass": "slds-size_12-of-12"
+ },
+ "type": "element"
+ },
+ {
+ "class": "slds-col ",
+ "element": "outputField",
+ "elementLabel": "Block-0-Text-0",
+ "key": "element_element_block_0_0_outputField_1_0",
+ "name": "Text",
+ "parentElementKey": "element_block_0_0",
+ "property": {
+ "card": "{card}",
+ "mergeField": "%3Cdiv%3EHello%20Account%3C/div%3E",
+ "record": "{record}"
+ },
+ "size": {
+ "default": "11",
+ "isResponsive": false
+ },
+ "stateIndex": 0,
+ "styleObject": {
+ "size": {
+ "default": "11",
+ "isResponsive": false
+ },
+ "sizeClass": "slds-size_11-of-12 "
+ },
+ "type": "text"
+ }
+ ],
+ "class": "slds-col ",
+ "element": "block",
+ "elementLabel": "Block-0",
+ "name": "Block",
+ "property": {
+ "card": "{card}",
+ "collapsedByDefault": false,
+ "collapsible": false,
+ "label": "Block",
+ "record": "{record}"
+ },
+ "size": {
+ "default": "12",
+ "isResponsive": false
+ },
+ "stateIndex": 0,
+ "styleObject": {
+ "class": "slds-p-around_x-small",
+ "padding": [
+ {
+ "size": "x-small",
+ "type": "around"
+ }
+ ],
+ "sizeClass": "slds-size_12-of-12"
+ },
+ "type": "block"
+ }
+ ]
+ }
+ },
+ "conditions": {
+ "group": [
+ ],
+ "id": "state-condition-object",
+ "isParent": true
+ },
+ "definedActions": {
+ "actions": [
+ ]
+ },
+ "documents": [
+ ],
+ "fields": [
+ ],
+ "isSmartAction": false,
+ "name": "Active",
+ "omniscripts": [
+ ],
+ "smartAction": {
+ },
+ "styleObject": {
+ "class": "slds-card slds-p-around_x-small slds-m-bottom_x-small",
+ "container": {
+ "class": "slds-card"
+ },
+ "margin": [
+ {
+ "size": "x-small",
+ "type": "bottom"
+ }
+ ],
+ "padding": [
+ {
+ "size": "x-small",
+ "type": "around"
+ }
+ ],
+ "size": {
+ "default": "12",
+ "isResponsive": false
+ },
+ "sizeClass": "slds-size_12-of-12"
+ }
+ }
+ ],
+ "theme": "slds",
+ "title": "enablementAccountHello",
+ "xmlJson": [
+ {
+ "@attributes": {
+ "targets": "lightning__AppPage"
+ },
+ "property": [
+ {
+ "@attributes": {
+ "name": "debug",
+ "type": "Boolean"
+ }
+ },
+ {
+ "@attributes": {
+ "name": "recordId",
+ "type": "String"
+ }
+ }
+ ]
+ },
+ {
+ "@attributes": {
+ "targets": "lightning__RecordPage"
+ },
+ "property": [
+ {
+ "@attributes": {
+ "name": "debug",
+ "type": "Boolean"
+ }
+ }
+ ]
+ }
+ ],
+ "xmlObject": {
+ "targetConfigs": "PHRhcmdldENvbmZpZyB0YXJnZXRzPSJsaWdodG5pbmdfX0FwcFBhZ2UiPgogICAgICAgICAgICAgICAgICAgICAgPHByb3BlcnR5IG5hbWU9ImRlYnVnIiB0eXBlPSJCb29sZWFuIi8+CiAgICAgICAgICAgICAgICAgICAgICA8cHJvcGVydHkgbmFtZT0icmVjb3JkSWQiIHR5cGU9IlN0cmluZyIvPgogICAgICAgICAgICAgICAgICA8L3RhcmdldENvbmZpZz4KICAgICAgICAgICAgICAgICAgPHRhcmdldENvbmZpZyB0YXJnZXRzPSJsaWdodG5pbmdfX1JlY29yZFBhZ2UiPgogICAgICAgICAgICAgICAgICAgICAgPHByb3BlcnR5IG5hbWU9ImRlYnVnIiB0eXBlPSJCb29sZWFuIi8+CiAgICAgICAgICAgICAgICAgIDwvdGFyZ2V0Q29uZmlnPg==",
+ "targets": {
+ "target": [
+ "lightning__RecordPage",
+ "lightning__AppPage",
+ "lightning__HomePage"
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello_DataPack.json b/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello_DataPack.json
new file mode 100644
index 0000000..3774cf3
--- /dev/null
+++ b/datapacks/VlocityCard/enablementAccountHello/enablementAccountHello_DataPack.json
@@ -0,0 +1,30 @@
+{
+ "%vlocity_namespace%__Author__c": "SalesforceDemo",
+ "%vlocity_namespace%__CardType__c": "flex",
+ "%vlocity_namespace%__Datasource__c": {
+ "dataSource": {
+ "contextVariables": [
+ ],
+ "orderBy": {
+ },
+ "type": null,
+ "value": {
+ }
+ }
+ },
+ "%vlocity_namespace%__Definition__c": "enablementAccountHello.json",
+ "%vlocity_namespace%__Description__c": "",
+ "%vlocity_namespace%__GlobalKey__c": "enablementAccountHello/SalesforceDemo/1/1695169236791",
+ "%vlocity_namespace%__IsChildCard__c": false,
+ "%vlocity_namespace%__ParentID__c": "",
+ "%vlocity_namespace%__SampleData__c": "",
+ "%vlocity_namespace%__Styles__c": "",
+ "%vlocity_namespace%__Type__c": "",
+ "%vlocity_namespace%__Version__c": 1,
+ "IsLocked": false,
+ "MayEdit": true,
+ "Name": "enablementAccountHello",
+ "VlocityDataPackType": "SObject",
+ "VlocityRecordSObjectType": "%vlocity_namespace%__VlocityCard__c",
+ "VlocityRecordSourceKey": "%vlocity_namespace%__VlocityCard__c/enablementAccountHello"
+}
\ No newline at end of file
diff --git a/force-app/main/default/flexipages/Account_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Account_Record_Page.flexipage-meta.xml
index cb6c7a0..35022f5 100644
--- a/force-app/main/default/flexipages/Account_Record_Page.flexipage-meta.xml
+++ b/force-app/main/default/flexipages/Account_Record_Page.flexipage-meta.xml
@@ -275,6 +275,12 @@
Facet
+
+
+ cfEnablementAccountHello
+ c_cfEnablementAccountHello
+
+
diff --git a/force-app/main/default/permissionsets/PES_Account_Opportunity_Management.permissionset-meta.xml b/force-app/main/default/permissionsets/PES_Account_Opportunity_Management.permissionset-meta.xml
index c937341..eec9109 100644
--- a/force-app/main/default/permissionsets/PES_Account_Opportunity_Management.permissionset-meta.xml
+++ b/force-app/main/default/permissionsets/PES_Account_Opportunity_Management.permissionset-meta.xml
@@ -22,7 +22,7 @@
true
- Opportunity.Competitor__c
+ Opportunity.MainCompetitor__c
true
diff --git a/manifest/buildfile.json b/manifest/buildfile.json
index e0107e8..ac8c69c 100644
--- a/manifest/buildfile.json
+++ b/manifest/buildfile.json
@@ -1,9 +1,13 @@
{
"builds": [
+ {
+ "type": "datapack",
+ "manifestFile": "manifest/sfi-package.yaml"
+ },
{
"type": "metadata",
"manifestFile": "manifest/package.xml",
- "testLevel": "RunLocalTests",
+ "testLevel": "NoTestRun",
"classPath": "force-app/main/default/classes",
"timeout": "33",
"ignoreWarnings": true
diff --git a/manifest/sfi-package.yaml b/manifest/sfi-package.yaml
new file mode 100644
index 0000000..391f836
--- /dev/null
+++ b/manifest/sfi-package.yaml
@@ -0,0 +1,13 @@
+projectPath: .
+expansionPath: ./datapacks/
+manifest:
+ - VlocityCard/enablementAccountHello
+delete: true
+activate: true
+compileOnBuild: true
+maxDepth: -1
+continueAfterError: true
+useAllRelationships: false
+supportHeadersOnly: true
+supportForceDeploy: true
+npmAuthKey: Y3VzdG9tZXJfYmFuY29fZGVsX2VzdGFkb19kZV9jaGlsZTpQZkFhYlJaQmhyNU1DMVRY
\ No newline at end of file