Set Application Name from Environment Settings Spreadsheet

Topics: Bindings File, Settings Management and SSO
Sep 18, 2013 at 3:53 PM

I'd like to set the ProjectName or ApplicationName of the installed BizTalk application from the settings spreadsheet.

I've added BizTalkAppName to spreadsheet with environment specific application names e.g. Polaris.Dev, Polaris.Test, Polaris.UAT etc based on the environment I'm trying to target.

Then in my btdfproject file I set the Project Name as follows:
and I have included the "BizTalkAppName" in my PropsFromEnvSettings as follows:
        <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup;BizTalkAppName;" />
However, when I build the MSI and install on the server it states that the Application Name is Empty even though it correctly output the property value to "Polaris.Test".
  Setting properties from environment settings file (C:\Program Files (x86)\End
  urance BizTalk Polaris-Genius Integration\1.4.2\Deployment\EnvironmentSetting
  __Setting property to value 'Polaris.Test'__.
  BizTalk Application Name is
Is there anyway this can be accomplished?

Sep 18, 2013 at 4:15 PM
Hi Adrian,

You need to explicitly set ProjectName to something. It is mostly used for default file naming and a few registry keys. The important thing is that you are overriding BizTalkAppName. You don't need to have BizTalkAppName as a property in the .btdfproj (in case you do). You've got the right setting for PropsFromEnvSettings.

Also double-check that all of the settings XML files that are exported include your BizTalkAppName value.

Sep 19, 2013 at 3:56 PM

I just added the the value to the spreadsheet and remove it from the btdfproj file completely and it now works.