Loading and Reloading a Component (Magic xpa 4.x)
When you zoom on an empty component row an Open dialog box appears, where you can select the Magic xpa Component Interface (ECI) file, WCF or .NET assembly. You can also use the Load/Reload Components option of the Options menu. Magic xpa loads the component interface and corresponding project file.
Once a component is loaded into a project, it does not need to be reloaded unless the interface changes.
However, when you want to add new items to the component, or change parameters to existing items, you will need to reload the component. This is only done within the Magic xpa Studio, and it requires a new .eci to be generated. The steps you would go through are as follows:
-
Make your changes to the component, such as adding new programs, data sources, or models.
-
Re-generate the .eci, including your changes. Your original component should still be on the Component list, so you do not have to create it from scratch, just change the items you want to change. You can change the Version number to keep track of the changes, if you like.
-
In the Component repository, select the component you want to reload, and select Options->Load/Reload Components. This will bring up a dialog box that allows you to select the .eci again.
-
When you click Open, the component will be reloaded. You will see the new items listed.
|
-
It is very important that you use Load/Reload. If you delete the old component and just recreate a new component, all the internal links to component objects will be lost.
-
If you change a .NET DLL, you need to reload it in the CRR.
|
Loading a WCF Component from Behind a Proxy Server