Priyanka Sharma
17 posts
Registered:
07 Jul 2022
Answered
10 Nov 2022
Link to this post
The file is not getting uploaded and it is returning below error when the record is created and folder structure is formed with dynamic structure. On already created records it works fine.
at pavliks.PortalConnector.SharePoint.Connection.SharePointConnectionManager.GetEntityFolder(String logicalName, Guid entityId)
at pavliks.PortalConnector.SharePoint.Connection.SharePointConnectionManager.GetFiles(String logicalName, Guid entityId)
at pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.UploadFile(ICrmConnection connection, IFileUploadModel model, CrmFormSubmissionFile file, Entity relatedEntity)
at pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.UploadFiles(ICrmConnection connection, CrmFormSubmissionNode submissionNode)
at pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.SubmitEntityLevelToCrm(CrmFormSubmissionTree submissionTree, String currentEntitySelector, FormLayoutSection section, ICrmConnection connection, FormCollection data, CrmFormSubmissionSettings submitSettings)
at pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.SubmitSections(IEnumerable`1 sections, FormCollection data, HttpFileCollectionBase files, CrmFormSubmissionSettings submitSettings, Boolean mockConnection)