Questions tagged [parameters]

A parameter is a variable, it is used in a subroutine to refer to one of the pieces of data provided as input to the subroutine. These pieces of data are called arguments.

Filter by
Sorted by
Tagged with
2
votes
1answer
936 views

Help with extension to pass parameters to pre-populate fields on new custom object record vf page

I have a Visualforce page for creating a new record (custom object) from account. I also have a controller extension to pass the URL parameters and other values to pre-populate values on the vf page. ...
0
votes
1answer
199 views

How to pass current date values from account into Flow elements?

There are date fields on the Account object that I would like to update via a Flow. However, I want to expose any existing date values in the flow (if the date fields were filled out prior to entering ...
1
vote
1answer
73 views

Youtube embedded variables and parameters

I can embed youtube videos in my visualforce pages like this <apex:iframe width="750" height="422" src="https://www.youtube.com/embed/1UCp5HtiyfA?rel=0" frameborder="1" /> but I can't ...
2
votes
1answer
1k views

apex param in apex repeat (pass parameter to controller in repeat) not working

I have an apex:repeat and I want to use and apex:param in it. The repeater shows the userName of the person who liked the feed (like.user.Name). And if this userName is same as the person who has ...
0
votes
1answer
118 views

Retrieve data from a WebService and fill Standard Page (Lead) fields

Here's my scenario: I need to create a basic search, based on the custom field "ZipCode__c". User types in the zip code and then I have to use a WebService to retrieve the address information (non-...
1
vote
1answer
904 views

Passing parameter from component to controller through ActionFunction

I would like to pass a parameter from my component to the controller. Here is the source code: <apex:actionFunction name="attachFil" action="{!attachFile}"> <apex:param name="...
3
votes
0answers
1k views

Passing parameters to url scheme salesforce1://

I am connecting to salesforce1 (mobile app) from another mobile native app using the salesforce1:// mobile scheme, as per the overview document. Instead of using standard objects and pages I am ...
1
vote
2answers
1k views

How can I set current page and current parameters in visualforce expression?

I have an output link on a vf page. I'd like for users to navigate to the edit page and then be redirected back to the vf page where they came from (which has a parameter in the URL). How can I do ...
1
vote
1answer
336 views

Read URL parameter as variable in visual workflow

scenario is like this, marketing team sent blast email to campaign member. member receive the email invitation. if member want to confirm his attendance for the campaign, he can simply click the ...
0
votes
1answer
645 views

S1 server side detection method explanation

I found the following method for S1 server side detection on github: //Determin if this is SF1 app public static Boolean isSF1(){ if(!Utils.checkNullOrBlank(ApexPages.currentPage().getParameters()...
2
votes
2answers
4k views

Passing parameter through commandbutton is null value

I'm trying to pass a parameter of an Object to a controller with this code block: <apex:commandButton value="Accept" action="{!Accept}" > <apex:param name="deal" ...
3
votes
3answers
968 views

Insert a blank date value in URL hacking?

In URL hacking, how do you insert a blank string value for a date? We have a button that we're implementing that is like the clone button, with a couple of changes. It breaks when I try to clear out ...
3
votes
1answer
72 views

problem with sObject as parameter

I get the below error when I try saving CLASS 1 below. The second class that is the problem is also below. I obviously don't understand objects or apex well, so any help would be greatly appreciated. ...
2
votes
2answers
1k views

pass parameter to custom label from javascript

I have a custom label that prints 'Enter at least 2 characters to search.' I would like to make the 2 a parameter that gets passed in so that the user can adjust it at their discretion. So the label ...
1
vote
1answer
2k views

Conga Mail Merge parameters in url

I'm trying to get Conga Composer to work. I want to generate a mail merge, where, in Conga, the user is given the option of selecting which records are to be merged. I have a button on a custom ...
3
votes
1answer
108 views

request parameters contain org address

I have a custom button on account that's content source is URL. (target page uses opportunity standard controller) In the url I specify apex page and a parameter ...?retUrl={!Account.id} Now in the ...
4
votes
2answers
1k views

What reasons would the id in URL be null?

My app is getting the object id from the URL query string with the following code: ApexPages.currentPage().getParameters().get('id') However, I have a customer who is reporting that this isn't ...
1
vote
0answers
485 views

Parameters is null - in Facebook toolkit

I am using facebook toolkit for posting on fan page and wall of facebook. I am calling the VF page from a custom button. When i click on the custom button on record the id of the record is passed with ...
12
votes
4answers
22k views

How do I pass a parameter from component to a Visualforce page?

Can I pass a email value from a visualforce component to a Visualforce page? I have used components for reusing Company's logo and few images... <apex:component> <apex:image value="{!$...
6
votes
1answer
1k views

What does &inline in a url mean?

I am having a VF page in a pagelayout and there is a outputlink in that Vfpage which calls another VF page. This VF page url is appended with &inline=1. What does this &inline=1 mean. I can ...

1 2 3
4