Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to import Excel file using Custom action

Posted on by 475

Hello,

I want create records in multiple entities by reading through excel sheet . Can we achieve this by creating custom work flow and action . Please suggest how to read excel data to action and custom workflow.

Thanks,

Krishna Prasad.

*This post is locked for comments

  • dkrishna Profile Picture
    dkrishna 475 on at
    RE: How to import Excel file using Custom action

    I was able to create contact records from Excel but when trying to link account record to contact record getting error .To update contact iam mapping company name with account id primary key but this is causing problem as company name is lookup field .please suggest how to map company name lookup field in update record action.

  • Suggested answer
    Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: How to import Excel file using Custom action

    plugin or custom workflow, you need server side development to customize the data import (read all data of excel file).

    Check the links please:

    Create Dynamics 365 Records from an Excel using Microsoft Flow

    Excel file using OpenXML in Dynamics 365 Plugin (how to create excel file via plugin in D365, you can customize)

    Create data maps for import

  • dkrishna Profile Picture
    dkrishna 475 on at
    RE: How to import Excel file using Custom action

    Not plugin i need to implement in custom workflow as there can be many records while creatinv records. Is there any sample code for excel data ?

  • Suggested answer
    Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: How to import Excel file using Custom action

    exactly, you need to develop your plugin.

  • dkrishna Profile Picture
    dkrishna 475 on at
    RE: How to import Excel file using Custom action

    In Excel there will be entity name and specific columns will be mentioned based on that i need to records in multiple entities and need to handle some custom logic while creating records . For this i need to add button on form and show dialog window to select file .For this we achive by attach excel file to some entity and trigger custom workflow amd read data in customflow of that attachment?

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: How to import Excel file using Custom action

    Hi Krishna Prasad,

    Do you want to read data from excel file and import on regular basis ? If that is the case you can create SSIS package or else use plugin.

    If it's one time approach then create console application, read file and create record using Iorganization service.

  • Suggested answer
    Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: How to import Excel file using Custom action

    you must develop your plugin.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans