To configure Upload Image action
This task assumes you want to configure an agreement object, other objects can also be configured in a similar manner.
- Go to .
- In the Custom Fields & Relationships section, click New.
- Select Formula and click Next.
- Enter a Field Label and Field Name, such as Upload Image, select Text from the Formula Return Type list and click Next.
- Enter the formula below, ensuring it is all on the same line in the formula field, like the screen shot, and click Next.
- The code should be:HYPERLINK("/apex/Apttus__ImageUpload?id="& Id, IMAGE("/resource/Apttus__Button_UploadImage", "Upload Image"),"_self")
- Set the field-level access and click Next.
- Click Save.
You can select page layouts here, but as you will likely want to edit the page layouts to reposition the Upload Image button, it is not required at this point. Upload Image is now available from the Fields list when you edit a page layout.
- You could add image support to Quote/Proposals by repeating this task for that object.
- You should also create RTF fields for the images if they do not already exist.