This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. A new flow to get access details without having to email for copy and paste say into Slack 2. A general background image as default in a new board.
- Loading branch information
Eric Schultz
committed
Jul 23, 2021
1 parent
b694619
commit 11e1d67
Showing
5 changed files
with
173 additions
and
2 deletions.
There are no files selected for viewing
133 changes: 133 additions & 0 deletions
133
force-app/main/default/flows/Get_Swim_Lane_Access_Details.flow-meta.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>52.0</apiVersion> | ||
<formulas> | ||
<name>BaseUrl_Formula</name> | ||
<dataType>String</dataType> | ||
<expression>LEFT({!$Api.Enterprise_Server_URL_520}, FIND(".com/",{!$Api.Enterprise_Server_URL_520})+3)</expression> | ||
</formulas> | ||
<interviewLabel>Get Swim Lane Access Details {!$Flow.CurrentDateTime}</interviewLabel> | ||
<label>Get Swim Lane Access Details</label> | ||
<processMetadataValues> | ||
<name>BuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>CanvasMode</name> | ||
<value> | ||
<stringValue>FREE_FORM_CANVAS</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>OriginBuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processType>Flow</processType> | ||
<recordLookups> | ||
<name>KickboardSetting_GetRecord</name> | ||
<label>KickboardSetting_GetRecord</label> | ||
<locationX>176</locationX> | ||
<locationY>332</locationY> | ||
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound> | ||
<connector> | ||
<targetReference>Urls_Screen</targetReference> | ||
</connector> | ||
<filterLogic>and</filterLogic> | ||
<filters> | ||
<field>SetupOwnerId</field> | ||
<operator>EqualTo</operator> | ||
<value> | ||
<elementReference>$Organization.Id</elementReference> | ||
</value> | ||
</filters> | ||
<getFirstRecordOnly>true</getFirstRecordOnly> | ||
<object>Kickboard_Settings__c</object> | ||
<storeOutputAutomatically>true</storeOutputAutomatically> | ||
</recordLookups> | ||
<recordLookups> | ||
<name>SwimLane_GetRecord</name> | ||
<label>SwimLane GetRecord</label> | ||
<locationX>176</locationX> | ||
<locationY>195</locationY> | ||
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound> | ||
<connector> | ||
<targetReference>KickboardSetting_GetRecord</targetReference> | ||
</connector> | ||
<filterLogic>and</filterLogic> | ||
<filters> | ||
<field>Id</field> | ||
<operator>EqualTo</operator> | ||
<value> | ||
<elementReference>recordId</elementReference> | ||
</value> | ||
</filters> | ||
<getFirstRecordOnly>true</getFirstRecordOnly> | ||
<object>Lane__c</object> | ||
<storeOutputAutomatically>true</storeOutputAutomatically> | ||
</recordLookups> | ||
<screens> | ||
<name>Urls_Screen</name> | ||
<label>Urls Screen</label> | ||
<locationX>174</locationX> | ||
<locationY>499</locationY> | ||
<allowBack>true</allowBack> | ||
<allowFinish>true</allowFinish> | ||
<allowPause>true</allowPause> | ||
<fields> | ||
<name>Urls_DisplayText</name> | ||
<fieldText><p>Copy and paste these details based on type of user.</p><p><br></p><p><b style="font-size: 14px;">Internal Users</b></p><p><i style="font-size: 12px;">Make sure you've added these users before sharing details.</i></p><p><br></p><p>{!SwimLane_GetRecord.Name}</p><p><a href="{!BaseUrl_Formula}/{!SwimLane_GetRecord.Id}" rel="noopener noreferrer" target="_blank"><b>{!BaseUrl_Formula}/{!SwimLane_GetRecord.Id}</b></a></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
</fields> | ||
<fields> | ||
<name>CommunityUser_DisplayText</name> | ||
<fieldText><p><br></p><p><b style="font-size: 14px;">Community Users</b></p><p><span style="font-size: 12px;"><span class="ql-cursor"></span></span><i style="font-size: 12px; background-color: rgb(255, 255, 255); color: rgb(62, 62, 60);">Make sure you've added these users before sharing details.</i></p><p><br></p><p>{!SwimLane_GetRecord.Name}</p><p><a href="{!KickboardSetting_GetRecord.Community_Url__c}/lane/{!SwimLane_GetRecord.Id}" rel="noopener noreferrer" target="_blank" style="background-color: rgb(255, 255, 255);"><b>{!KickboardSetting_GetRecord.Community_Url__c}/lane/{!SwimLane_GetRecord.Id}</b></a></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
<visibilityRule> | ||
<conditionLogic>and</conditionLogic> | ||
<conditions> | ||
<leftValueReference>KickboardSetting_GetRecord.Community_Url__c</leftValueReference> | ||
<operator>IsNull</operator> | ||
<rightValue> | ||
<booleanValue>false</booleanValue> | ||
</rightValue> | ||
</conditions> | ||
</visibilityRule> | ||
</fields> | ||
<fields> | ||
<name>Guest_DisplayText</name> | ||
<fieldText><p><br></p><p><b style="font-size: 14px;">Guest Users</b></p><p><i style="font-size: 12px;">Make sure the board is marked </i><b style="font-size: 12px;"><i>public</i></b><i style="font-size: 12px;"> before sending these details.</i></p><p><br></p><p><span style="background-color: rgb(255, 255, 255);">{!SwimLane_GetRecord.Name}</span></p><p><a href="{!KickboardSetting_GetRecord.Guest_Url__c}/lane/{!SwimLane_GetRecord.Id}" rel="noopener noreferrer" target="_blank" style="background-color: rgb(255, 255, 255);"><b>{!KickboardSetting_GetRecord.Guest_Url__c}/lane/{!SwimLane_GetRecord.Id}</b></a></p><p><br></p><p><span style="background-color: rgb(255, 255, 255);">The super secret code is</span></p><p><b style="background-color: rgb(255, 255, 255);">{!SwimLane_GetRecord.Code__c}</b></p><p><br></p><p><i style="background-color: rgb(255, 255, 255);">Do not share these details with anyone else.</i></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
<visibilityRule> | ||
<conditionLogic>and</conditionLogic> | ||
<conditions> | ||
<leftValueReference>KickboardSetting_GetRecord.Guest_Url__c</leftValueReference> | ||
<operator>IsNull</operator> | ||
<rightValue> | ||
<booleanValue>false</booleanValue> | ||
</rightValue> | ||
</conditions> | ||
</visibilityRule> | ||
</fields> | ||
<showFooter>true</showFooter> | ||
<showHeader>false</showHeader> | ||
</screens> | ||
<start> | ||
<locationX>50</locationX> | ||
<locationY>50</locationY> | ||
<connector> | ||
<targetReference>SwimLane_GetRecord</targetReference> | ||
</connector> | ||
</start> | ||
<status>Active</status> | ||
<variables> | ||
<name>recordId</name> | ||
<dataType>String</dataType> | ||
<isCollection>false</isCollection> | ||
<isInput>true</isInput> | ||
<isOutput>false</isOutput> | ||
</variables> | ||
</Flow> |
This file contains 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
This file contains 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
1 change: 1 addition & 0 deletions
1
force-app/main/default/objects/Board__c/fields/Background_Image__c.field-meta.xml
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.