Questions tagged [variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

List all existing Flows as options in a Custom Object field

I am working on a project and I want to create a Custom Object that has as a field a lookup for flows. I would like to know if there is some kind of way to retrieve all existing flows in one org and ...
0
votes
1answer
13 views

Static variable is cleared between page load and button click - how do I keep the values?

I have a VF page in which I load an account on the page load. I've created a static variable to save the loaded account in to, in order to compare whether any changes were made on the page as I need ...
-1
votes
1answer
16 views

Variable does not exist in in method

I am trying to pass value from a map into a string set but get the error: variable does not exist: NewToolsMap in my execute method. I tried to make my map public but this does not seem to work. How ...
0
votes
1answer
17 views

Declare Static Resource as a variable to assign its value through commandbutton

I have the following code: <apex:mapMarker position="{!war.GeoLocPosition__c}" title="{!war.Name}" icon="{!IF(war.AE_letzte_12_Monate__c > 5000,URLFOR($Resource.ms_star), ...
1
vote
2answers
27 views

How do I invoke an apexclass from flow and return a list back to flow

I have a flow from which I want to call an apexclass and retrieve a list of picklistvalues so a user can select from these in a flowscreen. How do I achieve this. I tried the code below but when I use ...
1
vote
1answer
29 views

How to adress method in class

How do I access the method getDateTime in the following class. I tried ZuoraObject zo = new ZuoraObject(); but get the error constructor not defined public class ZuoraObject { private Zuora....
1
vote
1answer
149 views

Visual Studio Code debugger - how do I see content of object or map?

I've started using Visual Studio Code to run through my debug logs, but am not seeing the content of certain types of variables and am wondering whether I'm just missing something or whether this isn'...
1
vote
1answer
31 views

Variable does not exist: hed__End_Date__c

public class UpdateGraduated { public static void WhenGraduatedUpdate(List<hed__Program_Enrollment__c> enrollmentListUpdate){ try{ List<hed__Program_Enrollment__c> ...
0
votes
1answer
32 views

Accessing variables in a SOQL query

Trying to build a string with the the parts of a SOQL query. I cant get the syntax right with the Account.name and Count fields, even tried the alias name and 'co'. `List < AggregateResult > ...
1
vote
1answer
42 views

How do you share variable values across multiple blocks within an email?

I have a @variable1 defined in an email HTML content block that is defined. When the email iterator starts, I would like to use the value of @variable1 in a second HTML content block. How do I do ...
0
votes
2answers
59 views

Setting Invocable Variable value for a Test Class

I'm having difficulty finding a way to write the syntax to set my invocable variables in the test class: Here's the code. global class EmailPreventivoAccettato { global class Parametri { @...
0
votes
0answers
17 views

variable between two visual page with the same controller

I have a controller like that : public with sharing class JSONDeserialize { public integer d {get;set;} } public void callout() { d = 2; } On my first visual page I have : <apex:page ...
0
votes
1answer
148 views

Subject Line exceeding 400 character limit with ampscript

I usually just put all of the AMPscript for subject lines in the subject line itself, but there are a metric ton of versions for this one I'm working on, so it's exceeding the 400 character limit when ...
0
votes
0answers
59 views

Set apex:variable from javascript

I have a question: I need to set the value of an apex:variable (test) equal to a javascript variable (result). You can see my code below: window.onload = function(){ console.log(...
2
votes
1answer
47 views

How to add dynamic value to URLFOR after path

I have an apex repeat which I want to use to add an dynamic id at the end of the URLFOR but get an syntax error what is wrong with my annotation See: <apex:repeat value="{!idsContentdocument}" ...