Skip to main content
Cagataytech
Known Participant
Nov 26, 2021 8:49 AM UTC
Question

Does Framemaker present a way to update the contents of a table from a data source?

Is it possible to automatically (or manually) update the contents of a table from a data source or by utilizing reference links to 3. party spreadsheet sources etc?

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Dave Creamer of IDEAS
Community Expert
Community Expert
Nov 26, 2021 9:53 PM UTC

If using Excel, one other, albeit unsophisticated method, that works is importing by reference. You need to make sure there is only one worksheet in the Excel file and do all the formatting in Excel. You do end up with an empty paragraph return at the top of the table too. But it works.

Translate
David Creamer: Community Expert (ACI and ACE 1995-2023)
frameexpert
Community Expert
Community Expert
Nov 26, 2021 4:43 PM UTC

ExtendScript has a nice XML object so if the datasource is XML (or you can export it to XML), then scripting the updates could be a good option.

Translate
www.frameexpert.com
Bob_Niland
Community Expert
Community Expert
Nov 26, 2021 3:38 PM UTC

There are several options, one to avoid:

  1. Don't use Windows OLE (many reasons).
  2. Export the spreadsheet to PDF, import that by reference. Be sure to include some stewardship info in the export object (ID, path, date), outside the hosting frame, so future maintainers can tell where it came from.
  3. FM can be extended via script or FDK to query an enterprise database. I had that feature available in a prior position, and used it extensively.
Translate
FrameMaker-dk
Community Expert
Community Expert
Nov 26, 2021 1:07 PM UTC

Yes. Open the spreadsheet. Copy the table. In FrameMaker click Paste Special / Linked Microsoft Excel Spreadsheet (or something - my dialogue is danish)

Translate
Bjørn Smalbro - FrameMaker.dk