Here I've added a region on the global page to inform users of the status of the page - based on it's allocation to a build option.
|Build option in action|
This shows detail of the build option allocated to the page (via page attributes).
select b.build_option_name, b.component_comment from apex_application_build_options b
,apex_application_pages p where b.application_id = :APP_ID and p.page_id = :APP_PAGE_ID and b.build_option_name = p.build_option and b.application_id = p.application_idI applied the following condition will ensure the global page region is only displayed when the page has been assigned a build option.
select null from apex_application_pages p where p.application_id = :APP_ID and p.page_id = :APP_PAGE_ID and p.build_option is not nullThe region is also allocated to a relevant build option so it doesn't display outside development.
My build option in this case has a status of Include, but Exclude on export.
|Build option setings|