The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
29 views

SelectOptions bound to component in inconsistent order

My <apex:selectOptions> component is binding the Set<SelectOption> items in an inconsistent order each time the page is loaded. My expectation was to see the items appear in the select ...
1
vote
2answers
39 views

Get the SObjectType of a record in Visualforce - is it possible?

I have a generic VF component that renders Action Links for records of arbitrary SObject types. Iterating over SObjects in variable record I would like to use such a generic expression in my page: ...
1
vote
0answers
17 views

Salesforce Email and tokens

So I inherited the Administration of Salesforce from a previous colleague. We use Salesforce tokens to dynamically populate Contact/Lead names, phone numbers and email address and Contact/Owner names, ...
2
votes
1answer
54 views

pageblock is null when accessed from the action function called on click of a button present within the pageblock using Dynamic Apex

I have an apex:dynamicComponent binded to a pageBlock. In the apex controller, I add dynamic apex components like text boxes, checkboxes and command buttons to a dynamic panelGrid and then add the ...
0
votes
0answers
161 views

Trying to use Dynamic Picklist in the VF, &store whole row in a custom object ,Unable to Bind the Columns from dataTable in Visualforce Page

I am not able to bind the dynamic Dependent picklist that is created from the Visualforce page. Scenario •First Column will list down all the fields(standards & customs) of an Object selected by ...
1
vote
2answers
110 views

added a picklist on standard account object, now can I bind it to custome object

I have added a picklist, Members, on standard account object, I have created a custom member object now can I bind records of this object to above pick list?
6
votes
1answer
588 views

Reusable components in Managed package (Problem with Namespace)

Lately I have been developing set of Visualforce components "VisualStrap" that can be used to implement Bootstrap inside VF pages easily. So to make the upgrade process easy I made a managed package ...
2
votes
0answers
37 views

Why can't I get the size of a List that is the value of a Map key [duplicate]

I receive this error: Incorrect parameter type for subscript. Expected Number, received Text when I try to access the size of a List like this: <apex:outputText value="{!accountsMap[key].size}" ...
3
votes
1answer
1k views

How can I build a complex Visualforce Dynamic Binding dynamically?

How can I build a complex Visualforce Dynamic Binding dynamically? Yeah, I realize the question seems a bit redundant, but I couldn't think of a better way to describe what I'm trying to do. The short ...
9
votes
1answer
602 views

Get the sObjectType of a field dynamically

I have a field Board_Name__c that is a lookup from Opportunity back to Opportunity. How can I dynamically find out that Opportunity.Board_Name__c references the Opportunity sObject while ...
1
vote
1answer
218 views

Create a custom Apex class or custom object at run time

We have a need where we need to parse an xml schema and dynamically create a custom object with fields at run time. Have any of you guys done this and if so can you share code snippets? If the custom ...
2
votes
3answers
320 views

Implementing a form in Salesforce

I am currently the Salesforce administrator of a company Enterprise account. Our accounts are made up of universities. I was asked to implement a form for trips. The trips basic information is: Trip ...
1
vote
1answer
389 views

Need to Implement dependent lookups like dependent picklists

I have two lookups, one for country and one for state. I want that on change of country corresponding state values flows into state look up. How can I implement this? I cannot use picklist due to some ...
2
votes
1answer
83 views

What are the performance implications or other drawbacks of Dynamic VF Bindings?

I have an abstract class and a couple of descendants of that class. When I do an apex:repeat over a list of instances of the abstract class I can't access anything defined solely in the child classes ...
4
votes
2answers
620 views

<apex:relatedList list=“{!DontExistInAllOrgs__c}”/ > only solveable with Dynamic Vf components?

Does there exist a dynamic binding mechanism for the list attribute in the <apex:relatedList> element? I want to display a related list for a relationship that does not exist on all orgs where ...
1
vote
5answers
3k views

Dynamic SOQL variable binding not working for multiple records

Am building a dynamic SOQL where I am using a list of strings that represent record ids, here's an example similar to my class: String q = ''; q += 'SELECT Id FROM' + object; q += ' WHERE Id IN ...
2
votes
2answers
1k views

Strange behavior when passing parameters in retUrl and saveUrl

I'm using a VF page to show Contacts. I have a group of categories (related lists) which are checked or unchecked. When I perform an action on the page, e.g. View, Edit, New, I want SF to remember ...
0
votes
1answer
567 views

Hash symbol when binding variables in URL

I'm trying to populate the Contact lookup when a User creates a new related list object from the Contact page. I am storing the Contact parameter in a Custom Setting so it can be changed when ...
3
votes
1answer
518 views

CurrencyIsoCode - Auto included in query results, except for test cases

I've implemented some functionality around MultiCurrency in a Managed package. Since it needs to be able to support non-multi-currency orgs, all references to the CurrencyIsoCode field are done using ...
2
votes
4answers
4k views

Error: Could not resolve the entity from <apex:inputField> value binding '{!variable}'

This seems like it should be very simple and I have no idea why it isn't working. I have a VF page with a controller. The controller has the following property (yes, I made sure to save): public ...