Skip to content

Commit

Permalink
[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
jongpie committed Sep 13, 2024
1 parent ad0e4bf commit 55c9c15
Show file tree
Hide file tree
Showing 4 changed files with 280 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
<flexiPageRegions>
<name>region1</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>direction</name>
<value>ltr</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>display</name>
<value>Display OmniScript on page</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>inlineVariant</name>
<value>brand</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>language</name>
<value>English</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>subType</name>
<value>Logging</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>theme</name>
<value>lightning</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>type</name>
<value>demo</value>
</componentInstanceProperties>
<componentName>runtime_omnistudio:omniscript</componentName>
<identifier>runtime_omnistudio_omniscript</identifier>
</componentInstance>
</itemInstances>
<name>region2</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<name>region3</name>
<type>Region</type>
</flexiPageRegions>
<masterLabel>LoggerRecipesOmniStudio</masterLabel>
<template>
<name>flexipage:appHomeTemplateHeaderTwoColumns</name>
</template>
<type>AppPage</type>
</FlexiPage>
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<OmniIntegrationProcedure xmlns="http://soap.sforce.com/2006/04/metadata">
<customJavaScript>{}</customJavaScript>
<elementTypeComponentMapping>{&quot;ElementTypeToHTMLTemplateList&quot;:[]}</elementTypeComponentMapping>
<isActive>false</isActive>
<isIntegrationProcedure>true</isIntegrationProcedure>
<isMetadataCacheDisabled>false</isMetadataCacheDisabled>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
<isTestProcedure>false</isTestProcedure>
<isWebCompEnabled>false</isWebCompEnabled>
<language>Procedure</language>
<name>Logger Integration Procedure Demo</name>
<omniProcessElements>
<isActive>true</isActive>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
<level>0.0</level>
<name>AddLogEntry</name>
<omniProcessVersionNumber>0.0</omniProcessVersionNumber>
<propertySetConfig>{
&quot;executionConditionalFormula&quot; : &quot;&quot;,
&quot;failureConditionalFormula&quot; : &quot;&quot;,
&quot;failOnStepError&quot; : true,
&quot;useFormulas&quot; : true,
&quot;additionalInput&quot; : {
&quot;loggingLevel&quot; : &quot;INFO&quot;,
&quot;message&quot; : &quot;Hello, world!&quot;
},
&quot;additionalOutput&quot; : { },
&quot;failureResponse&quot; : { },
&quot;sendOnlyAdditionalInput&quot; : true,
&quot;returnOnlyAdditionalOutput&quot; : false,
&quot;returnOnlyFailureResponse&quot; : false,
&quot;responseJSONPath&quot; : &quot;&quot;,
&quot;responseJSONNode&quot; : &quot;&quot;,
&quot;sendJSONPath&quot; : &quot;&quot;,
&quot;sendJSONNode&quot; : &quot;&quot;,
&quot;remoteClass&quot; : &quot;CallableLogger&quot;,
&quot;remoteOptions&quot; : { },
&quot;remoteMethod&quot; : &quot;newEntry&quot;,
&quot;chainOnStep&quot; : false,
&quot;actionMessage&quot; : &quot;&quot;,
&quot;additionalChainableResponse&quot; : { },
&quot;show&quot; : null,
&quot;label&quot; : &quot;RemoteAction1&quot;,
&quot;disOnTplt&quot; : false
}</propertySetConfig>
<sequenceNumber>1.0</sequenceNumber>
<type>Remote Action</type>
</omniProcessElements>
<omniProcessKey>demo_Logging</omniProcessKey>
<omniProcessType>Integration Procedure</omniProcessType>
<propertySetConfig>{
&quot;linkToExternalObject&quot; : &quot;&quot;,
&quot;trackingCustomData&quot; : { },
&quot;includeAllActionsInResponse&quot; : false,
&quot;columnsPropertyMap&quot; : [ ],
&quot;relationshipFieldsMap&quot; : [ ],
&quot;labelSingular&quot; : &quot;&quot;,
&quot;labelPlural&quot; : &quot;&quot;,
&quot;description&quot; : &quot;&quot;,
&quot;nameColumn&quot; : &quot;&quot;,
&quot;rollbackOnError&quot; : false,
&quot;chainableQueriesLimit&quot; : 50,
&quot;chainableDMLStatementsLimit&quot; : null,
&quot;chainableCpuLimit&quot; : 2000,
&quot;chainableHeapSizeLimit&quot; : null,
&quot;chainableDMLRowsLimit&quot; : null,
&quot;chainableQueryRowsLimit&quot; : null,
&quot;chainableSoslQueriesLimit&quot; : null,
&quot;chainableActualTimeLimit&quot; : null,
&quot;additionalChainableResponse&quot; : { },
&quot;queueableChainableQueriesLimit&quot; : 120,
&quot;queueableChainableCpuLimit&quot; : 40000,
&quot;queueableChainableHeapSizeLimit&quot; : 6,
&quot;ttlMinutes&quot; : 5,
&quot;mockResponseMap&quot; : { }
}</propertySetConfig>
<subType>Logging</subType>
<type>demo</type>
<uniqueName>demo_Logging_Procedure_1</uniqueName>
<versionNumber>1.0</versionNumber>
</OmniIntegrationProcedure>
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<OmniScript xmlns="http://soap.sforce.com/2006/04/metadata">
<elementTypeComponentMapping>{&quot;ElementTypeToHTMLTemplateList&quot;:[]}</elementTypeComponentMapping>
<isActive>false</isActive>
<isIntegrationProcedure>false</isIntegrationProcedure>
<isMetadataCacheDisabled>false</isMetadataCacheDisabled>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
<isTestProcedure>false</isTestProcedure>
<isWebCompEnabled>true</isWebCompEnabled>
<language>English</language>
<name>Nebula Logger Demo</name>
<omniProcessElements>
<isActive>true</isActive>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
<level>0.0</level>
<name>Add New Log Entry</name>
<omniProcessVersionNumber>0.0</omniProcessVersionNumber>
<propertySetConfig>{
&quot;controlWidth&quot; : 12,
&quot;label&quot; : &quot;&quot;,
&quot;remoteClass&quot; : &quot;CallableLogger&quot;,
&quot;remoteMethod&quot; : &quot;newEntry&quot;,
&quot;remoteOptions&quot; : {
&quot;preTransformBundle&quot; : &quot;&quot;,
&quot;postTransformBundle&quot; : &quot;&quot;,
&quot;loggingLevel&quot; : &quot;INFO&quot;,
&quot;message&quot; : &quot;hello, world!&quot;
},
&quot;remoteTimeout&quot; : 30000,
&quot;preTransformBundle&quot; : &quot;&quot;,
&quot;postTransformBundle&quot; : &quot;&quot;,
&quot;sendJSONPath&quot; : &quot;&quot;,
&quot;sendJSONNode&quot; : &quot;&quot;,
&quot;responseJSONPath&quot; : &quot;&quot;,
&quot;responseJSONNode&quot; : &quot;&quot;,
&quot;extraPayload&quot; : { },
&quot;inProgressMessage&quot; : &quot;In Progress&quot;,
&quot;postMessage&quot; : &quot;Done&quot;,
&quot;failureNextLabel&quot; : &quot;Continue&quot;,
&quot;failureAbortLabel&quot; : &quot;Abort&quot;,
&quot;failureGoBackLabel&quot; : &quot;Go Back&quot;,
&quot;failureAbortMessage&quot; : &quot;Are you sure?&quot;,
&quot;validationRequired&quot; : &quot;Step&quot;,
&quot;redirectPageName&quot; : &quot;&quot;,
&quot;redirectTemplateUrl&quot; : &quot;vlcAcknowledge.html&quot;,
&quot;redirectNextLabel&quot; : &quot;Next&quot;,
&quot;redirectNextWidth&quot; : 3,
&quot;redirectPreviousLabel&quot; : &quot;Previous&quot;,
&quot;redirectPreviousWidth&quot; : 3,
&quot;showPersistentComponent&quot; : [ true, false ],
&quot;show&quot; : null,
&quot;HTMLTemplateId&quot; : &quot;&quot;,
&quot;wpm&quot; : false,
&quot;ssm&quot; : false,
&quot;message&quot; : { },
&quot;pubsub&quot; : false,
&quot;svgSprite&quot; : &quot;&quot;,
&quot;svgIcon&quot; : &quot;&quot;,
&quot;errorMessage&quot; : {
&quot;custom&quot; : [ ],
&quot;default&quot; : null
},
&quot;enableDefaultAbort&quot; : false,
&quot;enableActionMessage&quot; : false,
&quot;useContinuation&quot; : false,
&quot;businessCategory&quot; : &quot;&quot;,
&quot;businessEvent&quot; : &quot;&quot;,
&quot;toastComplete&quot; : true
}</propertySetConfig>
<sequenceNumber>0.0</sequenceNumber>
<type>Remote Action</type>
</omniProcessElements>
<omniProcessElements>
<isActive>true</isActive>
<isOmniScriptEmbeddable>false</isOmniScriptEmbeddable>
<level>0.0</level>
<name>Save Log</name>
<omniProcessVersionNumber>0.0</omniProcessVersionNumber>
<propertySetConfig>{
&quot;controlWidth&quot; : 12,
&quot;label&quot; : &quot;Save Nebula Logger Log&quot;,
&quot;remoteClass&quot; : &quot;CallableLogger&quot;,
&quot;remoteMethod&quot; : &quot;saveLog&quot;,
&quot;remoteOptions&quot; : {
&quot;preTransformBundle&quot; : &quot;&quot;,
&quot;postTransformBundle&quot; : &quot;&quot;
},
&quot;remoteTimeout&quot; : 30000,
&quot;preTransformBundle&quot; : &quot;&quot;,
&quot;postTransformBundle&quot; : &quot;&quot;,
&quot;sendJSONPath&quot; : &quot;&quot;,
&quot;sendJSONNode&quot; : &quot;&quot;,
&quot;responseJSONPath&quot; : &quot;&quot;,
&quot;responseJSONNode&quot; : &quot;&quot;,
&quot;extraPayload&quot; : { },
&quot;inProgressMessage&quot; : &quot;In Progress&quot;,
&quot;postMessage&quot; : &quot;Done&quot;,
&quot;failureNextLabel&quot; : &quot;Continue&quot;,
&quot;failureAbortLabel&quot; : &quot;Abort&quot;,
&quot;failureGoBackLabel&quot; : &quot;Go Back&quot;,
&quot;failureAbortMessage&quot; : &quot;Are you sure?&quot;,
&quot;validationRequired&quot; : &quot;Step&quot;,
&quot;redirectPageName&quot; : &quot;&quot;,
&quot;redirectTemplateUrl&quot; : &quot;vlcAcknowledge.html&quot;,
&quot;redirectNextLabel&quot; : &quot;Next&quot;,
&quot;redirectNextWidth&quot; : 3,
&quot;redirectPreviousLabel&quot; : &quot;Previous&quot;,
&quot;redirectPreviousWidth&quot; : 3,
&quot;showPersistentComponent&quot; : [ true, false ],
&quot;show&quot; : null,
&quot;HTMLTemplateId&quot; : &quot;&quot;,
&quot;wpm&quot; : false,
&quot;ssm&quot; : false,
&quot;message&quot; : { },
&quot;pubsub&quot; : false,
&quot;svgSprite&quot; : &quot;&quot;,
&quot;svgIcon&quot; : &quot;&quot;,
&quot;errorMessage&quot; : {
&quot;custom&quot; : [ ],
&quot;default&quot; : null
},
&quot;enableDefaultAbort&quot; : false,
&quot;enableActionMessage&quot; : false,
&quot;useContinuation&quot; : false,
&quot;businessCategory&quot; : &quot;&quot;,
&quot;businessEvent&quot; : &quot;&quot;
}</propertySetConfig>
<sequenceNumber>1.0</sequenceNumber>
<type>Remote Action</type>
</omniProcessElements>
<omniProcessType>OmniScript</omniProcessType>
<propertySetConfig>{&quot;persistentComponent&quot;:[{&quot;render&quot;:false,&quot;label&quot;:&quot;&quot;,&quot;remoteClass&quot;:&quot;&quot;,&quot;remoteMethod&quot;:&quot;&quot;,&quot;remoteTimeout&quot;:30000,&quot;remoteOptions&quot;:{&quot;preTransformBundle&quot;:&quot;&quot;,&quot;postTransformBundle&quot;:&quot;&quot;},&quot;preTransformBundle&quot;:&quot;&quot;,&quot;postTransformBundle&quot;:&quot;&quot;,&quot;sendJSONPath&quot;:&quot;&quot;,&quot;sendJSONNode&quot;:&quot;&quot;,&quot;responseJSONPath&quot;:&quot;&quot;,&quot;responseJSONNode&quot;:&quot;&quot;,&quot;id&quot;:&quot;vlcCart&quot;,&quot;itemsKey&quot;:&quot;cartItems&quot;,&quot;modalConfigurationSetting&quot;:{&quot;modalHTMLTemplateId&quot;:&quot;vlcProductConfig.html&quot;,&quot;modalController&quot;:&quot;ModalProductCtrl&quot;,&quot;modalSize&quot;:&quot;lg&quot;}},{&quot;render&quot;:false,&quot;dispOutsideOmni&quot;:false,&quot;label&quot;:&quot;&quot;,&quot;remoteClass&quot;:&quot;&quot;,&quot;remoteMethod&quot;:&quot;&quot;,&quot;remoteTimeout&quot;:30000,&quot;remoteOptions&quot;:{&quot;preTransformBundle&quot;:&quot;&quot;,&quot;postTransformBundle&quot;:&quot;&quot;},&quot;preTransformBundle&quot;:&quot;&quot;,&quot;postTransformBundle&quot;:&quot;&quot;,&quot;id&quot;:&quot;vlcKnowledge&quot;,&quot;itemsKey&quot;:&quot;knowledgeItems&quot;,&quot;modalConfigurationSetting&quot;:{&quot;modalHTMLTemplateId&quot;:&quot;&quot;,&quot;modalController&quot;:&quot;&quot;,&quot;modalSize&quot;:&quot;lg&quot;}}],&quot;allowSaveForLater&quot;:true,&quot;saveNameTemplate&quot;:null,&quot;saveExpireInDays&quot;:null,&quot;saveForLaterRedirectPageName&quot;:&quot;sflRedirect&quot;,&quot;saveForLaterRedirectTemplateUrl&quot;:&quot;vlcSaveForLaterAcknowledge.html&quot;,&quot;saveContentEncoded&quot;:false,&quot;saveObjectId&quot;:&quot;%ContextId%&quot;,&quot;saveURLPatterns&quot;:{},&quot;autoSaveOnStepNext&quot;:false,&quot;elementTypeToHTMLTemplateMapping&quot;:{},&quot;seedDataJSON&quot;:{},&quot;trackingCustomData&quot;:{},&quot;enableKnowledge&quot;:false,&quot;bLK&quot;:false,&quot;lkObjName&quot;:null,&quot;knowledgeArticleTypeQueryFieldsMap&quot;:{},&quot;timeTracking&quot;:false,&quot;hideStepChart&quot;:false,&quot;mergeSavedData&quot;:false,&quot;visualforcePagesAvailableInPreview&quot;:{},&quot;cancelType&quot;:&quot;SObject&quot;,&quot;allowCancel&quot;:true,&quot;cancelSource&quot;:&quot;%ContextId%&quot;,&quot;cancelRedirectPageName&quot;:&quot;OmniScriptCancelled&quot;,&quot;cancelRedirectTemplateUrl&quot;:&quot;vlcCancelled.html&quot;,&quot;consoleTabLabel&quot;:&quot;New&quot;,&quot;wpm&quot;:false,&quot;ssm&quot;:false,&quot;message&quot;:{},&quot;pubsub&quot;:false,&quot;autoFocus&quot;:false,&quot;currencyCode&quot;:&quot;&quot;,&quot;showInputWidth&quot;:false,&quot;rtpSeed&quot;:false,&quot;consoleTabTitle&quot;:null,&quot;consoleTabIcon&quot;:&quot;custom:custom18&quot;,&quot;errorMessage&quot;:{&quot;custom&quot;:[]},&quot;stylesheet&quot;:{&quot;newport&quot;:&quot;&quot;,&quot;lightning&quot;:&quot;&quot;,&quot;newportRtl&quot;:&quot;&quot;,&quot;lightningRtl&quot;:&quot;&quot;},&quot;stepChartPlacement&quot;:&quot;right&quot;,&quot;disableUnloadWarn&quot;:true,&quot;scrollBehavior&quot;:&quot;auto&quot;,&quot;currentLanguage&quot;:&quot;en_US&quot;}</propertySetConfig>
<subType>Logging</subType>
<type>demo</type>
<uniqueName>demo_Logging_English_1</uniqueName>
<versionNumber>1.0</versionNumber>
<webComponentKey>2d957d61-29ef-3aeb-de6c-75e205fbacd2</webComponentKey>
</OmniScript>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<flexiPage>LoggerRecipesOmniStudio</flexiPage>
<label>Logger OmniStudio Demo</label>
<motif>Custom56: Bottle</motif>
</CustomTab>

0 comments on commit 55c9c15

Please sign in to comment.