Maximum length of value for a variable

This forum is for all Flare issues not related to any of the other categories.
Post Reply
lisadames
Propeller Head
Posts: 31
Joined: Fri Aug 30, 2013 6:33 am

Maximum length of value for a variable

Post by lisadames »

Does anyone know the maximum number of characters you can have in the value of a variable?
SKamprowski
Sr. Propeller Head
Posts: 277
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Maximum length of value for a variable

Post by SKamprowski »

Hi,
Why are you asking this question?
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
SKamprowski
Sr. Propeller Head
Posts: 277
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Maximum length of value for a variable

Post by SKamprowski »

Hi,
Why are you asking this question?
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
lisadames
Propeller Head
Posts: 31
Joined: Fri Aug 30, 2013 6:33 am

Re: Maximum length of value for a variable

Post by lisadames »

I am creating the page layout for the front cover for PDF documents. One requirement is to have an abstract of the document on the front cover. This abstract can be, but is not necessarily, the same as the first paragraph in the preface for a document using this page layout. The ways of facilitating this that I can think of are:
  • Create a snippet for the abstract for each book, insert the snippet into the body text in the topic for the front cover, and insert the snippet into the preface topic (if applicable). If the abstract and the preface don't use the same text, the front cover topic and the preface would each contain plain text.
  • Create a variable for the abstract, include the variable on the page layout for the front cover, insert the variable into the preface topic (if applicable), and set the value of the variable to the abstract in the target. This removes the need to modify the front cover topic. If the abstract and preface don't use the same text, the preface would contain plain text. (I haven't tried setting this up, so I don't know that it would work.)
The maximum length for the abstract is still open for discussion, but the current proposal is 400 characters. Using a variable would restrict the abstract to a single paragraph, which may be a requirement. If that's not a requirement, the variable won't work.
devjoe
Sr. Propeller Head
Posts: 342
Joined: Thu Jan 23, 2014 1:43 pm

Re: Maximum length of value for a variable

Post by devjoe »

Snippets are going to be much preferable for this:
  • Can edit them like a topic, instead of only in a little variable definition field
  • Can contain formatting
  • Can contain multiple paragraphs if needed (if inserted as a snippet block)
Post Reply