How to configure the development environment to automate the registration of extensions?
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. After configuring the development environment, when you create a new extensibility project, a Post-build event will be added to register the extension. 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: Post-build is not added to the project in the following situations:Call 'C:Program FilesPRIMAVERASG100APLRegisterExtension.exe' MinhaEmpresa MeuUserName MinhaPassword 0 $(TargetPath) False
Parameter Description Empresa Company Code. This code can be obtained from the PRIMAVERA administrator Utilizador Username Password User's password Tipo Plataforma Type of Platform
0 - Executive
1 - ProfessionalFicheiro Full path and name of the assembly to register Tipo Extensão Indicates if the extension is to be registered for all companies or only for the specified company
True - All companies
False - Only the specified company
login para deixar a sua opinião.