Questions tagged [properties]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
25 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 ...
0
votes
0answers
33 views

Community Page Properties: Can the `:recordName` parameter be omitted or suppressed?

In the Community builder, page properties can be reviewed and set. Some of these properties, such as URL are read-only. custom-object/:recordId(/:recordName) While I understand that omitting the :...
1
vote
0answers
82 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() { ...
0
votes
1answer
55 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 ...
0
votes
0answers
29 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 ...
1
vote
0answers
63 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 ...
1
vote
1answer
112 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" ...
4
votes
1answer
50 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. ...
2
votes
2answers
25 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 { ...
1
vote
0answers
150 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) ...
4
votes
2answers
2k 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 ...
0
votes
2answers
73 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(),...
6
votes
2answers
1k 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{...
0
votes
1answer
118 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" ...
2
votes
1answer
80 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="{!...