• Tester Girl
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies

Hi All
I am new to visualforce development and would like your help.
I have to create a visualforce page with extension for a custom object in a managed package.The custom object is called Attendance and all users have access to its records and when users drill down to the related Student link for a record they don't own,an error is displayed:“Data Not Available: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.”
So I want to create a page with extension that checks if the user has access to record due to security.If yes then redirect to correct record page,otherwise show error'User doesnt own record so cannot access it'.
Thanks for any help

Hi All
I am new to visualforce development and would like your help.
I have to create a visualforce page with extension for a custom object in a managed package.The custom object is called Attendance and all users have access to its records and when users drill down to the related Student link for a record they don't own,an error is displayed:“Data Not Available: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.”
So I want to create a page with extension that checks if the user has access to record due to security.If yes then redirect to correct record page,otherwise show error'User doesnt own record so cannot access it'.
Thanks for any help