{"id":400,"date":"2010-12-06T03:58:39","date_gmt":"2010-12-06T03:58:39","guid":{"rendered":"http:\/\/mahenderpal.wordpress.com\/?p=400"},"modified":"2010-12-06T03:58:39","modified_gmt":"2010-12-06T03:58:39","slug":"customization-import-from-crm-online-to-onpremise","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=400","title":{"rendered":"Customization Import from CRM online to Onpremise"},"content":{"rendered":"<p>Today I tried to import my customization.xml from CRM online to onpremise and I got error<\/p>\n<p>\u00a0&#8220;Either the file could not be uploaded, or this is not a valid Customization file.&#8221;<\/p>\n<p>I was surprised. I tried to import the same file to my CRM online environment again and it imported successfully. So my first thought was to enable trace and\u00a0check for log files, I got one\u00a0log file. I check that\u00a0log file using <a href=\"__doPostBack('ctl00$ctl00$Content$TabContentPanel$Content$ReleaseFiles$FileList$ctl00$FileNameLink','')\">CRM 4.0 Trace Log Viewer<\/a> and I found an exception message<\/p>\n<p><strong>\u201cThe element \u2018savedquery\u2019 has invalid child element \u2018visualizations\u2019. List of possible elements expected:\u2019Description,columnsetxml\u2019.\u201d<\/strong><\/p>\n<p>So \u201cVisualization\u201d was the main culprit here. <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ee704595.aspx\">In CRM online visualization represents to Charts<\/a>, so a visualization tags is added under savedquery node. So I modified my customization xml file in visual studio and deleted all visualization tags and then imported my customization file and it worked like a charm.<\/p>\n<p>Cheer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I tried to import my customization.xml from CRM online to onpremise and I got error \u00a0&#8220;Either the file could not be uploaded, or this is not a valid Customization file.&#8221; I was surprised. I tried to import the same file to my CRM online environment again and it imported successfully. So my first thought was to enable trace and\u00a0check&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=400\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/400"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":0,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}