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
V100V100 

Trying to create a URLFOR link to edit a Note

I am using the code with a customer controller to manage notes and attachments.

 

    <apex:dataTable value="{!PostNoteList}" var="FbkAtt" width="100%" >
        <apex:column >
             <apex:outputLink target="_top" value="{!URLFOR($Action.Note.Edit,FbkAtt.id)}" style="font-weight: bold;">Edit</apex:outputLink> |&nbsp; 
        </apex:column>
   </apex:dataTable>  

 and i get the error: Field $Action.Note.Edit does not exist. Check spelling.

 

Curiously it works for attachment downloads

 

{!URLFOR($Action.Attachment.Download,FbkAtt.id)}

but not Edit or Delete

 

Any help much appreciated.

 

 

Etherios DanEtherios Dan

Honestly, I can not tell if the Edit method is exposed to the API. 

 

URLFOR Documentation Dicussion

 

Here is a helpful dicussion that might help you track it down.

 

Let me know if you find it.

 

 

Dan Grandquist
Etherios - Technical Architect