Focal Point
[SOLVED] How to modify a large number of charts/reports

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2377009096

November 05, 2018, 11:34 AM
Kpfliger
[SOLVED] How to modify a large number of charts/reports
Hi,

I have 200+ charts/reports where I need to swap out one field for a different field. Is there any easy way to do this without having to manually modify each chart/report? The chart/report will still need to be able to be edited in IA+ without error after the field swap has been done.

If you have any questions please let me know.

Thanks,
Kelly

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
November 05, 2018, 11:43 AM
BabakNYC
This is a hack but I'm thinking you can just leave the field alone in the 200 report and change the mapping of FIELDNAME and ALIAS in the master file. So, let's say you have a a SQL Server table that has FIELDNAME=CAR,ALIAS=AUTOMOBILE. Your report sees CAR. So, if you change AUTOMOBILE to VEHICLE where VEHICLE has the same format type, then CAR will be mapped to VEHICLE instead.

The reports and charts wouldn't even know you made a change and will keep displaying CAR but WebFOCUS will point to a different SQL Server column because they use the ALIAS.


WebFOCUS 8206, Unix, Windows
November 05, 2018, 02:52 PM
Waz
The other option is to export the reports, bulk edit all of them in some tool, global change, save, and import them.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 06, 2018, 09:33 AM
Kpfliger
Hi,

Thank you all for your suggestions. We were able to use do a Change management export and then use notepad++ to mass find and replace and then import the changed .fex files back in.

Thanks,
Kelly


WebFOCUS 8
Windows, All Outputs
November 06, 2018, 11:56 AM
Michael L Meagher
I am surprised but glad you could use an external editor and still have IA open and edit them. Maybe it was the change management export/import that did the trick. I wish I could cleanup my HTML Composer files the same way.


WebFOCUS 8.2.03 - Production
WebFOCUS 8.2.04 - Sand Box
Windows 2012 R2 Server
HTML, PDF, Excel
In FOCUS since 1980