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

Page and apex class

Hi Friends,


I have salesforce customer portal which is up and running and assignedd to the production.Now I have to add class and  visual force page to it..


I have developed page and apex class in sandbox.However,I am not able to test it as when portal customer logs in ,his inofmation such as firstname,lastname ,email has to be queried and  retrieved from the database .


My situation,  when customer registers on the portal his infomation is going directlty in the production .Now ,How do I ensure that when customer enter's his information on the portal then it can go to the test instance(sandbox) so that I can test my class and visual force page functionality.


Thanks in advance 




Suresh RaghuramSuresh Raghuram

my question is dont you have the portal functionality on your sandbox, i mean when instance created it should reflect the production environment, then we can register our self as a portal user.


Hi Suree,


I do have sandbox instance.However,when I try to register on the sandbox instance  on the portal.It puts the values in production instance.I do not see record being created in sandbox instance.I am using fullcopy sandbox.