diff --git a/Controls/CheckBoxList/CheckBoxList/ControlManifest.Input.xml b/Controls/CheckBoxList/CheckBoxList/ControlManifest.Input.xml index 836c85f..4787a33 100644 --- a/Controls/CheckBoxList/CheckBoxList/ControlManifest.Input.xml +++ b/Controls/CheckBoxList/CheckBoxList/ControlManifest.Input.xml @@ -1,6 +1,6 @@ - + diff --git a/Controls/Deployment/Solutions/ItAintBoringPCFControls.zip b/Controls/Deployment/Solutions/ItAintBoringPCFControls.zip index 5a5d1f2..67c1b78 100644 Binary files a/Controls/Deployment/Solutions/ItAintBoringPCFControls.zip and b/Controls/Deployment/Solutions/ItAintBoringPCFControls.zip differ diff --git a/Controls/NToNMultiSelect/NToNMultiSelect/ControlManifest.Input.xml b/Controls/NToNMultiSelect/NToNMultiSelect/ControlManifest.Input.xml index 9196576..8a1c54d 100644 --- a/Controls/NToNMultiSelect/NToNMultiSelect/ControlManifest.Input.xml +++ b/Controls/NToNMultiSelect/NToNMultiSelect/ControlManifest.Input.xml @@ -1,6 +1,6 @@ - + - + @@ -24,10 +24,10 @@ --> - - + + diff --git a/Controls/NToNMultiSelect/NToNMultiSelect/index.ts b/Controls/NToNMultiSelect/NToNMultiSelect/index.ts index 7bc14a7..12d745c 100644 --- a/Controls/NToNMultiSelect/NToNMultiSelect/index.ts +++ b/Controls/NToNMultiSelect/NToNMultiSelect/index.ts @@ -129,7 +129,8 @@ export class NToNMultiSelect implements ComponentFramework.StandardControlXrm).Utility.getEntityMetadata(this._linkedEntityName,[]).then(this._linkedEntityMetadataSuccessCallback, this.errorCallback); //(Xrm).WebApi.retrieveMultipleRecords(this._relationshipEntity, "?$filter="+ (this.contextObj).page.entityTypeName+"id eq " + (this.contextObj).page.entityId, 5000).then(this._relationshipSuccessCallback, this.errorCallback); - if((this.contextObj).page.entityId != null) + if((this.contextObj).page.entityId != null + && (this.contextObj).page.entityId != "00000000-0000-0000-0000-000000000000") { this.contextObj.webAPI.retrieveMultipleRecords(this._relationshipEntity, "?$filter="+ (this.contextObj).page.entityTypeName+"id eq " + (this.contextObj).page.entityId, 5000).then(this._relationshipSuccessCallback, this.errorCallback); } @@ -253,7 +254,8 @@ export class NToNMultiSelect implements ComponentFramework.StandardControlthis.contextObj).page.entityId == null) + if((this.contextObj).page.entityId == null + || (this.contextObj).page.entityId == "00000000-0000-0000-0000-000000000000") { if(action == "select") { diff --git a/Controls/TreeRelationships/TreeRelationships/ControlManifest.Input.xml b/Controls/TreeRelationships/TreeRelationships/ControlManifest.Input.xml index bff5464..aeb014f 100644 --- a/Controls/TreeRelationships/TreeRelationships/ControlManifest.Input.xml +++ b/Controls/TreeRelationships/TreeRelationships/ControlManifest.Input.xml @@ -1,7 +1,7 @@ - + diff --git a/Controls/ValidatedInputControl/ValidatedInputControl/ControlManifest.Input.xml b/Controls/ValidatedInputControl/ValidatedInputControl/ControlManifest.Input.xml index bb17378..48fe554 100644 --- a/Controls/ValidatedInputControl/ValidatedInputControl/ControlManifest.Input.xml +++ b/Controls/ValidatedInputControl/ValidatedInputControl/ControlManifest.Input.xml @@ -1,7 +1,7 @@ - +