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
Krrish KarthikKrrish Karthik 

Multiple Users Using Same Custom Object

I have Create a Custom Object(Survey_Result__c) With Fields are Evaluated_Area_1__c, Evaluated_Area_2__c, Evaluated_Area_3__c, Evaluated_Area_4__c, Evaluated_Area_5__c.. 5 fileds.  i get all fields Average using soql.. i have using all users list in vf page with checkboxes.
if i click first checkbox user and display the if i click first user Survey Result Records are to be display with Avg. and then click second User Displayed frst user survey records and seecond user records both are averaged to be display.. whats the solution? if I get What user I click i can display the survey Result records.. Whats the Solution? tell the Answer..
Ashish_SFDCAshish_SFDC
Hi Karthik,


Firstly you have to create different reports that display the desrider reult upon checking the boxes.

Now, upon clicking a check box - you have to use java script to catch the click and display the concerned report.

I would recommend rather than the partial page refresh showing which kind of report it would be better if that pops up a window and contains the report.

Else, you may add the check box logic using javascript and pass it to the dynamic reporting criteria.
Also, See the links below

http://coenraets.org/blog/2014/02/building-interactive-dashboards-in-visualforce-pages/

https://developer.salesforce.com/page/Extended_Functionality_of_Visualforce_-_Part_2


Regards,
Ashish