• hemanth pendyala
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies
I've completed the challenge, it has 100% coverage. I've checked all the method names. The URL is valid. I've used Work Bench and curl to test and even tested with multiple Accounts with and without contacts.

I know on other challenges, punctionation was important.  What about the defination of the return? Are there expected names?

I built a class to hold Account ID & Name along with a List of Contact names and IDs. Is this my issue?  Anyone else have a challenge with this challenge?


Any help or hints will be appreciated.

Here are snippets of my code:

@RestResource(urlMapping='/Accounts/*/contacts')
global with sharing class AccountManager {

....

global class APIAccount {
        public ID Id;
        public String Name;
        List<APIContact> Contacts;

...

@HttpGet
    global static APIAccount getAccount() {
        RestRequest request = RestContext.request;
...
 
I am completely lost and confused on this challenge and I dont know how to fix it. Every time I try to add Edna Frank as an external user it says "An account owner must be associated with a role to enable portal users or transfer portal users to his or her account." Anyone know what I'm doing wrong?

In this challenge, you set up the external sharing model, create a sharing set, and create a customer community user. First, set up the external sharing model with Case set to private. Then, enable Customer Portal settings, and create a sharing set titled Share cases with customers for the Customer Community User Profile. In this sharing set, grant customer community users read and write access to the case object for all cases associated with their account.
Ensure that your DE org user has a role assigned.
Create a customer community user from Edna Frank's contact record. (Your DE org should already have a contact record for Edna Frank. If it doesn't, create a new contact with first name Edna and last name Frank.)
Ensure that the account associated with Edna Frank has cases associated with it.
Ensure that sharing set mapping is set to User:Account = Case:Account.
 
  • September 14, 2016
  • Like
  • 1