HOW-TO: Add New Content Component Types

Actions in Vignette Content Management

  1. Go to "bin" folder, into VCM base install folder.
  2. Execute "config" script.
  3. Choose the first option: "1. Connect to VCM Server" and log in:
    - server: <enter server ip/name>.
    - port: <enter server port> (default: 27110).
    - user: <enter admin account user>.
    - pass: <enter admin account password>.
  4. Choose the option: "5. Manage Applications".
  5. Choose the option: "1. Register Product Extensions".
  6. Choose the option: "1. Extension Module".
  7. Choose the option: "1. Deploy Extension". Enter the content component jar file full path.
  8. Repeat this process for all of content component dependencies.
  9. Reboot VCM.
  10. Logging in VCM with an application administrator user.
  11. Go to "Workbench ? Content Type Definitions".
  12. Navigate to the project in which to store your content component type.
  13. When you are in the project in which you want to create the content component type, click "Content Type Definition" under "New" icon.
  14. In the "New Content Type Definition" dialog box, enter the following information:
    - Name: Enter a display name for the content component type.
    - XML Name: Enter an XML name for the content component type.
    - Description: Enter an optional description.
    - Type Def — Java Class: Enter "com.vignette.ext.templating.client.javabean.ContentComponent" or a subclass of this class (one you previously created). Content type definition - General tab
  15. Click on "Attributes" tab.
  16. Add content type data attributes. In the ID dialog box, from the "Widget Type" field, click on "Presentation Component Key", and click on "Change".
    - For more information see "Vignette Dynamic Portal Module and Vignette Dynamic Site Module Developer’s Guide" ("DPs_dev.pdf" owned by Vignette Corporation) pages 66-71.
    - PAY ATTENTION: Take special attention on database tables , otherwise you'll get incomprehensible errors. It's recommended appointing both tables and fields in uppercase, avoiding strange characters.

    Content type definition - Data attributes tab

Actions in Vignette Dynamic Portal Module

  1. Access to directory "vgn-ext-templating\WEB-INF\lib" (DPM web application) in your servlet container.
  2. Copy the corresponding content component library "*.jar" and other dependencies.
  3. Reboot "vgn-ext-templating" web application or servlet container.
  4. If everything went well, you should see a new "Eligible Content Type" in the "Details" of an instance of Content Publisher Portlet.

Good luck!!

Comments

how to get instance from content Component using vignette 7 API

i need to get new instance from content Component using vignette 7 API
iahve page id and channel id and region name ineed to set in region new content component instance ....
thanks

Forum

Post your question as a forum topic.

New out-of-Box Wizard to create Content Type Definitions

I heared that in VCM 7.4 having the new out-of-box wizard that will allow to create content type definition easily. Is it true, where can i find that option in VCM. Please explain

Thanks

Jay Ram