templateload - possible tweak

As a result of the entity link changes in 1.9 I have to reload over 40 updated reports into three systems.  The obvious way to do this is by creating a suitable XML file and using template load.

Obviously want I want to do is 'if template and content file names match, update content'.

However, it would appear that templateload is doing is 'if template and content names match, delete existing template and replace by new one'.

The effect is that unless my XML explicitly sets things like the description, reportType and userLevel then these get set to the defaults.

Suggestion: adjust templateload so that, if there is an existing template with the same name and content file name, then update only the contents and any other parameters set in the XML. [It might be easier to code if templateload has a 'replace content' mode in which the entity.document stuff is left as is and only the content updated.]

I think we can just create a JIRA and put this in the ZZZ priority pile. I can fix my problem by extracting the existing settings that I need to keep and building these into the XML.

Regards, Tim G

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: templateload - possible tweak

Syndicate content