The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
47 views

Custom URL in Canvas App

I am trying to call dynamic URLs of an external app(having same domain but different paths basis clicking on links inside salesforce) in Salesforce using Canvas app. How can this be implemented? ...
1
vote
0answers
60 views

Picklist Values in Dynamic Lightning Components

Is there an out-of-the-box solution to populate record-type specific picklist values when creating a picklist dynamically (in a Lightning Component) that references an sObject field? At this point ...
0
votes
2answers
189 views

Access label of Field Set in Visualforce

I am using Field Set in Visualforce pages to render user-defined fields. <apex:pageBlockSection title="HARDCODED TITLE"> <apex:repeat ...
0
votes
2answers
126 views

Dynamic Visualforce Components with commandButtons tied to records

I'm creating a VisualForce page that is going to load records from a web service using JSON. I have a requirement to add a button next to each record I pull. I don't see a direct way to do this with ...
3
votes
1answer
39 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 ...
2
votes
2answers
206 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
57 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
83 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 ...
1
vote
2answers
232 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
2answers
1k 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
39 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
2k 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
1k 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
330 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
424 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
618 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
97 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
807 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 ...
2
votes
5answers
4k 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
2k 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
715 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 ...
4
votes
1answer
765 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 ...
3
votes
4answers
5k 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 ...