Did something change recently as it used to show as {document type} {reference number} - {customer} when exporting a file or printing a pdf using external sofwtare, now the pdf is saving as {company name}_{document type} - {reference number} - View.
Older versions had that hard coded and it didn’t work for everyone. In newer versions, this is now customizable within custom theme.
Currently on line number 243 is this:

Therefore the default is:
{business name} - {document title} - {document reference}
hi, after having updated to version 25.7.29.2536, most of the documents when printed or converted to pdf using the PDF button are totally misaligned. Also, the margins are missing which makes the documents look so unprofessional. Understand that there has been few changes to the PDF writer, but this change has totally taken the professional look of printed documents. Is there a way the margins and other looks of printed PDFs brought back as in version 25.4.3.2227?
@anoopchintu in the first screenshot, it seems like you are running custom theme. In older versions, your custom themes would be embedded directly within the program so it was possible you did unintentionally rely on some undocumented feature or behavior.
In newer version, views are rendered within IFRAME element so that gives total flexibility on the looks of your documents and also complete isolation from the rest of the program. In other words - future-wise your custom themes won’t break again once you make them compatible with the new approach.
Have a look at new themes by creating new theme what the markup looks like now. There is also theme enhancer feature which leverages AI to implement desired changes to your themes.
Is this coming to others screens too? I mean tabs screens.
So, they could be customised too or at least be able to see data from other tabs too or manipulate existing data or do both.
It is coming to reports. But not all screens. Forms and tables are just too complex for that. Invoice theme or report theme can be encapsulated in less than 100 lines of code. Forms and tables would be many many times more than that.
However this is where new Extensions are filling the gap where completely new screens can be built. For example, point of sale system could be viable which is just different UI interface on top of Receipts tab.
Can you please showthe full code extract
Hi Lubos, is that code within a script? Can you please share.
When I am trying to print (print to Adobe or Save as PDF), the file’s name appears as a messy long name with different symbols in chaotic order..
Can you please explain how I can change it? So that when printing, the file’s name appears like, for example, Document name+Document Ref No?
Where is the line 243 you have indicated? I see the themes; there are 79 lines maximum.
thanks
Babek

