Skip to content

Commit

Permalink
Merge pull request #7 from tiagonnascimento/feature/us-5
Browse files Browse the repository at this point in the history
feat: implementing enablement account Hello Flexicard
  • Loading branch information
tiagonnascimento authored Sep 26, 2023
2 parents 0cc94e2 + 30f3b63 commit 999ea01
Show file tree
Hide file tree
Showing 7 changed files with 265 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"vlocity.projectPath": "/Users/tnascimento/dev/enablement-sessions-orgdevmode/datapacks"
}
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentName>cfEnablementAccountHello</componentName>
<identifier>c_cfEnablementAccountHello</identifier>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Opportunity.Competitor__c</field>
<field>Opportunity.MainCompetitor__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
Expand Down
6 changes: 5 additions & 1 deletion manifest/buildfile.json
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 13 additions & 0 deletions manifest/sfi-package.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 999ea01

Please sign in to comment.