A field set is a grouping of fields.

learn more… | top users | synonyms

1
vote
1answer
29 views

VisualForce : Dynamically rerendered inputFields are displaying on page without labels

Background: I created a VisualForce page with the intention of embedding it inline into an Opportunity layout. I've used the standard Opportunity controller with a controller extension. On this ...
0
votes
1answer
21 views

How to display different fields in different section using fieldsets

I have this below code where i trying to display fields present in fieldsets in vf page. The problem which i am facing is , Suppose i have 10 fields f1, f2....., f10 in fieldsset "FS1" , i need to ...
1
vote
0answers
32 views

How to display fieldset fields in a 2 column fashion with Lightning DS?

I'm trying to use LDS to display some fields in a VF page. Most sections in this page display the data with 2 fields per row with its label like the pageBlockSection tags do. This page was a regular ...
0
votes
0answers
23 views

How to use field sets in a lightning component to create a multi-grid structure form with a lightning look and feel?

I am trying to create a lightning component that would render a form based on a picklist selection. I read this post below and was able to kick start my development How to use fieldsets with ...
1
vote
0answers
28 views

How to get the SObject type of a field or type reference included in a fieldset?

I am trying to create a dynamic opportunity line item form in lightning based on product family and name. Hence, I am using the approach of field sets which are storing the list of fields specific to ...
0
votes
1answer
37 views

How to add Field/button in Salesforce in Create/Edit view to add a set of fields many times?

I have a module named as Portfolio Allocation, in this module, I want to have a (field and a button) pair by using which I can add a particular set of fields again and again. Sample template for the ...
0
votes
0answers
31 views

Field sets not displaying the default values for picklist

On case object we have created a field set. we have 3 record types for Case and for all the record types, we have set a default value for "Case Origin" field. In a custom VF page, we have custom ...
1
vote
0answers
38 views

Visualforce Email Templates + Field Sets - apex:outputField showing up blank in testing

I'm using field sets to dynamically query and merge fields across objects onto a Visualforce component to put in a VF email template. When I query the parent object (Intake) it seems to work fine but ...
3
votes
1answer
194 views

Dynamically display Field Set based on a field

I have created a VF page that calls an Opp field set. What the page does is it enables users to pick a Stage to indicate that the deal has been lost/rejected and supply the appropriate reason. The ...
0
votes
1answer
16 views

Fieldset labels showing on vfpage but respective data not showing on vfpage

I have create two fieldset and working as wizard format first page showing first fieldset and second page showing second fieldset (using next,previoud commandbutton) . Fieldset label are showing but ...
0
votes
0answers
16 views

Merge two fieldset in one VFpage

I have create two fieldset on Account sObject in first fieldset i have added name,type and phone and second fieldset i have add website and description of account object field. my requirement is i ...
0
votes
1answer
28 views

how do I add a field set to a custom visual force page running a quote wizard

I am new at this, 10 days on the job, so, please forgive me if I am asking something obvious. I have a Custom Visual Force Page that runs within a QuoteWizard. I need to add some fields to this page,...
1
vote
0answers
11 views

I have problem in getting user license,first name,last name in fieldset (actually i cant see them in drag and drop option) anybody know why?)

I have problem in getting user license,first name,last name in fieldset (actually i cant see them in drag and drop option) anybody know why?
1
vote
1answer
412 views

Apex FieldSet - Bring values from Visualforce input field to Controller

I have a visualforce page that is currently iterating through the fieldsets within the OpportunityLineItems object. Everything is displaying correctly with the input fields where the user needs to ...
0
votes
1answer
55 views

Fieldset in visualforce

I am using field set in visualforce page. I want to make the fields are editable and on updating it it should save it. Below is my code.. public transient Sovren_Resume__c candidateCV {get; set;} ...
1
vote
1answer
38 views

Adding Field Set for Order Item

I am trying to add a field Set for OrderItem object but I can't see any way to do so. Is field Set not supported for Order Item? If not, then what could be the other way to have dynamic fields?
1
vote
0answers
113 views

