Pages

Saturday, November 26, 2022

D365 FO error: Unable to install this application because an application with the same identity is already installed

I was trying to open workflow configuration form in D365 Finance and getting below error.

Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.

Cause

This issue occurs if the application was cached in the ClickOnce application cache. The application must be removed from the cache before you can successfully run it.

Solution

To clear the ClickOnce application cache, follow these steps:

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command, and then press Enter: rundll32 dfshim CleanOnlineAppCache

Monday, October 25, 2021

D365 FO Task recorder screenshots

 https://syedrafayali.wordpress.com/2019/02/14/dynamics-365-task-recorder-screenshots-extensions/

Wednesday, October 28, 2020

Setting up PowerBI embedded and Analytical workspaces in Dynamics 365 for Finance and Operations in a OneBox Environment


https://docs.microsoft.com/en-us/archive/blogs/dynamicsaxbi/accessing-analytical-workspaces-on-1box-environment

 


http://www.everythingdynamicsaxbi.com/2019/02/03/how-to-configure-power-bi-embedded-for-dynamics-365-for-finance-and-operations-one-box-environment/


Saturday, December 28, 2019

Attaching a selected document to Dynamics 365 for Finance and Operations



 PurchTable              purchaseTable;
       System.Net.WebClient    webClient;
       System.IO.MemoryStream  stream;

FileUploadTemporaryStorageResult fileUploadResult = File::GetFileFromUser (classstr(ImageFileUploadTemporaryStorageStrategy));
       
        if (fileUploadResult && fileUploadResult.getUploadStatus())
        {
            str imageFilePathName = fileUploadResult.getDownloadUrl();

            InteropPermission perm = newInteropPermission(InteropKind::ClrInterop);
            perm.assert();
            
            // BP Deviation Documented
            webClient = new System.Net.WebClient();
            // BP Deviation Documented
            stream = newSystem.IO.MemoryStream(webClient.DownloadData(imageFilePathName));
           
select purchaseTable where purchaseTable.PurchId == "PO-0002"// any record for tables

DocuRef docuref =DocumentManagement::attachFile(purchaseTable.TableId,purchaseTable.RecId, purchaseTable.DataAreaId,DocuType::typeFile(),stream,fileUploadResult.getFileName(), fileUploadResult.getFileContentType(),fileUploadResult.getFileName());
            // download/view the attachment
            str displayUrl = DocumentManagement::getAttachmentPublicUrl(docuref);
            Browser br = new Browser();
            br.navigate(displayUrl);
            CodeAccessPermission::revertAssert();
        }

thanks for great help...

Wednesday, November 13, 2019

run report not in d365 fo menu