Questions tagged [attribute]
The attribute tag has no usage guidance.
62
questions
7
votes
2
answers
6k
views
AssignTo variable in attribute
I have a visualforce component as below:
<apex:component controller="RecordDisplayController">
<apex:attribute name="objectName" description="An Sobject" type="Sobject" required="false" ...
5
votes
1
answer
5k
views
How can I access HTML attributes in Lightning
I stumbled over this a couple times now so I decided to do some research, but found no one alse complaining about missing access to html attributes. These are my findings and I hope to get some more ...
4
votes
1
answer
797
views
Can you know if a component's event is handled?
Component Billy can dispatch an event:
this.dispatchEvent(new CustomEvent('stuffHappened'));
Can Billy know if its parent provided a handler for that event?
Can it know if it was called like this:
&...
4
votes
3
answers
895
views
Where can i ckeck all the attribute fields of salesforce objects?
I'm a new developer in salesforce, and just realize that there are some "attribute fields" (i don't know if that's the correct name) but i cant figure it out where are those field "set"/"declare".
...
3
votes
2
answers
4k
views
Marketing Cloud: Mobile Push Attributes
I am trying to set some attributes in marketing cloud using the addAtribute method:
(http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/features/attributes.html)
There it says that it is ...
3
votes
0
answers
61
views
Change values within the component, that are assigned to component attributes
I can't change controller variables (myNumber) within the component, that are assigned to apex:attributes.
<apex:component controller="MyCtrl">
<apex:attribute name="number" type="...
2
votes
1
answer
880
views
Split a row with data separated by ","
I need to split a row from a DE. The row contents 4 strings, and I want to see the content in a table. Right now I have some code; but doesn't work:
Script
%%[
VAR @Productos<br/>
SET @...
2
votes
1
answer
8k
views
Get array size from parent component?
I have a component, with an attribute being an array of my custom sObject.
In the component, I aura:iteration over that array, each time calling a new component with the (then) current item in the ...
2
votes
1
answer
69
views
When LWC invokes a function, is it possible for the function to access arbitrary attributes in the invoking element?
Let's say my LWC has the following code:
<c-widget-tile widget={widget} onwidgetselect={openWidget}></c-widget-tile>
Assuming widget contains the data for an instance of Widget__c Is it ...
2
votes
1
answer
145
views
JB4A-SDK-Android 5.3.0 Attribute.Create(String, String)
I'm attempting to expand our basic implementation of the Marketing Cloud SDK in our Android app. We've successfully been using it to send push notifications, and are now adding some attributes so we ...
2
votes
1
answer
161
views
Check whether Marketing Cloud subscriber attribute is required or not
I am trying to create marketing Cloud subscriber using SOAP API. With in this process I need identify the subscriber attributes which are required. But when I retrieve susbcriber attributes as this , ...
1
vote
4
answers
11k
views
Read value attribute in lightning button in the client js controller
I create a bunch of buttons in a table with aura:iteration. Think of it as one per contact per row to act on the record. Here is the button markup inside a td -
<lightning:button variant="brand" ...
1
vote
1
answer
168
views
Automatically set a value on an attribute sobject field
I have a class with more than 10 attributes (fields).
Each attribute is filled depending of a context (conditions "if"):
if(value == '1'){
myobject.attribute1 = value;
}else if(value == '2'){
...
1
vote
1
answer
53
views
Getter Block execution without VF reference
My understanding of the Getter Setter is that getter is invoked if the particular variable is being referenced in VF Page.
However for the following code I see that Getter is getting called even if ...
1
vote
1
answer
9k
views
Pass attributes to child
I have 2 components, 1 parent and 1 child.
c:parentComponent
<aura:component >
<aura:attribute name="passToChild" type="String" required="false" description="" access="private"/>
...
1
vote
1
answer
316
views
Where is this LWC attribute defined?
An org I'm working in has an existing custom LWC component that functions as a dynamic look up. You can define which object it looks up to but in this instance it is working with Accounts. When ...
1
vote
1
answer
78
views
Using FuelSDK-PHP to connect Drupal 8 to Exact Target, and the "Email Address" attribute doesn't seem to be available to map to
Using FuelSDK-PHP to connect Drupal 8 to ExactTarget Marketing Cloud. The library pulls ALL of the subscriber attributes EXCEPT "Email Address". Currently using ET_ProfileAttribute::get() to pull ...
1
vote
1
answer
1k
views
Possible to query _ListSubscribers and _EnterpriseAttributes and not use All Subscribers?
I have an E2.0 account with parent/child MIDs and I'm trying to pull in a population for a Journey.
When I combine _ListSubscribers with _EnterpriseAttribute and declare ListID = 'All Subs List ID" ...
1
vote
1
answer
1k
views
Translate design:attribute
Is it possible to use custom label when using the <design:attribute> tag?
I can merge in labels like label="{!$Label.myNamespace.my_Label}" in a component but does it not render when using ...
1
vote
1
answer
144
views
Radial chart attributes
I created a visualforce page which displays a radial chart. How can I change the number of lines of the chart? My chart displays always two lines per value 1, 2, 3, 4, 5, but I want to display just ...
1
vote
1
answer
750
views
Understanding LWC without APEX?
I made a post under the title a few days ago called "Conditional Rendering of a Form Based on Case Status LWC (if:true)"
In that post I talk about how I am trying to set an attribute to the ...
1
vote
1
answer
982
views
How to change attribute from a product?(SFCC)
I'm totally fresher on Salesforce B2c commerce and the instructor of the classes passed one task that i am struggling to solve.
Task:
All the products sold by weight needed to change to unit.
For ...
1
vote
1
answer
3k
views
How to display a specific list in a component lightning?
I have a JSON and I parse it. Finally I this is my class for parsing the JSON :
public class InterlocuteursParser {
public class Interlocuteurs {
public String contact;
public ...
1
vote
1
answer
211
views
Is there any way to access the Aura $A global instance namespace or AuraLocalizationService through a VisualForce page?
I would like to be able to do something like this:
$A.localizationService.WallTimeToUTC(d, timezone, function(utc) {
displayDate = $A.localizationService.formatDateTime(utc, format, langLocale);
}...
1
vote
1
answer
2k
views
Conditional Rendering of a Form Based on Case Status LWC (if:true)
I am trying to get a form to render conditionally based on the Status value of a case (don't ask me why I'm doing this just trying to learn about attributes, @wire, etc.). Any help would be ...
1
vote
0
answers
167
views
AMPscript Dynamic Date MobilePush Message
Is it possible to reference a date attribute of a particular push message? As in something like:
%%[
VAR @messageCreatedTime
SET @messageCreatedTime = MessageCreatedTime
]%%
Inbox Subject Line: %%=...
1
vote
1
answer
568
views
Creating Attribute Group and Attribute Set by API
Is it possible to create Attribute Group and Attribute Set in Marketing Cloud by API? I don't see endpoints in documentation for doing that. Thanks for help.
1
vote
1
answer
150
views
Json attribute not showing in Marketing Cloud
I have a Json string and something does not make any sense to me. Here is the problem:
I have a Json string with the following attributes in it:
[{"MiddleName":"der","LastName":"Emmerzaal"},{"...
1
vote
0
answers
83
views
Lightning Attribute: Get JavaScriptObject
I have a lightning component with this attribute:
<aura:attribute name="transportData" type="Object[]" access="global"/>
I am getting the data from a http Request:
$.ajax({
url: "...
1
vote
0
answers
446
views
What is the difference between attribute Group and Population in Exact Target?
I have 2 tables /Data Extensions and I want to link them in contact builder.
Now I fail to understand if I should link them in Attribute Group or in Population Builder.
Also, when I go to Population, ...
1
vote
0
answers
569
views
Attributes not being added to Marketing Cloud
I am attempting to add attributes to Marketing Cloud in the onETPushConfigurationSuccess() method in the application class. etRequestStatus.etPushSdkStatusCode = 0 and the application is able to ...
0
votes
1
answer
17k
views
LWC update toggle checked/unchecked attribute from JS
First of all I’m new to LWC development so I would like to apologize if the question looks stupid.
I’m currently working on a LWC and I would like to create 2 toggles but I want only one toggle to be ...
0
votes
2
answers
4k
views
Background color of lightning Button
Hello everybody I want to style the background color of a lightning button with a color so I went to check the Salesforce documentation and found out this:
So I did something like that:
....
0
votes
2
answers
632
views
Set 'option' attribute of CheckboxGroup via Apex
So this is an example of what i need to know.
Basically i want to set the option attribute of my lightning:checkboxGroup via apex
I even tried with a Map instead of an Object in apex controller.
...
0
votes
1
answer
50
views
Lightning Component Attribute
I have a lightning component with a child component. I'm passing an array of object to the child. It seemed that there was an attribute that I could set to invoke a function once the child attribute ...
0
votes
1
answer
715
views
Updating Profiles into All Subcribers from a Data Extension
I am currently needing to update one of my attributes in All Subscribers with the same attribute that currently lives in one of Master Data Extensions. I have created the attribute in All Subs but don'...
0
votes
1
answer
1k
views
How use apex attribute of type Sobject
I am building a visualforce component where I have:
<apex:attribute name="objectName" description="An Sobject" type="Sobject" required="false"/>
<apex:attribute name="ChildName" ...
0
votes
1
answer
83
views
Tracking extract - attributes file
can someone help with including attributes in the tracking extract output?
My goal is to include in the tracking extract an internal list id that corresponds with a subscribers' event. That list id is ...
0
votes
1
answer
450
views
Deployment of Vlocity Insurance Product Configuration
Is there any way from where we can deploy Vlocity Insurance Industry components like Vlocity Attributes Category, Vlocity Attributes, Child Products (Coverage Spec/Insured Party/Insured Item), root ...
0
votes
1
answer
432
views
Question about Entry Source DE using Attribute Group
So I was building a journey with the entry source as a DE where the data in that DE would be populated by a cloudpage. There would be emails sent for confirmation on submit.
I was told that this ...
0
votes
1
answer
153
views
Data type not found in Data Extension creation
in a DE including products details, I have an attribute which include the url of the image of product.
I should choose the data type url (as it is in the related synchronized DE) but I can't find .
I ...
0
votes
1
answer
279
views
Set User and Attributes - Marketing Cloud
I have implemented the following base collect code:
<script type="text/javascript" src="//MID.collect.igodigital.com/collect.js"></script>
<script>
_etmc.push(["setOrgId", "MID"])...
0
votes
1
answer
185
views
What are the similarities/differences between force:recordData attributes
I've just completed a few Lightning Component Trailhead modules and the last one discussed the Lightning Data Service which introduces <force:recordData ... />. For some examples, they use ...
0
votes
1
answer
2k
views
How to define a field value of an object in javascript
I have an iteration over the values of a picklist in a lightning component. It dynamically generates checkboxes for every value of this picklist.
I want to be able to use the value of this picklist ...
0
votes
2
answers
1k
views
Personalization strings problems
I want to set up personalization strings on a email in marketing cloud salesforce from several data extensions without going through AMPScript. Is there a friendly way to use attributes from multiple ...
0
votes
1
answer
575
views
Automatically update Profile attributes
What is the easiest way to update profile attributes included in _Subscribers list without exporting, updating and uploading the subscribers again?
0
votes
1
answer
852
views
Change the value of the component variable used in the "AssignTo" attribute of the <apex:attribute> tag
I am running into an issue with a custom component I have written. The controller for the component has the following member:
public String crmId { get; set; }
This member is used in the component ...
0
votes
0
answers
21
views
How do I compare two attributes in Journey Builder Decision Split?
I have an email with an interactive form which asks users to specify how many properties they have in total.
I already know how many properties they have listed on our platform.
So, when the user ...
0
votes
0
answers
63
views
Vlocity/Salesforce Industries Cloud: Product Attribute of type Lookup?
Is it supported to create an Attribute of type "Lookup" in Salesforce Industries CPQ? I see that for example, Picklists, text and number are supported but i don't see Lookup to be supported. ...
0
votes
1
answer
903
views
Vlocity (Communications Cloud): set product attribute programmaticaly from Apex
Is there a way to properly set an attribute value on an object in Communications cloud? Assume we've got an attribute called 'Color' on the Product2 object.
As for now, I only see the option to set ...