Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • e 23 posts 42 karma points
    Oct 17, 2011 @ 16:35
    e
    0

    Accessing install package programmatically

    I'm trying to write an install.ascx file that will allow the doc types in the package underneath the otherdocument types on the site its being installed on.

    Similar to the 'allowDocumentType' package action but dynamic.

    The thought is that i can use one install.ascx file and include it in any package.  It will read the package.xml file to determine the package types being installed, and read the website to know what document types are available to allow under.

    My question: is there a class that will give me access to the package, or package.xml file of the package, that this install.ascx file is running in?  I would like to avoid manually opening and parsing the .xml file if possible.

     

     

Please Sign in or register to post replies

Write your reply to:

Draft