10:10 PM
BTG
Most of the SDK developer of SAP Business One are using 3rd party tool or Installshield to compile their add-on. But in the new version of SAP Business One 9.1, one the highlights for this version is the Enhanced lifecycle management for extension. This is the new light-weight approach for add-on deployment. The benefits of this update are:
- Simplified extension development and lifecycle management including add-ons and extreme apps.
- Remote control the extension lifecycle management easily without end-user interaction or system administration privilege.
- Imagine, there's no more hustle in the end user part as they install and uninstall the add-on.
- You don't need to call any support as the add-on failed to install in the end user part.
- Less time to compile the add-on less hustle to deploy the package.
To make sure that you that this things work is that:
- Check your SLDModel.SLDData database.
- The Identity Specification for Tasks and TaskProperties tables are set to 'No'
- If the Identity Specification is set to 'Yes' then you should reinstall your SLD.
Many user complain that they cannot import their add-on package in the System LandScape(SLD), the reason why is that their SLDModel.SLDData database is not updated. Their SLDModel.SLDData database came from SAP Business One 8.82 below. Though if you upgrade your SLDModel.SLDData database from SAP Business One 8.82 to SAP Business One 9.1 expect the same error as mine "Cannot reserve ID for invalid name 'TaskProperty'". To fix this error, you need to reinstall your SLD and use the SAP Business 9.1 installer.
So lets get started.
- Make sure that the SAP Business One SDK is installed in your machine.
- Go to: "C:\Program Files (x86)\SAP\SAP Business One SDK\Tools\ExtensionPackage"
- Open "ExtensionPackage.exe"
Walk through with the ExtensionPackage:
Basic Information:
- Extension Name is mandatory, this is your add-on name.
- Extension Version: your add-on version
- Extension Provider: you can input your company name
- Extension Namespace: you can input your company name or your initials
- Supported Database: choose platform where you deploy your add-on package
- Contact Data: you can input your company name
Extension File:
- In the Open Exe file, browse your add-on exe file.
- If your client is using SAP Business One 32-bit then select the SBO 32-Bit Client add-on
- If your client is using SAP Business One 64-bit then select the SBO 64-Bit Client add-on
- If your client is using SAP Business One for HANA then select the App for the version for SAP HANA
- Select all the necessary files that you need in your package.
- For example, if your add-on used .srf form.
Deployment Steps:
- Select all the necessary library files(DLLs) the you need in your package.
- If your client is using SAP Business One 32-bit then select the Register 32-Bit Microsoft COM DLLs
- If your client is using SAP Business One 64-bit then select the Register 64-Bit Microsoft COM DLLs
- Common DLLs that need to include are:
- Interop.SAPbobsCOM.dll
- Interop.SAPbobsuiCOM.dll
- If you created your own library kindly select it.
SBO Compatibility:
- Your package is compatible with SAP Business One
Parameters:
- Honestly, I really don't know how to use this function.
For the buttons:
- Export - export your file as .ard file
- Import - import your .ard file
- Package - export your file as 1 file (zip) file
- This package used in the Extension Manager of SLD.
If you are done with those simple steps, you may now proceed to import your add-on package to SAP Business One Extension Manager.
To access the SAP Business One Extension Manager.
- Open your SAP Business One Service manager by double clicking it in your notification area.
- Select License Manager in Service drop down selection.
- Click Settings
- Configure Security
- It will open your default browser. The link looks like: https://<server-name>:30010/ControlCenter/
- If you encounter a Certificate error, just click Continue.
- Login your SLD credentials. Default username: B1SiteUser
- If you are successfully login change the ControlCenter to ExtensionManager
Importing your package:
- In the Extensions tab, kindly click Import button and browse your add-on package.
- After you successfully select your add-on package, click Upload.
- If your received an error "Cannot reserve ID for invalid name 'TaskProperty'". Kindly scroll up this post.
- Click Next
- If you have parameters in your add-on package you may now put value
- Click Next
- Then Finish
- Your package is now in the list.
Company Assignment:
You can now deploy your extension or add-on package in the specific Company database.
- In the Company Assignment tab, click the Company Database in the Company List that you want to assign the add-on package or extension.
- Click Assign button, the specify an extension or add-on package.
- Click Next
- Parameters, click Next
- Default Startup mode for each user.
- You can select Default, Automatic, Manual, Disabled
- Click Next
- Then Finish
- Your package is now in the list for the specific Company Database.
And you are done. :)