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

Note and Attachment page can be customize ?



Would like to ask whether the Add new Note page can be customize? How to remove field from add new note page?



Message Edited by ilai on 03-26-2009 06:33 PM

I'm not aware of a way to customize the standard Notes page, but you could you Visualforce and re-create it with less fields. For example:



<apex:page standardController="Note"> <apex:form > <apex:pageBlock title="Note Edit" mode="edit"> <apex:pageBlockButtons > <apex:commandButton action="{!save}" value="Save"/> <apex:commandButton action="{!cancel}" value="Cancel"/> </apex:pageBlockButtons> <apex:pageBlockSection title="Note Information" columns="1"> <apex:inputField value="{!note.title}"/> <apex:inputField value="{!note.body}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>


But you would need to add the logic to relate it to its parent object.


Hope that helps,