In some rare cases you wish you could retrieve the file uploaded to CRM. Unfortunately, there is no way that CRM is going to return you this file...
But luckily, in OnPremise and some Partner Hosted environments, it is possible to access the underlying database. This is where you can find the data for each of the rows which allow you to recreate the CSV (or XML) file.
The following query will retrieve all the relevant information:
SELECT ifb.ImportFileId,
Source,
HeaderRow,
Data,
LineNumber
FROM ImportDataBase idb
LEFT OUTER JOIN ImportFileBase ifb ON idb.ImportFileId = ifb.ImportFileId
WHERE ifb.ImportFileId = 'DEAC184E-D7CA-E311-B83A-00155D083043'
ORDER BY Source, LineNumber
Of course you'll need to change the importfileid GUID or change this to select based on the source (the name of the imported file). Then Copy the header row, followed by each of the data rows and your source file is recreated.
Good luck!
Nice article... thank you for sharing
ReplyDeleteCRM Software Provider in India with low cost.
يمكنكم الان الحصول على افضل الخصومات صيانة كريازي التى نقدمة الان فى اقل وقت ممكن كما اننا نعمل على تقدم فضل الخدمات الرائعة توكيل كريازي الان فى اقل وقت ممكن من التى لا مثيل لها الان وباقل الاسعار الرائعة التى تقدمة رقم صيانة كريازي الشركة الان فى مصر
ReplyDeleteخصومات الان وباقل الاسعار التى نقدمة الان من صيانة كينوود التى تقدمة الشركة الن صيانة فايلنت فى اقل وقت ممكن وباقل الاسعار المختلفة التى لا مثيل لعها الان من صيانة ترين ة الان فى مصر والوطن العربي
ReplyDeleteخصومت الان من توكيل امريكول التى تعمل على تقدم فضل لخصومات الان فىق ال وقت ممكن وباقل لاسعار لرائعةمن توكيل سيمنس التى لا مثيل لها الان لتى من خلالها نعمل على تقدم فضل توكيل يونيفرسال التى نقدمة الان وباقل لاسعار الرعئة والمختلفة التى لا مثيل لها الان وعلى على مستوى ممكن وباقل الاسعار الراعئة
ReplyDelete