Skip to main content
11-Garnet
January 9, 2025
Solved

How can we determine if a project deployed on the TWX platform is an extension (programmatically) ?

  • January 9, 2025
  • 1 reply
  • 507 views

I want to verify whether a project is an extension. Using the code snippet below, we can retrieve a list of all extensions and iterate through them. However, in our case, the project name and its extension name might differ. How can we identify it in such a scenario?

 

result = Subsystems["PlatformSubsystem"].GetExtensionPackageList();

Best answer by VladimirRosu_116627

The same subsystem has a GetExtensionPackageDetails service which accepts as an input the name of the package you get from the service you mentioned. The output is the list of entities, including their type.

1 reply

19-Tanzanite
January 9, 2025

The same subsystem has a GetExtensionPackageDetails service which accepts as an input the name of the package you get from the service you mentioned. The output is the list of entities, including their type.