Forum Discussion
Hi Pavlo,
I like the idea! When I first have seen your question I thought to myself "Naahhh, that will never work". But after reading what you have found already I think it´s maybe possible.
I haven´t tested it out by myself, but maybe some brainstorming helps:
Impact Matrix is a pretty old concept and is not based on TGVs. But "export to Office" is used in multiple contexts, like search grid and relationships. It mainly works with xml content (as you have found). Impact Matrix looks technically more like a Search Grid than a TGV. I am not sure how Aras build the level structure in the ImpactMatrix. It´s probably some older code that is also used for StructureBrowser/Where Used.
Thanks for mentioning the "withSubRows" parameter. That there are 2 getXML versions makes sense.
- The TGV version contains support for multilevel structures. We get the level information in the export.
- The grid version does not seem to support multilevel structures, as the grid itself is a single level structure.
I think you dig in the right direction, but you might need to build your own function. I wonder where the functions are located in the codetree. aras_objects.js contains the export2Office functions. But I haven´t check were they lead and how they work with the provided XML.
As said, this is just some brainstorming. Maybe somebody else knows more?
Best regards
Angela
thanx for respond, Angela
maybe somebody have any example of suitable js code with this kind of function?
I assume that function must collect all rows (including subrows) in one xml and after that aras.export2Office can be used