OFBiz
  1. OFBiz
  2. OFBIZ-635

Business Setup Wizard for Ofbiz.

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN trunk
    • Component/s: framework
    • Labels:
      None

      Description

      It will be nice to have a Business set up wizard that will walk a User through steps for setting up a Business unit. Document located at following link can be used as Guide/Spec document.

      http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide

        Issue Links

          Activity

          Hide
          Anil K Patel added a comment -

          We'll be working on Implementation. Please help us in Building requirements to make this tool effective.
          Regards
          Anil Patel

          Show
          Anil K Patel added a comment - We'll be working on Implementation. Please help us in Building requirements to make this tool effective. Regards Anil Patel
          Hide
          Anil K Patel added a comment -

          An Idea,
          If necessary re-org the Business setup guide into hierarchical content and then build a Ofbiz content data file. By doing this we can load this document into Ofbiz and then use it for providing context sensitive Help during step of Set up Wizard.

          Show
          Anil K Patel added a comment - An Idea, If necessary re-org the Business setup guide into hierarchical content and then build a Ofbiz content data file. By doing this we can load this document into Ofbiz and then use it for providing context sensitive Help during step of Set up Wizard.
          Hide
          Adrian Crum added a comment -

          A concept I've had in my mind that is kind of along these lines is a "System Configuration" web page that admins can use to configure OFBiz. That way, instead of having to sift through properties files, XML files and the like, a web page would display the settings that can be applied to those files. When the admin clicks Submit, the updated settings are written to the appropriate files, then the admin is advised to restart OFBiz to have them take effect.

          This is probably way more involved than what you intended. But at the same time, I think it would go a long way to making it easier for newcomers to install and configure OFBiz.

          Show
          Adrian Crum added a comment - A concept I've had in my mind that is kind of along these lines is a "System Configuration" web page that admins can use to configure OFBiz. That way, instead of having to sift through properties files, XML files and the like, a web page would display the settings that can be applied to those files. When the admin clicks Submit, the updated settings are written to the appropriate files, then the admin is advised to restart OFBiz to have them take effect. This is probably way more involved than what you intended. But at the same time, I think it would go a long way to making it easier for newcomers to install and configure OFBiz.
          Hide
          BJ Freeman added a comment -

          Been mulling setup in general over and have come up with some basics to build on
          First is two enitiies that store configuration information.
          The first is a GroupEntity that specifies with in a group the componet to work on and the sequence.
          The parentID ChildID would allow chaing groups together.
          Also if this group is visible to the user. This is so the automated setup are not displayed.

          A group would be like Business Setup, GLSetup, System Setup
          under the Business Setup group would be chained to
          Store Setup group which is chained to ProductStore group.

          the above table links to the configuration entity.
          This has
          Componet
          Entity
          EntiyField
          EntityValue
          Sequnce order for execution
          UseService for atutomation
          SetupURI to the controller
          Completed

          using the group example above
          the ProductStore group
          would be linked to the configuration entity for
          componet= content
          Entity = website
          Field would be WebsiteID
          Sequence =1
          useservice=null
          setservice=null <!-this is use allow the user to select options based on other entities like say Geo code. the service may call many widget forms.->
          setupURI = EditWebSite

          This would build the configuration web page with a link that opens a secondary window to the /content/control/EditWebSite
          once the window is completed it is closed
          the user then marks the task completed
          this is so if the user if interupted they know where they left off.

          The tricky part is to have a service go thru similar to the artifact and find all these and add them to these entities.
          for now there will have to be data that builds this table for each componet.

          I have this working on my systems. it does not do everthing yet.

          Show
          BJ Freeman added a comment - Been mulling setup in general over and have come up with some basics to build on First is two enitiies that store configuration information. The first is a GroupEntity that specifies with in a group the componet to work on and the sequence. The parentID ChildID would allow chaing groups together. Also if this group is visible to the user. This is so the automated setup are not displayed. A group would be like Business Setup, GLSetup, System Setup under the Business Setup group would be chained to Store Setup group which is chained to ProductStore group. the above table links to the configuration entity. This has Componet Entity EntiyField EntityValue Sequnce order for execution UseService for atutomation SetupURI to the controller Completed using the group example above the ProductStore group would be linked to the configuration entity for componet= content Entity = website Field would be WebsiteID Sequence =1 useservice=null setservice=null <!- this is use allow the user to select options based on other entities like say Geo code. the service may call many widget forms. -> setupURI = EditWebSite This would build the configuration web page with a link that opens a secondary window to the /content/control/EditWebSite once the window is completed it is closed the user then marks the task completed this is so if the user if interupted they know where they left off. The tricky part is to have a service go thru similar to the artifact and find all these and add them to these entities. for now there will have to be data that builds this table for each componet. I have this working on my systems. it does not do everthing yet.
          Hide
          BJ Freeman added a comment -

          if you like I will up load patches to create the entities and some sample data

          Show
          BJ Freeman added a comment - if you like I will up load patches to create the entities and some sample data
          Hide
          Anil K Patel added a comment -

          Please do so.

          Show
          Anil K Patel added a comment - Please do so.
          Hide
          BJ Freeman added a comment -

          Ok will take me a few days to put in ofbiz format

          Show
          BJ Freeman added a comment - Ok will take me a few days to put in ofbiz format
          Hide
          BJ Freeman added a comment -

          I guess hans has a new setup.
          if that is the case this should be closed or used to document the new setup.

          Show
          BJ Freeman added a comment - I guess hans has a new setup. if that is the case this should be closed or used to document the new setup.
          Hide
          Anil K Patel added a comment -

          I don't agree with what's in already. I'll like to take another shot. Lets keep this open.

          Show
          Anil K Patel added a comment - I don't agree with what's in already. I'll like to take another shot. Lets keep this open.
          Hide
          BJ Freeman added a comment -

          apologize.
          I will work on gettng my 9.04 version put up now that I have recovered.

          Show
          BJ Freeman added a comment - apologize. I will work on gettng my 9.04 version put up now that I have recovered.
          Hide
          BJ Freeman added a comment -

          Davids MultiTentant uses the database to define the settings for the DB access.
          I was thinking of doing something similar for entityengine.xml so it becomes seed data.
          everyone starts off using derby for demo and loading the entityengine.xml into it own database.
          then the setup config can access this to set the datasources and delegators.
          the setup can test to validate the new db setup and then initialize the tables and seed data.
          All without restarting ofbiz.
          part of the setup would transfer the setup to the new database with the steps already done.
          the setup program will then continue to add the custom data that the user needs to run ofbiz for his company.

          so a developers focus would to be to create setup packages for different businesses.
          these could be charged for.

          Show
          BJ Freeman added a comment - Davids MultiTentant uses the database to define the settings for the DB access. I was thinking of doing something similar for entityengine.xml so it becomes seed data. everyone starts off using derby for demo and loading the entityengine.xml into it own database. then the setup config can access this to set the datasources and delegators. the setup can test to validate the new db setup and then initialize the tables and seed data. All without restarting ofbiz. part of the setup would transfer the setup to the new database with the steps already done. the setup program will then continue to add the custom data that the user needs to run ofbiz for his company. so a developers focus would to be to create setup packages for different businesses. these could be charged for.
          Hide
          BJ Freeman added a comment -

          the current application/commonext ofbiz setup uses the standard controller.xml
          for migration and setup it would be nice to use the a db based controller setup. this would allow an componet to load its setup into the db without programming.
          I also think that this should be the basic code should be in the framework/common
          and the component specific should be in each components seed data to include the screens each component would have a ECA and SECA for setup as needed.
          each component would have a webapp/setup
          any thoughts.

          note: the migration would also use this setup controller.

          copy of email on dev list

          Show
          BJ Freeman added a comment - the current application/commonext ofbiz setup uses the standard controller.xml for migration and setup it would be nice to use the a db based controller setup. this would allow an componet to load its setup into the db without programming. I also think that this should be the basic code should be in the framework/common and the component specific should be in each components seed data to include the screens each component would have a ECA and SECA for setup as needed. each component would have a webapp/setup any thoughts. note: the migration would also use this setup controller. copy of email on dev list
          Hide
          BJ Freeman added a comment -
          Show
          BJ Freeman added a comment - I think this link make more sense https://cwiki.apache.org/confluence/display/OFBREQDES/Quick+Setup

            People

            • Assignee:
              Anil K Patel
              Reporter:
              Anil K Patel
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development