Questions tagged [properties]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
64 views

Is it safe to reference property's directly in getter/setter in apex?

I was wondering what your thoughts/concerns are regarding to refering to a property itself in your getter/setter... Is this considered to be always save and correct in apex? Example: private String ...
PieterJacob's user avatar
4 votes
0 answers
822 views

Remove default LWC Tooltip "This property supports using an expression to define its custom label"

In our organisation we have some LWC with configurable fields in the XML As you can see, some of them have description and others have not. Even for the ones that have a description, the help text ...
Luisma Whatakuai's user avatar
0 votes
1 answer
387 views

What is the difference between the Name and the CustomerKey of a data extension?

I did not understand yet what the difference between the 'Name' - argument in the data extension properties and its attribute 'CustomerKey' is: props = {'Name': 'Test-Name', 'Description': 'Sends ...
Andreas L.'s user avatar
3 votes
1 answer
379 views

Performance comparison between LWC Reactive property and javascript Property

There two ways we can define property in lwc javascript. We can define reactive property which we can use in HTML page. This reactive property stays throughout the lifecycle of the LWC component. ...
Ranjit Mishra's user avatar
0 votes
1 answer
155 views

Pass api property to not connected lwc

Those lwc are on one screen flow, but its only connection between them. I need to pass api property from one lwc to another, but they must be separate. So my '@api selectedProjectId' value must be ...
Iliasin's user avatar
0 votes
1 answer
70 views

Is it possible to get Access to Send Email (All Email Services) property in Deliverability

I try to get Send Email (All Email Services) property by ant and get metadate. But i really dont know where can i find this property. Can you give me hint what should i include in my package.xml Best ...
WhyImHere's user avatar
3 votes
1 answer
518 views

Apex Final Property Behaves Like a Member Variable

Assume we have a simple class: public with sharing class SomeClass { public String property { get; set; } { property = 'Default Property Value'; } public ...
Oleh Berehovskyi's user avatar
0 votes
2 answers
333 views

Passing values to property LWC

I'm trying to pass a value after checking that the URL coming from the connectedCallback is valid. When I try to pass the value to the this.frontImage property I'm facing an issue, nothing really ...
Carlos Naranjo's user avatar
1 vote
0 answers
580 views

How to use a JS property in a CSS style?

While making a Lightning Web Component, I am trying to use a JS property in an inline CSS style, but it's more complicated than I thought. My property looks like this: get yesVisColorLabel() { ...
Sander de Jong's user avatar
0 votes
1 answer
271 views

Can i create changing variable in apex class

Hello guys i wrote to update class for case object and this object have a many records thats why i cant execute Soql queries, I encountering error: "So many soql queries",i searched i found one way, i ...
Furkan Kuyular's user avatar
0 votes
0 answers
52 views

Controller property set to null after actionPoller execution

I am assigning controller properties with some value in its constructor. I am using <apex:actionPoller /> on VF page and it is rerendering some part of visualforce page section. But it not ...
Sachin Singhal's user avatar
1 vote
0 answers
226 views

write SFMC [Script activity] [SSJS] object Properties to a DE

i my objective is to write object properties(Folder, DE , etc) to a DE , how can i achieve this? here i tried, unsuccessfully, to write folderID to DE column ID , eventually i would like gather all ...
SFMC_Ranger 07's user avatar
1 vote
1 answer
715 views

How do I use custom properties that include a colon (like <div :data="data">) in Visualforce?

Many Vue libraries include components that use colons to signify properties, like Buefy's table syntax: <div v-cloak="true" v-if="MyJSONData != null"> <b-table :data="data" ...
Isaac L's user avatar
  • 174
4 votes
1 answer
217 views

What is the difference between a variable and an automatic read-write property?

Accordingly to the Apex Developer Guide, An Apex property is similar to a variable; however, you can do additional things in your code to a property value before it is accessed or returned. ...
gvgramazio's user avatar
2 votes
2 answers
46 views

Difference between using and not using get; set; in data passed from backend

What is the difference between using and not using get; set; in data passed from backend? I saw examples like this in Apex: using get; set; public with sharing class MyBackendController { ...
oobarbazanoo's user avatar
1 vote
0 answers
333 views

Overloaded Getter Methods for Apex Property

I've a little confused by the order of execution in the following very useful class from Adrian Larson. If I call "get" with just an SObjectType, invoking the first method, the cache.containsKey(key) ...
Cleverlemming's user avatar
4 votes
2 answers
4k views

Deployment Error: Property 'activateRSS' not valid in version 28.0

I am using ANT to deploy a custom package which includes custom code and managed packages. I have deployed the custom package to multiple environments without any issues but I am now facing the ...
TSmith's user avatar
  • 4,932
1 vote
2 answers
200 views

Update Field Properties

I want to Update Field properties Schema.SObjectField field = fieldMap.get(fieldName); Schema.DescribeFieldResult fieldDescribe = field.getDescribe(); labelMap.put(fieldDescribe.getLabel(),...
Mohamed Ithris's user avatar
6 votes
2 answers
2k views

Need help understanding get/set methods, weird behavior

I came across this question somewhere which has been kept me engaged thinking why it is behaving this way. Lets say I have an apex class: public class TestController { public String myString{...
Santanu Halder's user avatar
0 votes
1 answer
138 views

Repeater 's text box value getting null in method

<section class="panel profile-info"> <apex:inputTextarea rows="2" value="{!pagepost}" styleClass="form-control input-lg p-text-area" id="postingonpage" /> <div class="panel-footer" ...
Innodel Salesforce's user avatar
2 votes
1 answer
104 views

Why does this VisualForce page think I'm referencing a Controller variable, instead a field inside of that variable?

Assume that I have a VisualForce page that looks like this: <apex:page controller="SearchResultController" action="{!storeSearchResults}" id="SearchResultsView"> <apex:repeat value="{!...
LRK9's user avatar
  • 854