Jump to content

Only Compose Certain Text Boxes Based On Field


Recommended Posts

Built in to FusionPro is the SetBodyPageUsage(name, usage) function(?) which returns a boolean that says if the page will be composed.

I was wondering if it would be possible to create an equivalent that determines whether a text box is composed.

I looked through the Rules System Guide, but didn't immediately see anything that existed...so I figured it'd be best to ask here. I have a job that has certain text boxes that should only be composed based upon which version of a letter the client wants to produced. My previous way of handling this had a lot of redundant code that significantly slowed the project – this feels like a way to potentially ease up that issue.

Link to comment
Share on other sites

On 2/23/2024 at 12:32 PM, ThomasLewis said:

What you are looking for is this:

FindTextFrame("Frame Name").suppress = true;

On newer versions of FusionPro you can also group them in the Document Overview palette and then use:

ShowFrameGroup("Group Name", false) or HideFrameGroup("Group Name")

This is exactly what I was looking for – thanks, Thomas!

Having frame groups that are hidden/shown definitely speeds up the composition process. It's not as fast as I would like for it to be, but it did take the time to compose 633 records from 01:13.21 to 00:47.68, so this definitely feels like a good basepoint for me to start at.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...