Closed rmuhammed closed 2 years ago
I do not reproduce. Can you tell me what is your version of Power Apps Portal?
Portal version : 9.4.3.40 Thanks Muhammed Rafiq Engineer III Office Wipfli LLP / Tower B, 4th Floor, Global Village Tech Park, Mylasandra / Pattenegere Villages, RVCE Post, Off Mysore road, Bangaluru, IND 560059 wipfli.comhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.wipfli.com%2F&data=04%7C01%7CMRafiq%40wipfli.com%7C534223416ae1438ce90708d9e26ade27%7Cfea858f0512d46498228d78fd9ef3c7e%7C0%7C0%7C637789770891850848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gbUbIvczDnTQ0tD4SgT5QyWOzKqkACosOki5BMt2bpA%3D&reserved=0 / Facebookhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FWipfliLLP&data=04%7C01%7CMRafiq%40wipfli.com%7C534223416ae1438ce90708d9e26ade27%7Cfea858f0512d46498228d78fd9ef3c7e%7C0%7C0%7C637789770891850848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qundxWtJRMCJEiEZj8ESCCEda2M%2BMsd8Cyq2En38HcQ%3D&reserved=0 / Twitterhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.twitter.com%2FWipfli_LLP&data=04%7C01%7CMRafiq%40wipfli.com%7C534223416ae1438ce90708d9e26ade27%7Cfea858f0512d46498228d78fd9ef3c7e%7C0%7C0%7C637789770891850848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cv9wJGtrKXSdORyJoBXYNPlTpDJN4sD%2BYDF8t4s0H%2B4%3D&reserved=0
Member of Allinial Global, an association of legally independent firms
@.***
From: MscrmTools @.> Sent: Saturday, April 23, 2022 6:22 PM To: MscrmTools/MscrmTools.PortalRecordsMover @.> Cc: Rafiq, Muhammed @.>; Author @.> Subject: Re: [MscrmTools/MscrmTools.PortalRecordsMover] Error while retrieving records (Issue #54)
I do not reproduce. Can you tell me what is your version of Power Apps Portal?
- Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMscrmTools%2FMscrmTools.PortalRecordsMover%2Fissues%2F54%23issuecomment-1107466849&data=05%7C01%7CMRafiq%40wipfli.com%7Cbe8c8d25779b4f5d0cd908da252809c2%7Cfea858f0512d46498228d78fd9ef3c7e%7C0%7C0%7C637863151171329490%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UeHOBLx0AsEcU6DJ3%2FjnWLRZ%2FpSNUvlkNlrsy1H3TdY%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAENNL6AVFOE5N5HNPSVIW4TVGPW6PANCNFSM5UD3WNQQ&data=05%7C01%7CMRafiq%40wipfli.com%7Cbe8c8d25779b4f5d0cd908da252809c2%7Cfea858f0512d46498228d78fd9ef3c7e%7C0%7C0%7C637863151171329490%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=t4PIqlU6nIZTzldpcTbYFWGDZfAe3aGvo8ATSz01jq4%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
The content of this email and any attached files are confidential, and may be subject to certain privilege. This email is intended for the designated recipient(s) only. If you have received this email in error, please immediately contact the sender.
Wipfli LLP CPAs and Consultants
I found the error is coming when I select "Portal Comment" entity
New version is available
I selected all entities in the list and tried to to retrieve records. I see the error below
`See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.InvalidCastException: Unable to cast object of type 'Microsoft.Xrm.Sdk.EntityCollection' to type 'Microsoft.Xrm.Sdk.EntityReference'. at Microsoft.Xrm.Sdk.Entity.GetAttributeValue[T](String attributeLogicalName) at MscrmTools.PortalRecordsMover.Controls.RecordsListerControl.GetRecordValue(Entity record, String value, EntityMetadata emd) at MscrmTools.PortalRecordsMover.Controls.RecordsListerControl..ctor(List`1 records, EntityMetadata emd, String layoutXml) at MscrmTools.PortalRecordsMover.MyPluginControl.b34_1(RunWorkerCompletedEventArgs evt)
at XrmToolBox.Extensibility.Worker.<>c__DisplayClass4_0.b 0(Object s, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)