Dynamic Project Linking?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
wabernat
Propeller Head
Posts: 18
Joined: Thu Aug 21, 2014 4:46 pm

Dynamic Project Linking?

Post by wabernat »

I am trying to set up a dynamic release notes template. The architecture I have in mind is that the doc structure and most of the narrative will reside on the writer's home machine, but will draw in a dynamically-generated table converted from Jira. I have a Jira query set up to produce a table, which I am hosting on a shared SMB drive (Yes, I know Jira does this automatically, but Engineering has explained to me the necessity of doing everything incorrectly...). My hope is to be able to tie all of these together using a common set of variables and definitions.
  • The table is produced from a Jira query that includes as search terms the Project ("PRJCT") and the version number ("1.0.0")
  • I want to send the table to the following standardized directory structure:

    Code: Select all

    smb://techpubs-server.company.com/ReleaseNotes/PRJCT/1.0.0/PRJCT-1.0.0-Table.flsnp
  • I want to Flare to access this SMB share directory and import the file using a variable defined along the lines of: \\techpubs-server.company.com\ReleaseNotes\[%=General.Project%]\[%=General.Version%]\[%=General.Project%]-[%=General.Version%]-Table.flsnp. Interpreted, this will render like: \\techpubs-server.company.com\ReleaseNotes\PRJCT\1.0.0\PRJCT-1.0.0-Table.flsnp
The Import feature, however, does not appreciate my attempts to introduce it to variables, and prefers to be built around a use case wherein all paths are fixed.

Is there any way to introduce variables to file paths for global linking, or will I have to set up each note manually?

Or...am I going about this all wrong and there's this much simpler way of doing things...?

Thanks in advance...
--William
BedfordWriter
Sr. Propeller Head
Posts: 231
Joined: Wed Jun 23, 2010 10:13 am
Location: Nova Scotia

Re: Dynamic Project Linking?

Post by BedfordWriter »

Could you run a pre-build batch file to copy the files over? Flare has great support for pre- and post-build events.

I do something similar where some of my content comes from code. I have a PHP script to scrape the latest source code files for what I want (which, thankfully, follows a set pattern) and then over-write a set of snippet files.
wabernat
Propeller Head
Posts: 18
Joined: Thu Aug 21, 2014 4:46 pm

Re: Dynamic Project Linking?

Post by wabernat »

That's where I guess this will have to go. I suppose I'll need to file a feature request.

I should not have to learn to code (or wheedle programmer time) to support what amounts to an iframe link...

harrumph,

--William
Post Reply