A field set is a grouping of fields.

learn more… | top users | synonyms

0
votes
1answer
35 views

Invalid conversion from runtime type String to SOBJECT:

I have create a filed set on a custom object and trying to display the filed set to a VF page from apex code. This much is working fine but when i try to loop through the map in which the value is ...
5
votes
1answer
46 views

How to pass a fieldset to javascript?

When my user clicks a button, I want to access the fieldset by javascript. Can i do that? <apex:commandbutton value="Send" ...
0
votes
1answer
117 views

How To Show Help Text Within a apex:pageblocksectionitem From Within a Dynamic Component

So recently, I came upon an issue using my dynamic component within a pageBlock. As some may know, you cannot properly display help text (icon with a help text when you hover), within a ...
1
vote
1answer
172 views

How to display FieldSet label and its value in PageBlockTable

I am having a Custom Object (Say MyCustomObj).It has fields A,B,C,D,E. I have created a Fieldset and added A,B,C fields for MyCustomObj. By using Dynamic SOQL I got the values of all fields including ...
1
vote
1answer
18 views

Is there a way around the 40 char limit for labels in salesforce

Is there a way we can get around the 40 char limit for labels? I want to display a set of fields in a VF page, i am using a fieldset to dynamically determine the fields to display in the VF page. Some ...
2
votes
1answer
107 views

InlineHelpText with Fieldset and pageBlockTable

I have the following Visualforce <apex:pageBlockTable value="{!myObject}" var="obj"> <!-- iterate over the fieldset to render the columns --> <apex:repeat ...
2
votes
2answers
142 views

How to identify the is field required from field set?

I have create a field set for a custom object and i am displaying the field set on a VF page. I am not using apex:page block bec i want to change the style of the page so i am displaying using a ...
1
vote
3answers
481 views

How to get the field label name from field set

How to get the field label name from field set. I have created a fields set for custom object and I am trying to get the fiedset to display on VF page and I am able to get the fieldset display on VF ...
3
votes
1answer
864 views

Difficulty with apex:param and apex:actionsupport

Trouble with Action Support Currently, I have been very successful with my page until I ran into a snag with my action:support tag. I simply need to collect an Id, collected on the a form, then ...
7
votes
3answers
564 views

Can we insert or update FieldSets using apex code?

Although we can create or update fieldsets using salesforce UI but Is there any way to insert or update FieldSets using apex code (using metadata or API calls) ?
2
votes
1answer
305 views

Testing Code Dependent on FieldSets

I have a class that uses a field set to build out a dynamic query. This fieldset is passed into the class. Is there anyway I can create a test fieldset in my apex code so I don't have to hardcode ...
6
votes
1answer
778 views

Field Sets & Dynamic DML & Describing Fields Included in Field Set

I am attempting to write generic code which will use a fieldset, allowing for dynamic creation of a query. This bit is documented well enough in dynamic DML examples from SFDC. In addition to the ...
4
votes
1answer
111 views

Adding a fieldset to an unmanaged package

Can we add a fieldset to an unmanaged package? When I tried it didn't show up for selection. Is there anybody who faced the same situation?
2
votes
2answers
179 views

Attempt to de-reference a null object in fieldset

I am trying to get fields from Contact into fieldset. but i am not bale to get the fields properly i am getting error : Attempt to de-reference a null object my code : public class DemoCtrl{ ...
0
votes
2answers
289 views

FieldSet is not working

I am trying to learn FieldSet from this Salesforce document but i am getting the following Error while saving this class public class MerchandiseDetails { public Merchandise__c merch { get; set; } ...
7
votes
2answers
856 views

Not getting how FieldSet works in Salesforce

Please have a look at these 2 code snippets: (1) <apex:page id="pageId" standardcontroller="My_Object__c"> <apex:form id="formId"> <apex:pageblock id="pbId"> ...
4
votes
1answer
3k views

How to get FieldSet fields in Apex Dynamically (fieldset name is not static)

String fieldSetName = 'Account_FieldSet'; String ObjectName = 'Account'; I wanted get list of all fields from this fieldset. I know if fieldset name is hardcoded in the apex then following syntax ...
3
votes
1answer
720 views

PageLayouts and Fieldsets in APEX

We've repeatedly tried to figure out ways to display a Pagelayout and/or FieldSet settings in our custom VF pages without having to rely on the standard controller. For example to display a fieldset ...