Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit 7d7dfb2

Browse files
author
Eric Schultz
committed
Minor Updates
1. default image resource corrected 2. 1 card added to each template
1 parent 11e1d67 commit 7d7dfb2

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

force-app/main/default/lwc/card/card.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<template>
2-
{w}
32
<div class={cardClass}>
43
<div
54
class="

force-app/main/default/objects/Board__c/fields/Background_Image__c.field-meta.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
33
<fullName>Background_Image__c</fullName>
4-
<defaultValue>&quot;/kickboard__Kickboard_Assets/general.png&quot;</defaultValue>
5-
<description>A Swim Lane can have a background image as a guide. Commonly, these images will be uploaded in static resources and referenced as /resource/STATIC_RESOURCE/IMAGE.png
6-
4+
<defaultValue>&quot;/resource/kickboard__Kickboard_Assets/general.png&quot;</defaultValue>
5+
<description>A Swim Lane can have a background image as a guide. Commonly, these images will be uploaded in static resources and referenced as /resource/STATIC_RESOURCE/IMAGE.png
6+
77
Images can be any size, but, we recommed 1280x720 which fit well into presentations.</description>
88
<externalId>false</externalId>
9-
<inlineHelpText>A Swim Lane can have a background image as a guide. Commonly, these images will be uploaded in static resources and referenced as /resource/STATIC_RESOURCE/IMAGE.png
10-
9+
<inlineHelpText>A Swim Lane can have a background image as a guide. Commonly, these images will be uploaded in static resources and referenced as /resource/STATIC_RESOURCE/IMAGE.png
10+
1111
Images can be any size, but, we recommed 1280x720 which fit well into presentations.</inlineHelpText>
1212
<label>Background Image</label>
1313
<length>255</length>

force-app/main/default/staticresources/Kickboard_data_create_a_vision.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@
181181
"method" : "POST",
182182
"referenceId" : "reference_id_board_whodoeswhat"
183183
},
184+
{
185+
"url" : "/services/data/v50.0/sobjects/__namespace__Card__c/",
186+
"body": {
187+
"Board__c" : "@{reference_id_board_whodoeswhat.id}",
188+
"Color__c" : "yellow",
189+
"Description__c" : "<p><b>Navigate Your Journey to Customer 360 Success</b></p><p><a href=\"https://trailhead.salesforce.com/guides\" target=\"_blank\"><b>Get Started with Your First Guide</b></a></p>",
190+
"X_Position__c" : 71.0,
191+
"Y_Position__c" : 158.0
192+
},
193+
"method" : "POST",
194+
"referenceId" : "reference_id_card_guides"
195+
},
184196
{
185197
"url" : "/services/data/v50.0/sobjects/__namespace__Board__c/",
186198
"body" : {

force-app/main/default/staticresources/Kickboard_data_v2mom.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,18 @@
483483
"__namespace__Description__c" : "<p>Use this board to keep momentum with your shared vision by defining who does what next.</p>",
484484
"Name" : "Define Who Does What When"
485485
}
486-
}, {
486+
},{
487+
"url" : "/services/data/v50.0/sobjects/__namespace__Card__c/",
488+
"body": {
489+
"Board__c" : "@{a001g00000CfK0CAAV.id}",
490+
"Color__c" : "yellow",
491+
"Description__c" : "<p><b>Navigate Your Journey to Customer 360 Success</b></p><p><a href=\"https://trailhead.salesforce.com/guides\" target=\"_blank\"><b>Get Started with Your First Guide</b></a></p>",
492+
"X_Position__c" : 71.0,
493+
"Y_Position__c" : 158.0
494+
},
495+
"method" : "POST",
496+
"referenceId" : "reference_id_card_guides"
497+
},{
487498
"url" : "/services/data/v50.0/sobjects/__namespace__Category_Mapping__c/",
488499
"referenceId" : "a021g000004mfNmAAI",
489500
"method" : "POST",

0 commit comments

Comments
 (0)