Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OIM 11gR2 Developing Homepage Portlet

1032510Mar 5 2014 — edited May 6 2014

Hi All,

I am attempting to create a homepage portlet for the homepage of OIM 11.1.2.1.0. I have read many of the posts that have had this similar issue and have tried to fix this, but I am not able to see my portlet when trying to add it to the home page. I can see the folder that was specified in the custom-catalog.xml in the oracle.iam.ui.custom-dev-starter-pack.war/oracle/adf/rc/metadata. The code for the custom-catalog.xml is found below. I believe the problem is in the path in the custom-catalog.xml. I am not sure if that is correct or how I find the path of my taskflow.

***************My approach to developing and registering the homepage portlet**************************************************

1. Created the portlet following only Step 1 of this guide: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Create_HomePage_Portlet_OIG11gR2PS1/Customizing_OIG_Creating_a_Home_Page_Portlet.pdf

2. Export the viewcontroller project as a ADF Library Jar: adflibAccessLinksWidget1.jar

3. place the adflibAccessLinksWidget1.jar in oracle.iam.ui.custom-dev-starter-pack.war/WEB-INF/lib/

4. setup the custom-catalog.xml to add my portlet (I believe my error is within this step).

5.  I added the view <permission> to the /middleware/userprojects/domains/wl_domain/oim_server1/tmp/_WL_user/oracle.iam.console.identity.self-service.ear_V2.0/6bddg/META-INF/jazn-data.xml

              <permission>

                <class>oracle.adf.controller.security.TaskFlowPermission</class>

                <name>/WEB-INF/accesslinks-widget-tf.xml#accesslinks-widget-tf</name>

                <actions>view</actions>

              </permission>

*This was added below the <permission> approval-details-portlet.xml#approval-details-portlet </permission> section

6.I have updated the deployment in the OIM Admin console: oracle.iam.ui.custom

7. Then I restarted all the servers: Admin, SOA, OIM.

8. I go to OIM Self-Service Homepage and click on Personailize

9. I click add content and the folder Access Widget Appears

10. I click on the folder and it is empty. (In the logs nothing shows up saying anything about why it is empty).

*****************************************************************************************************************************************

the custom-catalog.xml code:

<?xml version = '1.0' encoding = 'UTF-8'?>

<catalogDefinition xmlns="http://xmlns.oracle.com/adf/rcs/catalog"

                   id="catalogDefinition" name="Custom Resource Catalog"

                   description="Custom Resource Catalog">

  <contents>

      <!-- PUT YOUR CUSTOM ENTRIES HERE -->    

      <!-- folder name="Sample Folder" id="sampleFolder">

         <contents>

            <resource id="sampleTaskflowReference" name="Sample Taskflow Reference"

                      description="Sample Taskflow Reference"

                      repository="application.classpath"

                      path="adflibHomepageUI.jar/ADF_TaskFlow/WEB-INF+oracle+iam+ui+homepage+helptopics+help-topics-tf.xml#help-topics-tf"/>

         </contents>

      </folder -->

 

   <folder name="Access Widget" id="accessWidget">

         <contents>

            <resource id="AccessWidget" name="Access Widget"

                      description="Access links widget"

                      repository="application.classpath"

                      path="adflibAccessLinksWidget1.jar/ADF_TaskFlow/WEB-INF+accesslinks-widget-tf.xml#accesslinks-widget-tf"/>

         </contents>

      </folder>   

   </contents>

</catalogDefinition>

Any help would be greatly appreciated,

J

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2014
Added on Mar 5 2014
5 comments
507 views