Showing posts with label Questions. Show all posts
Showing posts with label Questions. Show all posts

Monday, July 6, 2009

Steps to install a portlet

JICS Wiki : Installing Portlets page
JICS Wiki : Generating LDIF Files page
  1. Copy .ascx files to portlet .ascx directory on web server
  2. Copy .dll assembly to portlet /bin directory on server
  3. Modify FWK_Globalization (?)
  4. Make database table and stored procedure changes (?)
  5. Add a Portlet Template definition to ADAM using an LDIF file
  6. If this is a secured portlet, sync global operations (?)
  7. Restart IIS

JICS Portal Templates

Question : I saw a reference to portal templates someplace. I'm wondering if there's anything to it.

JICS Portal Inheritance

Question : We should be able to write one portal that inherits code from another portal. However, the existance of .ascx files make this problematic, because .ascx files don't play well with inheritance. Are there any examples of this being done?

JICS : ASCX pages

With web controls, you have an .ascx page that defines how things look, and a .dll file that contains the code for the page. The info below is gleaned from JICS Portlet Creation page

Create a different .ascx file for each view.

There are two required views. Default_View, and Main_View. The ascx files for these must be located in Default_View.ascx and Main_View.ascx.

All the .ascx files for the portlet go in their own directory on the server

Every portlet has it's own directory. That directory goes in [Type]\Portal\Portlets\CUS\[Portlet name]. For more info on this directory, see "Naming Conventions"

All the .dll files for all portlets go in one directory

That directory is \Portal\bin

Question : How does the system know where our portlet's .ascx files are located?

Question : Can we build a portlet that has all the web controls defined in the .dll, and doesn't have an .ascx page?

Question : It looks like there are add-ons, such as LMS and CRM, that have their own portal directories. Do LMS portlet dll's go in LMS\Portal\bin, or is there a master \Portal\bin where all the data goes?