[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2031.0. "Move entire application out of SITEOAFORM" by MISFIT::KINNEYD (Vous Etes Darned Touting) Mon Jan 04 1993 13:17

    HNY ALL!!
    
    About a year ago, I developed an ALL-IN-1 application for a customer.
    This is VMS 5.4 and ALL-IN-1 2.4. There was the usual collection of
    entry, index and select forms and a few scripts. I put all of my forms
    in SITEOAFORM.FLB, mostly because I didn't know any better.
    
    Now the customer would like to use the same application on other
    systems in the company. They would like me to make this application
    portable and easily installable/maintainable.
    
    My first inclination is to track down all of the forms in
    siteoaform.flb and move them to a seperate HDK.FLB. Once that is done,
    I can just bring the HDK.FLB down from tape and include it in the users 
    profile to give them access. 
    
    Is this the right approach? 
    
    Having never done this before, how do I get the forms from one FLB to 
    another?
    
    Dave Kinney
T.RTitleUserPersonal
Name
DateLines
2031.1Some ideasSIOG::T_REDMONDThoughts of an Idle MindMon Jan 04 1993 14:4415
    Track down all the forms in CM$SITELOG and change their live location
    to be something like OA$LIB_ENGLISH:HDK.FLB (use a script to do this),
    then move them all back into development, and then move them back into
    the live area. By doing it this way CM will preserve all the links and
    allow you to continue working. You also don't screw up CM$SITELOG and
    cause potential problems with CART.
    
    Inside of including the FLB in a user's profile record it's possibly
    better to have an application initialization script that checks whether
    the user has access to the application before it opens the FLB. That
    keeps ALL-IN-1's initialization time at a reasonable level (no
    degradation by additional FLBs being opened) and avoids taking the file
    open hit until people actually want to use the application.
    
    Tony
2031.2Looking for an easy way, as usualMISFIT::KINNEYDVous Etes Darned ToutingTue Jan 05 1993 14:1811
    I have never looked at CM$SITELOG before. If I understand correctly,
    the directions you give would be to modify the existing system also.
    I think what I want to do is to, in a way, extract the application from
    siteoaform to hdk.flb without going through a lot moving from
    development to live etc. There must be fifty forms in this application
    by now. 
    
    Can I use the lib command to create the new forms library from the
    existing siteoaform?
    
    Dave Kinney
2031.3SIOG::T_REDMONDThoughts of an Idle MindTue Jan 05 1993 15:089
    Yes, changing the details in CM$SITELOG will affect the way CM handles
    these forms in the future, but I believe that this is what you are
    trying to do in the long run.  After all, if you go through all the
    work to extract the forms and build another form library you'll end up
    with an FLB that can be used, but you'll have to rebuild the FLB every
    time changes are made to the application. Using a new live location
    (the FLB) means that CM will update the FLB automatically.
    
    Tony
2031.4I know, I ask a lot of questionsMISFIT::KINNEYDVous Etes Darned ToutingTue Jan 05 1993 15:2511
    Tony,
    
    What do you mean by the FLB will have to be 'rebuilt' with every
    change? What process are you refering to from say a application support
    persons perspective?
    
    Is thare a reference to changing the CM$SITELOG in one of the manuals?
    
    Thanks for all the advice.
    
    Dave Kinney
2031.5SIOG::T_REDMONDThoughts of an Idle MindWed Jan 06 1993 12:5512
    Well, if you leave the forms in CM and move them into HDK.FLB to
    distribute to other sites, what happens when you update a form (in CM
    hopefully)?  You'll have to insert the updated form into HDK.FLB again!
    That's what I mean by having to rebuild the application form library
    after changes are made.
    
    CM$SITELOG is an entry form so use CRTL/V to get a list of fields. The
    one that you're interested is in the LIVE_DISK_LOCATION which will
    change from OA$SITE_LIB_ENGLISH:SITEOAFORM.FLB to something like
    OA$SITE_LIB_ENGLISH:HDK.FLB.  
    
    Tony
2031.7About transferring...UTES09::VEENHOFThu Jan 07 1993 08:3332
    
    Dave,
    
    Some additional info for transferring your elements to another system:
    
    When creating an element in ALL-IN-1 V2.4 a form is displayed in which
    you can enter general information about the element. One of the fields
    is 'Application'. By entering a reference to you 'application' these
    elements are grouped together within ALL-IN-1. At first sigth this is
    not too usefull, but...
    
    For ALL-IN-1 V2.3/V2.4 an Asset called GIP (Generic Installation
    Procedure) existed (although it's on the list of retirement) to package
    elements which could be unpacked on another system. This way you don't
    have to do this by hand (as you mentioned Scripts next to the form
    library). One of the search criteria when packaging is the
    'Application' value, so in one go you could select all elements.
    
    In ALL-IN-1 V3.0 standard functionality is the Package/Restore which
    allows you to pack elements (or a complete application) into a saveset,
    which can be restored on the receiving system.
    
    The result is that the elements restored are recorded in Customization
    Management again, so that system will know about these modifications
    and allows e.g. the CART (for ALL-IN-1 V3.0) to include these elements
    when checking your systems (as explained by Tony).
    
    Ciao,
    
    	Simon
    
    
2031.8SIOG::T_REDMONDThoughts of an Idle MindThu Jan 07 1993 10:419
    Stay away from GIP. It is dead in the water now and any kit that you
    build with GIP has to be rebuilt for ALL-IN-1 V3.0.  
    
    I don't think you need a tool as complex as the GIP anyway.  You only
    want to transfer a form library (or so you've said), so all you have to
    do is make sure that the forms are stored by CM in a suitable live location
    for everything to work...
    
    Tony
2031.9She's a former ALL-IN-1 systems managerMISFIT::KINNEYDVous Etes Darned ToutingThu Jan 07 1993 13:5813
    
    My wife asked me a question about this and I got to thinking. She said,
    Why don't you just take the siteoaform, maybe rename it to avoid
    confusion, from the system with the application already running, and use 
    it at the other system as a source input for CM installing the forms at 
    the next site. Since there are only two other sites, It may take slightly 
    longer, but in both processes you have to touch every form anyway so whats 
    the difference? 
    
    The one major difference is that I don't have a portable application
    this way, but I figured why not ask. What do you think?
    
    Dave.
2031.10SIOG::T_REDMONDThoughts of an Idle MindFri Jan 08 1993 10:317
    Same reason as given before. Your approach (or your wife's approach) is
    fine as long as changes are never made to the application on the
    originating site. But this is unlikely to happen (for most
    applications) so I think it best to set things up properly from the
    start.
    
    T