Questions tagged [databinding]
Data Binding allows an Activity created with the Interaction API or a Custom Activity within Journey Builder to be associated (bound) to customer data, workflow data or other data within an Interaction in a Running state. http://code.exacttarget.com/app-development/journey-builder-development/interactions/how-data-binding-works.html
48 questions
0
votes
1
answer
1k
views
How do I set the height of a div programmatically in the LWC's HTML file?
I have an outer div which wraps an inner div with a dynamic amount of content in it. For reasons that are beyond the scope of this question, I want to set the height of the outer div to match the ...
0
votes
1
answer
148
views
MC Journey - Data binding in a "one-to-many" scenario
I'm having difficulty updating a Sales Cloud field with the correct data via a journey, using the Object Activity. The field mapping is updating the field in the Sales Cloud CRM field with the ...
1
vote
1
answer
245
views
ChartJS Axes Callbacks not able to be passed from Parent to Child component
I am using ChartJS to display numerical values and I am looking to modify the Axes labels to display with commas. I want to do so by having the chart config look like:
var xyValues = [
{x:50, y:7},...
0
votes
2
answers
1k
views
Retrieve(get) the data from another component LWC
I want to retrieve(get) the data of another component.
What I want to do is: Get the data from 'iHaveData_cmp' component, and show it in 'iWantData_cmp' component.
I've tried this.template....
0
votes
1
answer
159
views
Struggling to find correct data-bind structure for JSON payload
I am having trouble rendering multiple for:each loops inside of each other and am pretty sure it is the structuring of how I have it. But I am not seeing where the issue is taking place. So when I ...
0
votes
1
answer
675
views
Custom Activity - no inArguments in request body
I am developing a custom activity and I want to get the subscriberKey from my Data Extension as an inArgument. I use data binding, but don't have a relationship between my DE and Contact Builder, as ...
3
votes
1
answer
586
views
Retrieve updated data from Journey Builder EntryEvent (data Extension) in Custom Activity
We're building a Custom Activity that will send a push message to a external platform from Journey Builder. In usage of the Journey, a Emailactivity will update the Entry Event data extension, adding ...
1
vote
1
answer
558
views
Control binding for aura attribute being passed from parent to child
I am taking record id and object name as input from user
<aura:attribute name="recordidinput" type="Id" />
<aura:attribute name="objectname" type="...
0
votes
2
answers
334
views
How to Databind with JSON response from off of the salesforce platform?
I am trying to bring some data from an API call to the salesforce UI with LWCs but I am struggling with where to start on it. I have a cls call out for it and some HTML added below. This is my first ...
0
votes
1
answer
113
views
JB Custom Activity - Data Binding
unfortunately, as is often the case, the documentation is not always comprehensive. In the link about Data Binding (https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/how-...
1
vote
1
answer
555
views
Get Version of Journey Builder in Custom Activity
Is it possible to get the version of Journey builder (inside Custom Activity) from which the execute method got triggered??
or Any other identifier to decide if its a new journey/ a version of same ...
0
votes
1
answer
527
views
Data binding on input element not working with wrapper class
I'm trying to capture input from the user on a visualforce page, but on save the value of the property (myLoanWrap.Amoritization) does not reflect the input value the user enters on the UI, what am I ...
0
votes
1
answer
320
views
URL Data Binding in LWC
I have attachment Id and I need the URL for that particular attachment.
But In my LWC component I am constructing the URL programmatically like:
I want to avoid hardcoding the first part of the ...
1
vote
1
answer
741
views
How to use Journey DE data in Custom Activity?
We have created a custom activity that successfully sends a POST call to the relevant endpoint.
But we can't get it to bind data from the Journey DE.
Have seen this:
{{Event.my-custom-product-trigger-...
0
votes
1
answer
311
views
Error: could not resolve the entity from value binding
VF code
<apex:page standardController="Lead" extensions="Leadclass">
<apex:form >
<apex:pageBlock title="lead">
<apex:...
0
votes
1
answer
22
views
Force databind synchronization on lightning select?
I am having a problem where a lightning select component definitely has a value other than the first item selected, but in the js helper method when I am calling
var temp = component.find('...
1
vote
0
answers
2k
views
Passing recordId to multiple child LWC from parent and displaying fields from them on parent LWC
I am relatively new to LWC and think I could probably handle this ask using Aura, but I really want to get into the new LWC direction so here I am. This ask is for Salesforce CPQ and Docusign. What I ...
-1
votes
1
answer
101
views
Data binding between 2 custom objects
According to the below article, easy way to bind all child records when we use a standard controller is {!Account.Contacts} - {!Parent.RelationshipName of Child}
<apex:repeat value="**{!Account....
0
votes
2
answers
970
views
Pass Values between components with an event
this app have 2 components, the first have 2 inputs and the other have a table to show the values of a list. I want to pass the values of the inputs throught an event to the second component an insert ...
1
vote
1
answer
401
views
Binding array nested in a map to a lightning input component not working as expected
I have a component attribute which is as follows:
<aura:attribute name="variants" type="Map" default="{names: ['Tom', 'Dick', Harry']}" />
The array in the map is used in lightning input ...
2
votes
1
answer
392
views
Custom Activity Data Binding with Salesforce Objects
We can't extract data from the incoming Salesforce Object in the Journey Builder to the Custom Activity we made. We have already followed the syntax that was instructed in your documentation -> https:/...
0
votes
1
answer
747
views
How to pass the non-default parameter from Journey to call the custom Activity
I am working on my first use of custom activity in Journey builder where, I need to access the values of the fields from Data Extension as inArguments. We used the below syntax to pass the input ...
0
votes
0
answers
485
views
How do I get return value (success or fail) when executing custom activities
I'm currently working custom activities on Journey Builder - however, I had troubles with getting response values after execution is done.
[Expected] 1. Journey Activates 2. Execute custom activity 3....
11
votes
3
answers
3k
views
State management/data binding with LWC with many related records
I'm creating a form that displays a fair amount of information and needs to be update-able. I've looked into using lightning data service and <lighnting-record-edit/view> components but there is ...
4
votes
1
answer
417
views
Bound data binding does not work with list items
Let me start by showing you what I am doing.
ParentAppWithListAttr.app
<aura:application >
<aura:attribute type="List" name="justAList" default="['hello','world']"/>
<aura:...
1
vote
1
answer
391
views
How to data-bind to an array element to pass to a dynamically created component?
I have an array of objects that I iterate over and for each object I create a child component and pass in the object. I need data-binding so changes made inside the child component can be accessed in ...
0
votes
1
answer
1k
views
Is it possible to accept multiple data extensions for Journey Builder Custom Activity?
I have an Heroku app that binds to a specific Data Extension:
config.json
"inArguments":[
{ "firstName":"{{Contact.Attribute.__your-de-name__.FirstName}}"},
{ "lastName":"{{Contact.Attribute....
1
vote
0
answers
177
views
What deep magic exists in Apex and can we replicate it? [closed]
When reading Apex code, there are at least two instances where SFDC is doing something more than the is immediately apparent given the syntax of the code, both of which somehow relate to SOQL:
SOQL-...
1
vote
1
answer
2k
views
Updating parent component record name from child sub-component edit via event
onites. I have encountered an issue with updating a record from a child sub-component. The parent component passes the attribute when it instantiates the child component but whenever there is an edit ...
0
votes
0
answers
1k
views
Data binding of lightning:input and aura:attribute with type sObject(field) is not working
There is a weird scenario I'm facing while I try to bind the markup UI tags with Lightning aura:attribute as type sObject (fields).
I'm trying to bind data to sobject's fields for different lightning:...
3
votes
1
answer
490
views
Databinding not propagating up to parent component
I'm trying reference data changes that occurred on child components from my parent component. From the Lightning documentation, it sounds like a two-way data binding will occur as long as long as I ...
0
votes
1
answer
843
views
Lightning Component Field Binding conditional expression
In a component, initially i was binding a case picklist field value as an attribute. But now, i have requirement to bind it to a different field based on a boolean flag.
Original Code snippet (inside ...
1
vote
0
answers
151
views
Data binding variables were displayed Blank in Lightning component inside aura:iterator
I'm Displaying two types of lists in Lightning component. One is List of OpportunityTeamMember and other is List of case. But when I'm iterating over List of Opportunity team members I'm able to see ...
1
vote
2
answers
4k
views
Using variables in SAQL
I'm trying to basically work with SAQL using some sort of variable. Not sure why every time I do that, I receive an error that the Identifier can't be found.
So, let's suppose I want to divide the ...
3
votes
0
answers
687
views
outArguments not appearing correctly in Custom Activity
We are building a custom activity and having issues with using the outArguments where the activity is working 100% and the values are also being correctly processed by the decision split (just did a ...
0
votes
1
answer
468
views
How to use one-time binding with callback response in Lightning?
Based on this article we know that there are 2 types of binding:
{!v.parentAttr} and {#v.parentAttr}
As we know, one time binding ({#...}) does not set up event listeners for change of attribute so ...
2
votes
2
answers
1k
views
Using an Event context in Journey Builder Data Bindings
Background
My question is similar to Eliot's, though I am asking about Event Context.
"inArguments": [
{ "FirstName":"{{Event.__EventDefinitionKey__.FirstName}}" }
]
Unlike Activities events ...
3
votes
1
answer
1k
views
Configure inArguments and outArguments
I am trying to get the outArgument from 1 custom activity to be the inArgument of another. I have looked at the Desk.com example with creating and updating a case but have been unable to translate ...
1
vote
2
answers
759
views
Unable to bind with <apex:inputField>
I have some VF code that is working - basically, I have a custom object form and I am updating the fields via components like this:
<apex:repeat value="{!jewishEducationalHistoryFields}" var="...
2
votes
0
answers
56
views
Lightning collection databinding is broken on Summer 16 [duplicate]
In Spring 16 I have used controls binded to collection values, and it's been working flawlessly until recent release
<aura:component >
<aura:handler name="init" value="{!this}" action="{!c....
1
vote
0
answers
59
views
Unwanted duplicating data from one field into several others
I have a form that behaves strangely. The first field is the Name field on the object. The next field is the first required field. When I enter data in it, that same data appears in all the other ...
2
votes
2
answers
1k
views
Is possible to fire a regular trigger throw API?
I would like to know if it is possible to fire an regular Trigger (the ones you define in the visual interface) using the API. I have done some test using this URL:
https://www.exacttargetapis.com/...
1
vote
1
answer
633
views
Using an Activity context in Journey Builder Data Bindings
The custom-activity-deskapi-node example application helpfully demonstrates how a Data Binding Interaction context can be used to pass a caseId value from an outArgument in a Custom Activity to an ...
0
votes
1
answer
794
views
Using outArgument values as an inArgument values in a Journey Builder Custom Activity
The custom-activity-deskapi-node example application helpfully demonstrates how two Custom Activites can be used to pass outArguments from one 'create-case' Custom Activity:
"outArguments": [
{ "...
4
votes
2
answers
3k
views
Retrieving a Journey Builder Interaction ID using Data Binding
I'm trying to find out whether it's possible to retrieve the Interaction ID (for a running Interaction) using Data Binding. The Interaction ID is different from {{Context.PublicationId}} and {{Context....
3
votes
3
answers
4k
views
Using Data Binding in Journey Builder Activities
I note that in the Data Binding documentation you can use data binding either in a Custom Activity, or in a Journey Builder Activity (created with an Interaction API method).
I'm trying to figure out ...
0
votes
1
answer
426
views
Execute requests not triggered from ExactTarget Journey Builder with Data Bindings
We can use Data-Bindings when execute method is used. But we don't have it after activation of interaction. Here are the steps we are using:
Create new interaction in Journey Builder
Create new ...
0
votes
1
answer
683
views
Passing Filter Criteria from a Trigger to a Custom Activity in ExactTarget Journey Builder
we are building a Custom Activity within Journey Builder. We've followed the provided documentation but are struggling to complete this.
My understanding is that a Custom Activity is triggered from a ...