Images and Update Sets – How to Sync Attachments on Widget Instances

serviceportal

It’s a pretty common requirement to include images in your widgets, for example replacing the icons with images in the “Icon Link” widget (available here). However, if you have ever added an image field to one of the instance tables, you may have noticed that the images were not included in the update set. This obviously makes it difficult to migrate the portal between instances.

The good news is there is a simple solution.

SYNCING ATTACHMENTS

  1. First, go to a record within the table where you would like to sync attachments (e.g. sp_instance_link)
  2. Right click the heading > Configure > Dictionary
  3. Select the record where “Type” is “Collection”
  4. Click the “Advanced View” related link
  5. Paste the following into the Attributes field:

When completed, it should look like this:

screen-shot-2018-09-28-at-11-09-03-am

Now, the next time you save or update the instance record, the image data will also get included in the update set.

screen-shot-2018-09-28-at-11-15-07-am

NOTE:

If you wish to use the image field on all instance tables, you can create the field on the base “sp_instance” table. However, you will still need to follow the steps above for each one of the extension tables where the image field is used.

One comment

Leave a Reply to Nagarjuna Reddy Cancel reply

Your email address will not be published. Required fields are marked *