• Amar Banerjee
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
HI,

I am useing customized functionality for community users.

Secnarion:  We have a a mobile microsite UI which uses AngularJS as an intermidiatory body between Salesforce & Mobile microsite(website scalable to mobile screen). Mobile  microsite calls Angular JS controller which in turn calls SFDC remote call to salesforce controller.
Keeping in mind that Mobile microsite UI is nothing but HTML5 code in a VF Page & we have person account enabled in our environment.
In salesforce remote action methods, I am using Site.createPersonAccountPortalUser() & Site.Login(username,password,null) methods.

Issue: The issue is that we get some times correct response from site methods & some times we get null. some time Site.createPersonAccountPortalUser()
returns userID & some times it returns 'Null'. same is with Site.Login() method. some times login method returns page reference & some times it returns 'NULL'.
           The project we are working is in very crucial stage.. any suggesitons/ Pointers can help to solve the issue....

Regards,
Amar 
 
Hi All,

In out project we are trying to change password from site VF page. In our case we are calling Site.changePassword() method through @RemoteAction. since the site page do not have any apex tags.(it only contains HTML/AngularJS frame work)
Site.changePassword() method is always returning Null instead of returning page reference.

This whole activity is been done in Developer Sandbox environment & not in actual production.

Kindly help with this issue.

Thanks in advance..
Amar
Hi All,

In out project we are trying to change password from site VF page. In our case we are calling Site.changePassword() method through @RemoteAction. since the site page do not have any apex tags.(it only contains HTML/AngularJS frame work)
Site.changePassword() method is always returning Null instead of returning page reference.

This whole activity is been done in Developer Sandbox environment & not in actual production.

Kindly help with this issue.

Thanks in advance..
Amar