Posts

Showing posts with the label page

Deploying individual components

Image
The scenario is you have two (or more) environments, some changes are ready from the development environment and others aren't - so you can't deploy the whole application, because some components are broken. Yes, you could employ the use of build options to prevent any issues happening, and only enable components when they are ready, but what other options are there? Well, APEX has functionality to export pages and individual components. So for one example, you've been good and kept the schema name, workspace names consistent. You also maintained the same application ID amongst environments. So, you do an page export from one environment, and try to import it to the other, but you receive the following error: This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application. These components were exported from a different application or from an application in a different workspace. The c...

APEX 5 creating regions on an existing page

Image
In APEX 4.2, it's nice and simple. Right click on the body node of the page tree view, and click create: After clicking create, you would be presented with all the possible region types: The rest is just a matter of following the steps. APEX 5, has a new page designer, and it took me a minute or so to figure out how to add a form region, since there seems to be a couple of options for adding regions! Firstly, in the centre column down the bottom of the page, you have a grid view of (almost) all the region types you can add. You can either drag them onto the visual layout of your page above, or right click and select where to add it to. The other option is on the left hand pane, right click and then select Create Region. . This will create a region with the type set as: "Static Content".  You then need to change the type on the right hand pane, and then fill out any region specific settings. At this point, it's probably ...