• JoAnn@JCI
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Salesforce Solution Architect
  • Johnson Controls, Inc


  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
I'm getting the following error on the admin beginner trail; create and share a dashboard in the reports and dashboards module: There was an unhandled exception. Please reference ID: HCOAKAFC. Error: Faraday::Error::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist.

I went through other posts that reported the same error and most reference the presence of a namespace. I'm using a new org with no namespace registered so am not sure what the cause is. I'm wondering if it's related to the fact that I can't access the chatter tab in this org. I keep getting a data access error to the reocrds I'm trying to merge every time I click on the chatter tab. 
I'm getting the following error on the admin beginner trail; create and share a dashboard in the reports and dashboards module: There was an unhandled exception. Please reference ID: HCOAKAFC. Error: Faraday::Error::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist.

I went through other posts that reported the same error and most reference the presence of a namespace. I'm using a new org with no namespace registered so am not sure what the cause is. I'm wondering if it's related to the fact that I can't access the chatter tab in this org. I keep getting a data access error to the reocrds I'm trying to merge every time I click on the chatter tab. 
Partner Portal users need to be able to create, read and update Accounts, grant them Portal Access and create contacts and grant them portal access and potentially delegated admin access to the contacts. 
 
  • Portal Users cannot grant portal access to other accounts. This is a limitation of Salesforce.com
  • When a Portal User creates a record, they are the owner
  • Portal Access cannot be granted if the account is owned by a portal user
  • If record ownership is transferred to an Internal user, the partner user no longer has CRU access 
The solution I came up with is the transfer ownership of the record to the internal JCI user that manages the Partner User Account record, grant portal access to the account, and create a manual share to the record for the Partner User.
 
I’ve verified this will work with clicks, however, that is not a practical solution. I wrote a trigger/handler that transfers the account ownership, assigns portal access and a manual share to the partner user.
 
It works great if I hard code the internal user, however, if I try to dynamically select the user, I’m unable to do it. I’ve narrowed down the issue to be related to the fact that the code is executed in the context of the partner user. Partner users do not have the rights to transfer record ownership and do not have access to the Ownerid’s for the account they belong to so I’m getting a System.QueryException: List has no rows for assignment to SObject error. 
 
I looked into the system.runAs() method, however, this method is restricted to test classes. 

Any ideas for this issue? 
I'm getting the following error on the admin beginner trail; create and share a dashboard in the reports and dashboards module: There was an unhandled exception. Please reference ID: HCOAKAFC. Error: Faraday::Error::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist.

I went through other posts that reported the same error and most reference the presence of a namespace. I'm using a new org with no namespace registered so am not sure what the cause is. I'm wondering if it's related to the fact that I can't access the chatter tab in this org. I keep getting a data access error to the reocrds I'm trying to merge every time I click on the chatter tab. 
I'm getting the following error on the admin beginner trail; create and share a dashboard in the reports and dashboards module: There was an unhandled exception. Please reference ID: HCOAKAFC. Error: Faraday::Error::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist.

I went through other posts that reported the same error and most reference the presence of a namespace. I'm using a new org with no namespace registered so am not sure what the cause is. I'm wondering if it's related to the fact that I can't access the chatter tab in this org. I keep getting a data access error to the reocrds I'm trying to merge every time I click on the chatter tab.