Skip to content

Commit

Permalink
Fix for ribbon & multi select optionsets (#113)
Browse files Browse the repository at this point in the history
Workaround for #112
Added assertion for multi select optionsets
  • Loading branch information
mVermaat authored Feb 24, 2021
1 parent a1925a0 commit 4c07140
Show file tree
Hide file tree
Showing 27 changed files with 1,064 additions and 403 deletions.
2 changes: 1 addition & 1 deletion Deployment/Scripts/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ function Build-CrmConnectionString
param($jsonSettings)

$appsettings = Get-Content -Path $jsonSettings.AppsettingsPath
return "Url=$(Get-AppSettingValue $appsettings "Url");AuthType=$(Get-AppSettingValue $appsettings "AuthType");Username=$(Get-AppSettingValue $appsettings "Username");Password=$(Get-AppSettingValue $appsettings "Password")"
return "Url=$(Get-AppSettingValue $appsettings "Url");AuthType=$(Get-AppSettingValue $appsettings "AuthType");ClientId=$(Get-AppSettingValue $appsettings "ClientId");ClientSecret=$(Get-AppSettingValue $appsettings "ClientSecret")"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<IntroducedVersion>3.0.0.0</IntroducedVersion>
<WebResourceId>953b9fac-1e5e-e611-80d6-00155ded156f</WebResourceId>
<OptimizedFor></OptimizedFor>
<statecode>0</statecode>
<statuscode>1</statuscode>
<FormFactor>1</FormFactor>
<ClientType>4</ClientType>
<NavigationType>0</NavigationType>
Expand Down Expand Up @@ -89,8 +91,8 @@
<AppModuleComponent type="26" id="{e88ca999-0b16-4ae9-b6a9-9edc840d42d8}" />
</AppModuleComponents>
<AppModuleRoleMaps>
<Role id="{119f245c-3cc8-4b62-b31c-d1a046ced15d}" />
<Role id="{627090ff-40a3-4053-8790-584edc5be201}" />
<Role id="{119f245c-3cc8-4b62-b31c-d1a046ced15d}" />
</AppModuleRoleMaps>
<LocalizedNames>
<LocalizedName description="SpecFlow Demo" languagecode="1033" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<IntroducedVersion>3.0.0.0</IntroducedVersion>
<WebResourceId>953b9fac-1e5e-e611-80d6-00155ded156f</WebResourceId>
<OptimizedFor></OptimizedFor>
<statecode>0</statecode>
<statuscode>1</statuscode>
<FormFactor>1</FormFactor>
<ClientType>4</ClientType>
<NavigationType>0</NavigationType>
Expand Down Expand Up @@ -89,8 +91,8 @@
<AppModuleComponent type="26" id="{e88ca999-0b16-4ae9-b6a9-9edc840d42d8}" />
</AppModuleComponents>
<AppModuleRoleMaps>
<Role id="{119f245c-3cc8-4b62-b31c-d1a046ced15d}" />
<Role id="{627090ff-40a3-4053-8790-584edc5be201}" />
<Role id="{119f245c-3cc8-4b62-b31c-d1a046ced15d}" />
</AppModuleRoleMaps>
<LocalizedNames>
<LocalizedName description="SpecFlow Demo" languagecode="1033" />
Expand Down
100 changes: 100 additions & 0 deletions Deployment/Solutions/SpecFlowDemo/Entities/Account/Entity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,67 @@
<Description description="" languagecode="1033" />
</Descriptions>
</attribute>
<attribute PhysicalName="mv_ContactDeleted">
<Type>bit</Type>
<Name>mv_contactdeleted</Name>
<LogicalName>mv_contactdeleted</LogicalName>
<RequiredLevel>none</RequiredLevel>
<DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
<ImeMode>auto</ImeMode>
<ValidForUpdateApi>1</ValidForUpdateApi>
<ValidForReadApi>1</ValidForReadApi>
<ValidForCreateApi>1</ValidForCreateApi>
<IsCustomField>1</IsCustomField>
<IsAuditEnabled>1</IsAuditEnabled>
<IsSecured>0</IsSecured>
<IntroducedVersion>1.0.0.148</IntroducedVersion>
<IsCustomizable>1</IsCustomizable>
<IsRenameable>1</IsRenameable>
<CanModifySearchSettings>1</CanModifySearchSettings>
<CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings>
<CanModifyAdditionalSettings>1</CanModifyAdditionalSettings>
<SourceType>0</SourceType>
<IsGlobalFilterEnabled>0</IsGlobalFilterEnabled>
<IsSortableEnabled>0</IsSortableEnabled>
<CanModifyGlobalFilterSettings>1</CanModifyGlobalFilterSettings>
<CanModifyIsSortableSettings>1</CanModifyIsSortableSettings>
<IsDataSourceSecret>0</IsDataSourceSecret>
<AutoNumberFormat></AutoNumberFormat>
<IsSearchable>0</IsSearchable>
<IsFilterable>0</IsFilterable>
<IsRetrievable>0</IsRetrievable>
<IsLocalizable>0</IsLocalizable>
<AppDefaultValue>0</AppDefaultValue>
<optionset Name="mv_account_mv_contactdeleted">
<OptionSetType>bit</OptionSetType>
<IntroducedVersion>1.0.0.148</IntroducedVersion>
<IsCustomizable>1</IsCustomizable>
<displaynames>
<displayname description="Contact Deleted" languagecode="1033" />
</displaynames>
<Descriptions>
<Description description="" languagecode="1033" />
</Descriptions>
<options>
<option value="0" Color="#0000ff">
<labels>
<label description="No" languagecode="1033" />
</labels>
</option>
<option value="1" Color="#0000ff">
<labels>
<label description="Yes" languagecode="1033" />
</labels>
</option>
</options>
</optionset>
<displaynames>
<displayname description="Contact Deleted" languagecode="1033" />
</displaynames>
<Descriptions>
<Description description="" languagecode="1033" />
</Descriptions>
</attribute>
<attribute PhysicalName="mv_ContactPresent">
<Type>bit</Type>
<Name>mv_contactpresent</Name>
Expand Down Expand Up @@ -113,6 +174,44 @@
<Description description="" languagecode="1033" />
</Descriptions>
</attribute>
<attribute PhysicalName="mv_Subcriptions">
<Type>multiselectpicklist</Type>
<Name>mv_subcriptions</Name>
<LogicalName>mv_subcriptions</LogicalName>
<RequiredLevel>none</RequiredLevel>
<DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
<ImeMode>auto</ImeMode>
<ValidForUpdateApi>1</ValidForUpdateApi>
<ValidForReadApi>1</ValidForReadApi>
<ValidForCreateApi>1</ValidForCreateApi>
<IsCustomField>1</IsCustomField>
<IsAuditEnabled>1</IsAuditEnabled>
<IsSecured>0</IsSecured>
<IntroducedVersion>1.0.0.148</IntroducedVersion>
<IsCustomizable>1</IsCustomizable>
<IsRenameable>1</IsRenameable>
<CanModifySearchSettings>1</CanModifySearchSettings>
<CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings>
<CanModifyAdditionalSettings>1</CanModifyAdditionalSettings>
<SourceType>0</SourceType>
<IsGlobalFilterEnabled>0</IsGlobalFilterEnabled>
<IsSortableEnabled>0</IsSortableEnabled>
<CanModifyGlobalFilterSettings>1</CanModifyGlobalFilterSettings>
<CanModifyIsSortableSettings>1</CanModifyIsSortableSettings>
<IsDataSourceSecret>0</IsDataSourceSecret>
<AutoNumberFormat></AutoNumberFormat>
<IsSearchable>0</IsSearchable>
<IsFilterable>0</IsFilterable>
<IsRetrievable>0</IsRetrievable>
<IsLocalizable>0</IsLocalizable>
<OptionSetName>mv_subscriptions</OptionSetName>
<displaynames>
<displayname description="Subscriptions" languagecode="1033" />
</displaynames>
<Descriptions>
<Description description="" languagecode="1033" />
</Descriptions>
</attribute>
</attributes>
<EntitySetName>accounts</EntitySetName>
<IsDuplicateCheckSupported>1</IsDuplicateCheckSupported>
Expand All @@ -124,6 +223,7 @@
<IsConnectionsEnabled>1</IsConnectionsEnabled>
<EntityColor>#794300</EntityColor>
<IsDocumentManagementEnabled>1</IsDocumentManagementEnabled>
<AutoCreateAccessTeams>0</AutoCreateAccessTeams>
<IsOneNoteIntegrationEnabled>1</IsOneNoteIntegrationEnabled>
<IsKnowledgeManagementEnabled>0</IsKnowledgeManagementEnabled>
<IsSLAEnabled>0</IsSLAEnabled>
Expand Down
Loading

0 comments on commit 4c07140

Please sign in to comment.