Custom Naming of an Application
REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, you can define application name format to all the applications while importing into the Catalog.
| Request Type | Description |
|---|---|
| API | http://localhost:8086/Catalog/ASOptionsProperty/?optionType=\{OptionsType\}&PropertyName=\{NameoftheProperty\} |
| Method | GET |
| Parameters | List all parameters in the following format: OptionsType = Specify the options type ImportOptions NameoftheProperty = Specify the property name ApplyNamingFormat— Specifies the check box to enable or disable. ApplicationNameFormat— Specifies the application name format while importing applications. |
| Connection Info | Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs |
| Response | Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=ImportOptions&PropertyName=ApplyNamingFormat Response: <data>True</data> Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=ImportOptions&PropertyName=ApplicationNameFormat Response: <data>[ProductName]_[Version]</data> |
| Request Type | Description |
|---|---|
| API | http://localhost:8086/Catalog/ASOptionsProperty/?optionType=\{OptionsType\}&PropertyName=\{NameoftheProperty\}&Value=\{ValueFormat\} |
| Method | POST |
| Parameters | List all parameters in the following format: OptionsType = Specify the options type ImportOptions NameoftheProperty = Specify the property name ApplyNamingFormat— Specifies the check box to enable or disable. ApplicationNameFormat— Specifies the application name format while importing applications. ValueFormat = Specify the property value that you want to set for ImportOptions. Use to specify the property value that you want to set for ImportOptions ApplyNamingFormat True False ApplicationNameFormat Valid Placeholders Can provide any of these placeholders separated by underscore. [Product Name]_[Version]_[Vendor]_[Platform]_[SetupType]_[Language] Can also provide a valid text without Placeholders. |
| Connection Info | Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs |
| Response | Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=ImportOptions&PropertyName=ApplicationNameFormat&Value=\[ProductName\]\_\[Vendor\]\_\[SetupType\] Response: <data>true</data> Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=ImportOptions&PropertyName=ApplyNamingFormat&Value=False Response: <data>true</data> |