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
Ram Shiva KumarRam Shiva Kumar 

How to access get, set properties from server side controller

Hi ,

in server side controller i have get, set properties .. and i want to access those variables inside my client side controller..of mu aura component...
please suggest me  which way is best for me  for the above...
hi ram shiva,
i have create a sample post on "How to access apex class property in lightning component" please refer below link for your solution :

 Let us know if it helps you, and kindly mark it best answer it this answer helps you so it make proper solution for others in future

Ram Shiva KumarRam Shiva Kumar
Hi Soni Thanks for the reply.

i have read ur post. actually i dont want to hard code get set properties in my controller. and my  server side controller is having a contrsuctor  so how cani i create an object for that controler...?

so as per  your suggestion,i have the follwing issues
1) not able to craee object for  the server side controller as it is having the constructor.
2)dont want to hard code the get set properties.