PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • SCM: Creating and distributing an external component
  • Principle
  • Creating the external component
  • SCM: Using an external component found in the SCM
  • Principle
  • Using an external component found in the SCM
  • Special case: Replacing an external component by an external component coming from the SCM
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to easily create and publish external components. This operation can be performed:
  • on non-shared projects: the external component is available on the network for example and it can be used by any project. See Creating and distributing an external component for more details.
  • on the projects found in the SCM database: the external component can be created from a project found in the SCM and it can be made available to the other projects also found in the SCM.
This help page presents the operations to perform in order to create and distribute an external component via the SCM.
SCM: Creating and distributing an external component

Principle

To distribute an external component via the SCM, this component must have been created and generated from a project found in the SCM.
Note: A SCM project can also use an external component that was not published in the SCM.

Creating the external component

The method for creating an external component for the SCM is the same as the method for creating a standard component. The project used to create the external component must be found in the SCM.
The steps are as follows:
  1. Create a project. This project will contain all the component elements. This project must be found in the SCM.
  2. When all the component elements are created, you have the ability to generate the external component:
    • Select (if necessary) the project configuration corresponding to the component (in the "Project explorer" pane).
    • Select "Workshop .. External component .. Generate a component".Click among the quick access buttons and select "Generate a component".
  3. Check in (if necessary) the elements checked out from the project.
  4. In the wizard for creating the external component, specify the requested options. The main point concerns the options for publishing the external component (screen named "Reusability Center").
    By default, the external component is generated in the EXE directory of the project (or in the directory corresponding to the project configuration of the component). The files corresponding to the external component can be used by any project.
    You also have the ability to "publish" the external component in the SCM, which means copy the files of the external component into a specific directory of SCM. In this case, the external component can be easily included in other SCM projects.
    To publish the external component in the SCM:
    • Check "Publish the component in the following SCM directory".
    • Specify the publishing directory. This directory is relative to the SCM database. You can for example group all the external components found in the SCM in a single directory. The "New directory" popup menu is used create a specific directory.
      Note: An external component that is published in SCM cannot be included in the Reusability Center.
  5. Validate the creation of external component.
  6. Validate the publication in the SCM.
SCM: Using an external component found in the SCM

Principle

WINDEV, WEBDEV and WINDEV Mobile allow you to include in a project found in the SCM an external component coming from:
  • a file,
  • SCM,
  • Reusability Center.
The following paragraph explains how to import a component published in the SCM.

Using an external component found in the SCM

To import an external component into a project of SCM:
  1. Open the project.
  2. Select "Workshop .. External component .. Import a component into the project .. From SCM".On the "Project" pane, in the "Project" group, expand "Import" and select "An external component .. From SCM".
  3. The screen allows you to:
    • find all the external components found in the SCM database ("Find" tab). Caution: this operation can take quite a long time.
    • browse the different directories of SCM to find the external component ("Browse" tab). This operation is recommended but you must know the generation directory of the component in the SCM.
  4. Select the requested external component and validate.
  5. The external component is included in the project and the description window of the component is displayed. Validate.
  6. The external component can be used in the project.
Versions 21 and later
Note: From version 21, the SCM speed for handling external components was optimized. The number of check-outs was reduced.
New in version 21
Note: From version 21, the SCM speed for handling external components was optimized. The number of check-outs was reduced.
Note: From version 21, the SCM speed for handling external components was optimized. The number of check-outs was reduced.

Special case: Replacing an external component by an external component coming from the SCM

Your project found in the SCM is using an external component that was included via the standard method (file available on network for example) and you want to replace it by an external component found in the SCM:
  1. Open the project.
  2. Select "Workshop .. External component .. List of components imported into the project".In the project explorer:
    • Select the "External components" folder.
    • Display the popup menu of the folder (right mouse click).
    • Select "List of external components imported into the project".
  3. The window that is displayed lists the external components found in the project.
  4. To replace the existing component by the external component found in the SCM, click the "Import (SCM)" button and select the external component.
Note: The "Re-localize" button cannot be used to replace the external component included in the project by the same component found in the SCM.
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment