APEXblog.nl - Tips and Tricks

About This Blog:
I (Richard Weug) started this blog primary for myself to save all kinds of Apex tips and tricks in one place. To use it as a place to write down how I used some coding in my own projects, but also to copy and paste all kinds of articles I find on the Internet. (So I never have to wonder on what website did I read about??? When I see something interesting I collect the content so I have my own archive/knowlegde base.

View my profile on LinkedIn


Tips & Tricks


Include Images with Supporting Objects on APEX Export/Import

Written by Richard Weug. Posted in Tips and Tricks

If you have a logo or some other custom icons that you have uploaded in the 'Shared Components' of the application, there is an easy way to include these with your application export, so they will be automatically imported when you install your app elsewhere.


1) Export the Script file for your image.

Navigate to Shared Components > Images > [YourImageName]. 

You will see on the right hand side an option to display the install file script.

Edit Image



Click on the 'Display Install File Script' link and it will open up the script text in a new window.

install file script

Copy this text to your notepad or save it as a file.


2) Create an Installation Script

Navigate to [YourApplication] > Supporting Objects > Installation Scripts.

Click the 'Create' button to create a new script.

In my case, I am going to create one from scratch, but you can also create from a saved file.

Script detail


Give your script a name - you are able to put the SQL from a number of images in the one script file.

The paste the script that you copied from step 1. Click Apply Changes.

paste script



3) Exporting and Importing Applications

When you go to export your application, make sure the option Export Supporting Object Definitions is set to 'Yes'.

export option

Also, when you import your application, there is an option to Install Supporting Objects. Also make sure this is set to 'Yes'

Original article: http://nerd.net.au/29-apex-application-express/general-application/122-include-images-with-supporting-objects-on-apex-export-import

Not available at this time