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
DesaiDesai 

how to use field sets in lightning ?

Hi ,

We have build a VF page whihc uses field sets to dispaly the data, now it should be converted to lightning. How to do we do it as i am new to lightning.

Regards,
Desai

Deepali KulshresthaDeepali Kulshrestha
Hi Desai,
Please go through with below link, it may be helpful to you.

Link:
https://salesforce.stackexchange.com/questions/56047/how-to-use-fieldsets-with-lightning
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_field_sets.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
DesaiDesai
Hi Deepali,

Thanks for the above links. I went through the link , and tried it . I was able to fix some errors but not the below one,
"This page has an error. You might just need to refresh it. Assertion Failed!: ComponentService.createComponent(): 'type' must be a valid String. : false Callback failed: apex://FieldSetController/ACTION$getFields Failing descriptor: {c:fsTest}"

I get this error in fsTestHelper.js at this line, "  $A.createComponent(this, function(cmp)" .

Reards,
Desai
DesaiDesai
Can anybody please help me, i am not able to resolve the above error .

Regards,
Desai