function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dotnet developedotnet develope 

Field Sets Bug

Hi all,

 

I have define a Field Sets on Account object and in that i included fields list as Account name,Account ID,billing city and billing street.

 

Here comes the issue, when i wanted to display the Field Sets on Visualforce page. it is throwing error message

 

  
Unable to Access Page 
Invalid parameter value "" for parameter "id". 

Error: The value of the parameter specified above contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or reduce the value length and re-submit. If the error still persists, please report it to our Customer Support team and provide the URL of the page you were requesting as well as any other related information. 
 
 

 

 

if i remove the Accountid from the Field Sets list. now its working fine.

 

is there any field set limitation with visualforce page?

 

could anyone have solution for this?

 

 

Ritesh AswaneyRitesh Aswaney

not sure about the exact implementation of your page - but assuming you're using the standard account controller, are you passing in the account id as a query parameter in your page url ?

 

eg http://xx.salesforce.com/apex/AccountFieldsetPage?id=001.......

dotnet developedotnet develope

Hi Ritesh,

 

Thanks for reply,

 

My requirement is , there are 3 pageblocks

first- containts text box and button for search of accounts

second - it will populate list of account based on search limit is 10

third - when i select one of the account from above section. it should populate the Field Sets with Data.

 

 

This is the whole summary of requirement.

 

 

vijaymindvijaymind

No limitation regarding AccountId .......It would be better if u show wt u writing on ur VF. 

Volker_factory42Volker_factory42

There's a bug in fieldsets, if you are using

 

this.controller = (${OBJECT})con_object.getRecord();

Without this line in constructor, and your own SOQL-Query it should work