WCP12c: Merge your Portal Assets into a single Application

Hi all!.

Recently I've been asked about how to merge Portal Asset Projects in a Single JDeveloper Application.

The Official Documentation https://docs.oracle.com/middleware/12213/wcp/develop/GUID-D013EB98-A5BB-47A1-8931-A808F7806049.htm#JPSDG15334
describes how to create Portal Asset Application.



By following this way you will end with N JDeveloper Applications for N Portal Assets.

If in a Portal Asset Application you try to create a Portal Asset Project, you will face that the wizard does NOT allow you to select which type of Asset you are creating.
Probably is a BUG, but I will not open an Oracle SR because I doubt they will fix it or enhance it.



So, the Portal Asset Project template is useless.

Workaround: The trick for having all Portal Assets in a single project is.
  1. Create a Portal Asset Application. E.g. PortalAssetsApplication.
  2. Name the first PortalAsset project following your naming convention. E.g.: BasicPT for the Page Template
  3. Create a new Portal Asset Application for each sub-sequent Portal Asset required.
  4. Copy the Portal Asset Project to the PortalAssetsApplication and import it to the Application.
Now, all Portal Assets are encapsulated in a single Application which makes your Git repository much smaller and sexy ;)

Comments

Popular posts from this blog

OJET: Inter-Module communication in TypeScript Template

OJET: Build and Deploy in an Application Server

OJET: Select All options using only Checkboxset