1. Welcome to CAST's newly designed and improved Forum

    Log in or Sign up and share the knowledge!

    Dismiss Notice

[BUG] Batch printing and %Title%

Discussion in 'Technical Support' started by Floriaan, Apr 21, 2020.

  1. Floriaan

    Floriaan Well-Known Member

    Joined:
    Feb 13, 2015
    Messages:
    385
    Likes Received:
    81
    If you use batch printing to print multiple layouts with a Text field that uses %Title% all those fields get printed on all layouts.
     
  2. Dany

    Dany Administrator
    Staff Member

    Joined:
    Jan 16, 2014
    Messages:
    846
    Likes Received:
    91
    I've asked QA to investigate. If it turns out to be a problem, we will fix it.
     
  3. Dany

    Dany Administrator
    Staff Member

    Joined:
    Jan 16, 2014
    Messages:
    846
    Likes Received:
    91
    Hi again, Floriaan. I guess I was in a bit of a hurry when I replied earlier... this is not an actual problem. The %Title% variable is mean to be used for Reports' titles, not Layouts'. To get the the Layouts' titles, please use the %LayoutTitle% variable. (It was not possible to reuse %Title%, because that variable was "established" a long time ago, for Reports. No double-dipping! :p) This is specified in the Smart Cells section of the wysiwyg Reference Guide: the use of the "% variables" in the Introduction to that section and this specific variable a couple of pages further on.

    That said, QA has confirmed that this was thoroughly checked before release, and they just checked once again, just in case, but could not reproduce the problem -- again, using %LayoutTitle%. Please try with this, and if it still doesn't work, send a couple of your files to support, as usual, so they can investigate further; please add the link for this thread to your email, for their reference -- and, just in case, let them know if the files happen to have been created in an earlier version of wysiwyg.

    Cheers,

    Dany
     
  4. Floriaan

    Floriaan Well-Known Member

    Joined:
    Feb 13, 2015
    Messages:
    385
    Likes Received:
    81
    Hi, I completely forgot about the %LayoutTitle% variable (partly because when you insert text directly into a layout you don't get the smart cels dropdown menu). The variable %Title% does display the name of the Layout shortcut correctly though. That's why it is so unexpected to see the printing of individual layouts work perfect, but when you print the same layouts in batch, the texts of different layouts appear printed on top of each other on each layout.
     

Share This Page