function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Santosh Shahi04807505290019439Santosh Shahi04807505290019439 

Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

Best Answer chosen by Santosh Shahi04807505290019439
Vinita_SFDCVinita_SFDC
Hi,

I tried your code in test org and have narrowed down the issue.

It is because of
{!$CurrentPage.Parameters.cid} in subject. If you replace it with some other Id like {!account.ownerId}, it works fine. Need to check why is it not working with {!$CurrentPage.Parameters.cid}.

All Answers

Vinita_SFDCVinita_SFDC
Hi,

This error itself states that you do not have access on a particular record. Reach out to system administrator of your Org. If this is not the case then please elaborate.
Santosh Shahi04807505290019439Santosh Shahi04807505290019439
i do not know why its is not working...can you explain vinita,,i am sending code...see and check out what is the problme in my code

<apex:page standardController="Account">
<apex:pageBlock title="Hello {!$User.FirstName}!">
You are displaying contacts from the {!account.name} account.
         Mouse Over a contact,s name to view his or her records
    </apex:pageBlock>
<apex:pageBlock title="Contacts">
<apex:form>
<apex:dataTable value="{!account.Contacts}" var="contact" cellPadding="4"
border="1">
<apex:column>
<apex:outputPanel>
<apex:actionSupport event="onmouseover" rerender="detail">
<apex:param name="cid" value="{!contact.id}"/>
</apex:actionSupport>
{!contact.Name}
</apex:outputPanel>
</apex:column>
</apex:dataTable>
</apex:form>
</apex:pageBlock>
     <apex:outputPanel id="detail">
      <apex:actionStatus startText="Requesting....">
     
      <apex:detail subject="{!$CurrentPage.Parameters.cid} " relatedList="false" title="false"/>
     
   </apex:actionStatus>
</apex:outputPanel>

</apex:page>
THis Is MY code..please check out
Vinita_SFDCVinita_SFDC
Do you have access on Account and Contact object? Could yopu share your controller code as well?

While executing this VF, try checking debug logs in developer console to get exact error.
Santosh Shahi04807505290019439Santosh Shahi04807505290019439
VInita its a simple Visualforce page..when you use your org same code..you know what is the problem in my code...if you accessing this time machine..chaeck out.plzzzzz i already send code..
Vinita_SFDCVinita_SFDC
Hi,

I tried your code in test org and have narrowed down the issue.

It is because of
{!$CurrentPage.Parameters.cid} in subject. If you replace it with some other Id like {!account.ownerId}, it works fine. Need to check why is it not working with {!$CurrentPage.Parameters.cid}.
This was selected as the best answer
Santosh Shahi04807505290019439Santosh Shahi04807505290019439
Vinita Thank you so much for your support..your code working..problem in my {!$CurrentPage.Parameters.cid} records..
Thnaks