Using fieldset: Invalid field core for SObject Case Error

Extension: public class fieldset1display() { public string fieldset1 { get; set; } public fieldset1display(ApexPages.StandardController std) { fieldset1 = 'fieldset1'; this....
0
votes
1answer
44 views

How to insert or update a record using fieldset without using standard save method?

I want to write code for inserting and updating record using fieldset, but i don't know how to map the fields(from fieldset) to my controller. Can anyone help me with this?
0
votes
1answer
53 views

getting Internal Server error with dynamic fieldset and standard controller

I have the following inline visualforce page which gives me an internal server error. <apex:page standardcontroller="Agreement__c"> <apex:repeat value="{!$ObjectType.Agreement__c....
1
vote
1answer
223 views

I am not able to get value from fieldset in visualforce page while executing

Apex contrller:- String queryFields = null; for(Schema.FieldSetMember field : SObjectType.Opportunity.FieldSets.Opportunity_Summary_Fields.getFields()){ queryFields = (queryFields == ...
0
votes
1answer
128 views

Delete fieldset using Tooling/Metadata API (JSforce)

Tried this using the following 2 snippets; both failed. Snippet 1 conn.tooling.sobject('FieldSet') .delete({ DeveloperName: fieldsetName }, function(err, meta) { if (err) console....
1
vote
2answers
494 views

Change color of apex:outputfield in a vfp for a lookup field in a fieldset

I'm displaying a fieldset in the Community. The fieldset contains text, checkbox and lookup fields. So, I'm using the component to display the values from different data types. The issue is that the ...
2
votes
0answers
19 views

Link in a fieldset [duplicate]

I have one fieldset on Sobject which is contain 8 field's set but i need to put LINK on only one field. Is it possible? If so, please tell me the way to achieve that.
0
votes
1answer
73 views

Account update trigger error

I have below apex trigger on Account that will create records on custom object Alert_vod__c, whenever there is an update on specific fields (as declared in fieldset) of Account. Trigger: trigger ...
0
votes
1answer
16 views

How to give and use htmlId for a field if a field is in field set

I am working on page where there are 5 fields in a field set . Now , I want to giv Id to a particular field in Field set and want to use $Component to get the field and run some Javascript function. ...
1
vote
1answer
221 views

Required field in the fieldsets

Is there any way to mark the field required by default in the fieldset? i want that the required checkbox become non editable. Thanks,
0
votes
0answers
90 views

Update the value of Individual fields of a Fieldset

I have an object which has almost 200 fields which are checkboxes. Now the Fields are grouped into 2 fieldsets called GoldFields and SilverFields according to some requirement. Now if anybody selects ...
1
vote
2answers
110 views

Merge two Field Sets and use them in VF

I want to create a very dynamic VF page with custom controller which would change field sets based on my custom logic. The real question is - can I create new Field Set in apex that would be then ...
0
votes
2answers
525 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 value="{!$ObjectType.Account.fieldsets.SystemFields}"...
3
votes
1answer
528 views

How to get a DescribeFieldResult from a FieldSetMember?

Fieldsets can reference fields in related objects, something like Opportunity.Account.Name. If you iterate over such FieldSetMembers on a Visualforce page and try to render a fields inline help text ...
3
votes
1answer
316 views

Can I add a custom field to a field set used by a Visualforce page from a managed package?

As a managed package owner, I have a VF page rendering an object containing a field set with 5 fields (using dynamic bindings similar to http://www.salesforce.com/us/developer/docs/pages/Content/...
1
vote
1answer
142 views

Getting an extra line with field set

I am trying to use field set to get list of fields to show in the VF page so the customer can adjust the fields without having to touch the code. But It seems to me that when using field set, I am ...
10
votes
2answers
2k views

How to use fieldsets with Lightning?

Been trying to figure out how to create a salesforce Lightning input form, based on fields from a fieldset. As an aura enabled apex method is not allowed to pass an entire fieldset I tried by ...
0
votes
1answer
456 views

Display dates in dd/mm/yy format only for Date fields (From a repeat to take all selected fields from a field set)

I want to display all date fields in dd/mm/yy format. Currently it's displaying in dd/mm/yyyy format. (All fields are retrieved from a fieldset, the fieldset includes fields with different data types ...
1
vote
2answers
414 views

Why can't managed Visualforce access unmanaged Field Set?

I'm hoping to use Field Sets to allow users of a managed package to customize the display of a Visualforce Page. The idea is that they install the package, create their own Field Set on the one of the ...
2
votes
2answers
524 views

Getting an object's fieldsets returns lowercased API names

Map<String, Schema.fieldset> fieldMap = Schema.SObjectType.Object_Name.fieldSets.getMap(); this properly returns a map of the fieldsets paired with their API names but the names come in all ...
0
votes
1answer
332 views

How to get all fields set dynamically where a object

I have a Vf page where I am displaying all the objects from the current environment. I am displaying it in a selectList. I need to get all the field set which are there on the object which is been ...
2
votes
1answer
959 views

Get Schema.SObjectField from Schema.FieldSetMember

I couldn't find any elegant (no use of Strings) to create a Schema.SObjectField from a Schema.FieldSetMember. Can you think of one?! The reason for asking this is that I was also unable to get the ...
4
votes
2answers
2k views

Display header even if <apex:pageBlockTable> is passed an empty List

Is there a way to render the column headers of a even if the passed list is empty? I have the field labels already in place as I am iterating over a Fieldset. <apex:pageBlockTable value="{!rows}" ...
4
votes
2answers
429 views

Is it possible to use FieldSets as Visualforce Component attribute?

I get a strange error message stating: Compilation error: Wrong type for attribute <c:sobjecttable displayed="{!$ObjectType.UP2GO_2F__PriceSchedule__c.FieldSets.DisplayedOnDliEdit}"&...
0
votes
0answers
221 views

Fieldsets and Child object fields in apex

I created a FieldSet (Fruit_FieldSet) in my org. Its on the object Fruit (which is the master). I added fields from the child object Apple (Apple_Type, which is a standard field) to the Fruit_FieldSet....
0
votes
0answers
145 views

One field set which contains every field from All objects

Question for you knowledgable salesforce people Aim- to create one field set , which holds all fields from every object, and dynamically populate the field sets when new fields add to the object I ...
8
votes
2answers
8k views

How to compare the old and new values in a trigger for multiple fields?

I have 30+ fields in a field set, and in the update part of my trigger, I want to see if any of those fields have been changed. Can I access them using field sets? Anyway to do it, short of writing ...
1
vote
2answers
2k views

Trying to create a table (edittable or not) with visualforce from fields that exist within account

I am trying to create a visualforce page to be displayed within accounts that ideally will be edittable (but if this isn't possible, then just a table to display the fields' values) that lays out a ...
3
votes
1answer
354 views

Is it possible to get an objects fieldsets with the REST API?

I know about the metadata api but the issue seems to be that its based on the SOAP apis? is there anyway to get the fieldsets from the rest api?
3
votes
1answer
93 views

Field Set for custom setting

Can we define a field set for a custom setting ? If yes, where do I do that ? If it's not possible, getting all the fields from custom setting will also do, which I can get using getDescribe().fields....
0
votes
1answer
216 views

Add personAccount fields to fieldset

I have personAccount enabled in my org. I'm trying to add personAccount fields like PersonMobilePhone to an Account fieldSet but I cannot find these fields in the available fields. How can I build a ...
1
vote
1answer
714 views

I want display Current user fields on visualforce page using field set.but my code is displaying only fields on form but not the value of current user

Controller : public class AccountFieldSetController { public String queryString{get;set;} public List<User> accList{get;set;} public string user { get; set; } public User u { ...
0
votes
1answer
2k 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 ...
7
votes
1answer
484 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" onClick="check('{$ObjectType.Customization__c.FieldSets....