Adding an image to a custom entity

So you have seen by default you can add an image to an account or lead, but how do you add an image to a custom entity?

It’s simple, just follow these steps:

  1. Open up solution that contains custom entity
  2. Select Custom entity and create a new field
  3. Enter a display name and then select the type as Image
  4. Click on the Custom entity definition (click the name of the entity)
  5. You will now see that the Primary image field is populated with your new image field
  6. Last step – Navigate to the forms of the custom entity
  7. Open up the form
  8. Click on Form Properties
  9. Click on Display tab and tick the “Show image in the form”
  10. Save and Publish
  11. You can now add an image to a custom entity
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s