V10 ResourcesReference
ResourcesReference
Reference
Back | List of Articles

How to configure the development environment to automate the registration of extensions?

Last changed in 02/12/2020

The Extensibility Essentials allows you to automate several tasks in the process of developing and maintaining extensibility projects, including the process of registering the assembly (extension) in the ERP whenever a new build is published. To do this, before creating a new project, access the Visual Studio options (Tools / Options) and configure the ERP connection parameters.

 width=

After configuring the development environment, when you create a new extensibility project, a Post-build event will be added to register the extension.

Call 'C:Program FilesPRIMAVERASG100APLRegisterExtension.exe' MinhaEmpresa MeuUserName MinhaPassword 0 $(TargetPath) False

Registration is done using the RegisterExtension.exe utility located in the APL folder. This utility is a simple application that can be run in a command line, passing the following arguments:

ParameterDescription
EmpresaCompany Code. This code can be obtained from the PRIMAVERA administrator
UtilizadorUsername
PasswordUser's password
Tipo PlataformaType of Platform
0 - Executive
1 - Professional
FicheiroFull path and name of the assembly to register
Tipo ExtensãoIndicates if the extension is to be registered for all companies or only for the specified company
True - All companies
False - Only the specified company

Post-build is not added to the project in the following situations:

  1. If the Extensibility Essentials properties are not defined;
  2. If the registration utility does not exist in the APL folder. In this case you can download it here.
Bookmark or share this article
Esta página foi útil?
Obrigado pelo seu voto.
Related Articles
Characteristics of entities and services Concept of integration Concept of extensibility How to register extensibility projects? Best practices in organization of integration projects