Questions tagged [attribute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Frank Stevens's user avatar
2 votes
2 answers
3k 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 ...
Ruben's user avatar
  • 31
1 vote
4 answers
10k 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" ...
kosh's user avatar
  • 143
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 ...
Diamundo's user avatar
  • 269
0 votes
2 answers
655 views

converting the Picklist to Read only field in Visual Force

Hi I have a Field on VF <apex:inputfield value="{!opObj.Product_Family__c}" required="false" rendered="{!!isEdit}" onkeypress="return handlerKeyPress(event);"/> <apex:outputfield value=...
Samuel Jackson's user avatar
0 votes
1 answer
779 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 ...
Suryatej Mukkamalla's user avatar
6 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" ...
SfdcBat's user avatar
  • 4,751
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" ...
SfdcBat's user avatar
  • 4,751
0 votes
1 answer
208 views

Custom Attributes Not Showing Up In Contact Builder

In both Android and iOS we set some custom attributes for marketing to filter on. In the contact builder's data designer, we are using the system supplied contact key as the primary key and are ...
Alex F's user avatar
  • 13
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="...
itsmebasti's user avatar
  • 6,359

1
2