A field set is a grouping of fields.

learn more… | top users | synonyms

0
votes
1answer
15 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 ...
1
vote
0answers
9 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
85 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
37 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
28 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
70 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'; ...
0
votes
1answer
30 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
37 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 ...
1
vote
1answer
143 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
84 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) ...
1
vote
2answers
272 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
0answers
58 views

Field set not working

I have a object "Line" and a 2 record types "i4b line" & "i4r line". 2 field sets are there for these record types. Field set is getting used in my custom line edit page through a vf component and ...
0
votes
1answer
54 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
15 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
148 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
75 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
87 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
421 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 ...
3
votes
1answer
424 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
259 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 ...
1
vote
1answer
109 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 ...
6
votes
2answers
1k 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
359 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
272 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
446 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
0answers
291 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
779 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 ...
3
votes
2answers
1k 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
343 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 ...
0
votes
0answers
181 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 ...
0
votes
0answers
121 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
7k 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
299 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
85 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 ...
0
votes
1answer
167 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
628 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
403 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" ...
2
votes
1answer
763 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
4k 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
516 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 ...
3
votes
1answer
457 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
1k 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 ...
2
votes
4answers
4k 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
5k 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 ...
10
votes
3answers
2k 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) ?
4
votes
1answer
2k 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
2k 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 ...