• smeridew
  • NEWBIE
  • 5 Points
  • Member since 2014
  • Sr Program Architect
  • Salesforce

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

Hello,

 

After following documentation for "Getting Started with Communities" I reached a place where I have to update Apex Controller.

i.e. CommunitiesSelfRegController. 

 

It says I have to add ProfileId, roleEnum and accountId.

 

I am new to salesforce, so not aware from where do I add these?

 

I created a new Profile from Manage Users -> Profile

 

But not sure where to get other two information or any documentation that helps with that.

 

Without that, I do get registration page in my community portal and I can enter data,.. but I cannot login back.

 

Any advice will be great. 

 

Thanks In Advance.

 

 

I'm working with the Force.com Integration Workbook.  Everything is fine until I get to Tutorial #3! 

 

The workbook talks about setting up Remote Access; however Remote Access is no longer available and you're redirected back to App | Connected Apps.  At this point the workbook doesn't match the latest version of Salesforce (Summer 13).

 

Additionally, in Tutorial 3, Step 2, I cannot get the OAuth to work!  I get the error:

 

HTTP Status 401: Authentication Failed: OAuth login invalid or expired access token

 

I've set this up twice and I'm following the steps "exactly" as they are laid out in the workbook.  Was wondering if anyone else has come across this and if I'm simply missing something.  I'm pretty new to the coding side of SFDC; so I'm working through these workbooks to try and get a better understanding!

 

Thank you!