XML decoding for the blob fields #XML

Quote from Pat Jones on 2019-11-10, 2:11 amBefore I start re-inventing the wheel, has anyone got a good script for decoding the XML blob fields in Source Templates and also those in Sources and Citations?
Ideally I'd like to produce a table or view of
Template ID, Fieldname, DisplayName, Type, Hint, LongHint, CitationField
for SourceTemplates and tables of
ID, FieldName, Value
for Sources and for Citations so I can use these in reports and research.
Before I start re-inventing the wheel, has anyone got a good script for decoding the XML blob fields in Source Templates and also those in Sources and Citations?
Ideally I'd like to produce a table or view of
Template ID, Fieldname, DisplayName, Type, Hint, LongHint, CitationField
for SourceTemplates and tables of
ID, FieldName, Value
for Sources and for Citations so I can use these in reports and research.

Quote from Pat Jones on 2020-10-10, 5:39 amWell I didn't manage to decode them in SQLite but I have successfully imported an RM database into Sql Server with a SQL Server Integration Services package using the SQLite 3 ODBC connector to do the work and a VB script task to decode the XML into tables for each of SourceTemplates, Sources and Citations. Now I have the data to query and can re-run the import to refresh it.
The real object is to learn and use Power BI reporting!
Well I didn't manage to decode them in SQLite but I have successfully imported an RM database into Sql Server with a SQL Server Integration Services package using the SQLite 3 ODBC connector to do the work and a VB script task to decode the XML into tables for each of SourceTemplates, Sources and Citations. Now I have the data to query and can re-run the import to refresh it.
The real object is to learn and use Power BI reporting!

Quote from Tom Holden on 2020-10-12, 11:44 amCongratulations, Pat! If I didn't reply to your 1st post in this topic, it is probably because I received no notification of the post. I'm not happy with that aspect of this forum plugin - I wish it sent out an email notice for each post.
I'm sure that some others are interested in what you are doing. Any chance you could post some examples and how-to?
Tom
Congratulations, Pat! If I didn't reply to your 1st post in this topic, it is probably because I received no notification of the post. I'm not happy with that aspect of this forum plugin - I wish it sent out an email notice for each post.
I'm sure that some others are interested in what you are doing. Any chance you could post some examples and how-to?
Tom

Quote from Pat Jones on 2020-12-13, 9:58 amHave just seen Tom's reply - no notifications again - I think the SSIS part is somewhat involved for those who have never used that tool but for anyone with some SSIS experience then I can be contacted by email.
Have just seen Tom's reply - no notifications again - I think the SSIS part is somewhat involved for those who have never used that tool but for anyone with some SSIS experience then I can be contacted by email.