Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Trigger for addin to create pivot table

$
0
0

I need to create a trigger based on a flag "IsExportPivot". If this flag is set to 1, Excel addin will create Pivot table in excel dynamically. 

xmlWriter.WriteRaw(@"<CustomDocumentProperties xmlns=""urn:schemas-microsoft-com:office:office"">
<MSCRMCreatePivot dt:dt=""float"">");
xmlWriter.WriteRaw(isExportPivot ? "1" : "0");
xmlWriter.WriteRaw(@"</MSCRMCreatePivot>
</CustomDocumentProperties>");

The above code generates and triggers the flag for xml creation. I would like to create and trigger the flag for excel (.xlsx) creation using same properties applied for xml creation in the above code using OpenXml.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>