Thursday, 8 May 2014

CRM 2013 Custom Action Import Solution Error


When you import a solution that having a custom action component, you might be facing error or failure :

Importsolutionfield1

With error : “The requested record was not found or you don’t have permission …”

Then when you download log file :

Importsolutionfield2

Workflow with Id = ‘Guid’ Does Not Exist

After tried to find out, we know that this solution never get any error before we have Custom Action component inside.

I realize that it might be missing ID when try to import related record between that workflow (which is Custom Action type) and its child, such as Argument, Steps.

Resolution :
1. If you want really still use that Custom Action and Improt it to another organization, then first your have to Remove all of the Arguments and Steps.



Then, you export import your solution (you can add your Custom Action – without Arguments and Steps – as your Process component), then it should be working.

Then, later, from your source organization, you can continue your Custom Action development by re-do inserting your Arguments and Steps.

After that, because in your destination organization, your workflow Id has been inserted, then any update from your custom action, you will not find any error.



2. Alternatively, you can create a special solution (separately) containing only custom actions (that you already created the header, but you have not inserted any arguments or steps), let’s say you still yet to decide where is your destination organization, than you can create custom action as many as you want, add that to your special solution, then after that you export that solution (the one that containing blank custom actions), then you save it first in your local computer. Later, when you want to import your complete solution, first you have to import your blank custom action, then you can continue import your rest solution development/customization.

Create a new solution
image

Add custom action (blank), make sure you do not have any arguments or steps first, otherwise, you have to remove all then re-add again.

image

Publish all customizations, then you export solution, then do not forget to save it.

image

After all, you should have imported this solution first before you can import your complete solution that your custom action is not blank anymore because you have added some arguments or steps.

I hope in the next rollup of Microsoft Dynamics CRM, this issue can be fixed, I try this method since I really urgent to export and import my solution, and I cannot stand every time I have to recreate and re-add arguments and steps.

Hope it helps!
Thank you.

9 comments:

  1. Custom software development specialists explore exactly of the company are on they need from their IT system in order to operate to their optimum.

    ReplyDelete
  2. Are you working with managed or unmanged solutions?

    ReplyDelete
  3. Figured out my issue. There is a very specific bug in 2013 SP1 UR 1:

    http://www.dotnetdust.blogspot.com/2015/02/how-to-import-solution-with-custom.html

    ReplyDelete
  4. With some of the best custom crm solutions every business can able to reap as much benefit as possible without spending much time or effort. The market is becoming really competitive and there are some amazing new range of applications coming up that can help the business to grow. With some of the custom built crm you can definitely find suitable solutions at ease.

    ReplyDelete
  5. I have read your blog. that is nice.

    There are many new custom crm development coming

    up that are all unique and best enough for any scale business firms. The best thing about this tool is that it

    will provide any business that demand and help all simplest of things to get managed. The custom crm solutions are all prove effective and can

    help any organization to reap benefits.
















    ReplyDelete
  6. It is the thing that varies time to time. It's all about CMS Customization.

    ReplyDelete
  7. I have read this blog please follow us :-The best and the most important thing about CRM tool is that it is designed and planned by professionals who are associated in this field or long period time. Some of the web based crm software feature about this tool will make things easier enough for business organizations and taking it to all new heights, using auto dealer crm is worth.

    ReplyDelete
  8. A smallish campaign with a homemade list would not be likely to yield much of a result. To achieve anything worthwhile, a much more aggressive effort is needed. Then, the age-old value analysis applies: projected earnings = margin on total projected sales - cost of campaign.

    ReplyDelete
  9. Hi there! this can be my initial comment here thus I simply needed to offer a fast shout out and say I genuinely relish reading through your posts.
    Can you recommend the other blogs/websites/forums that contend with a similar topics?
    Thanks!

    customize crm software solution

    ReplyDelete

My Name is..