# \#2022-02

**URL:** https://discourse.geta12.com/tag/2022-02/64.md

[Latest](https://discourse.geta12.com/latest.md) · [Categories](https://discourse.geta12.com/categories.md) · [Tags](https://discourse.geta12.com/tags.md)

---

## [Change timezone of log entry](https://discourse.geta12.com/t/change-timezone-of-log-entry/1442)

<div class="topic-metadata">

**Author:** [@maurice-slim-tor](https://discourse.geta12.com/u/maurice-slim-tor)\
**Replies:** 1\
**Last updated:** [April 28, 2023, 12:57pm UTC](https://discourse.geta12.com/t/change-timezone-of-log-entry/1442 "2023-04-28T12:57:48Z")

</div>

My application config looks like this: logging.file.name=/var/log/bup/bapserver/services-server.log logging.pattern.console=%d{ISO8601} \[%-20.20t\]\[%-5p\]\[%-40.40c\] - %m%n logging.pattern.file=%d{ISO8601} \[%-20.20t\]\[%-5p\]…

---

## [Attachment upload - show preview image in big/original size](https://discourse.geta12.com/t/attachment-upload-show-preview-image-in-big-original-size/1252)

<div class="topic-metadata">

**Author:** [@anon61393032](https://discourse.geta12.com/u/anon61393032)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 4:09pm UTC](https://discourse.geta12.com/t/attachment-upload-show-preview-image-in-big-original-size/1252 "2023-02-28T16:09:01Z")

</div>

Our client wants to use an attachment upload not only for uploading, but also for “previewing” an uploaded image in its original (or almost original, at least preserving the aspect ratio) size. What we tried is to in…

---

## [UI designer - add style to section/grid/field conditionally](https://discourse.geta12.com/t/ui-designer-add-style-to-section-grid-field-conditionally/1253)

<div class="topic-metadata">

**Author:** [@anon61393032](https://discourse.geta12.com/u/anon61393032)\
**Replies:** 10\
**Last updated:** [February 3, 2023, 11:08am UTC](https://discourse.geta12.com/t/ui-designer-add-style-to-section-grid-field-conditionally/1253 "2023-02-03T11:08:14Z")

</div>

Is it possible to conditionally set/not set a CSS helper class on an element (section/grid/field/…) in the UI designer? Reason is that we need to style/annotate the surrounding grid (parent), depending on the text field…

---

## [Attachment upload - PDF preview](https://discourse.geta12.com/t/attachment-upload-pdf-preview/1250)

<div class="topic-metadata">

**Author:** [@anon61393032](https://discourse.geta12.com/u/anon61393032)\
**Replies:** 2\
**Last updated:** [February 2, 2023, 2:20pm UTC](https://discourse.geta12.com/t/attachment-upload-pdf-preview/1250 "2023-02-02T14:20:56Z")

</div>

Hi, is it possible to render e.g. the first page of an uploaded PDF attachment in the preview? E.g. does the backend or frontend have any functionality for that, that can be activated? Thanks

---

## [Expressions - show only first entry of a repeatable group](https://discourse.geta12.com/t/expressions-show-only-first-entry-of-a-repeatable-group/1249)

<div class="topic-metadata">

**Author:** [@anon61393032](https://discourse.geta12.com/u/anon61393032)\
**Replies:** 5\
**Last updated:** [February 2, 2023, 10:40am UTC](https://discourse.geta12.com/t/expressions-show-only-first-entry-of-a-repeatable-group/1249 "2023-02-02T10:40:44Z")

</div>

Hi, I am trying to use an expression to show only the first entry of a repeatable group field. I have the following repeatable group with one simple text field inside: Now, within a text cell in the form, I want to s…

---

## [SME keeps loading when opening a Document Model file](https://discourse.geta12.com/t/sme-keeps-loading-when-opening-a-document-model-file/1022)

<div class="topic-metadata">

**Author:** [@huyen-gentle-brush](https://discourse.geta12.com/u/huyen-gentle-brush)\
**Replies:** 7\
**Last updated:** [November 17, 2022, 7:49am UTC](https://discourse.geta12.com/t/sme-keeps-loading-when-opening-a-document-model-file/1022 "2022-11-17T07:49:53Z")

</div>

Hi Experts, My SME tool keeps loading when I try to view the details of a document model, I still can open the workspace but can’t load my own data in the file. This seems to be happen with the huge model (\>100kb) . I t…

---

## [Why can't the replacementActivity replace more than one cancelRequestedActivities?](https://discourse.geta12.com/t/why-cant-the-replacementactivity-replace-more-than-one-cancelrequestedactivities/987)

<div class="topic-metadata">

**Author:** [@son-fast-shard](https://discourse.geta12.com/u/son-fast-shard)\
**Replies:** 3\
**Last updated:** [November 14, 2022, 2:53pm UTC](https://discourse.geta12.com/t/why-cant-the-replacementactivity-replace-more-than-one-cancelrequestedactivities/987 "2022-11-14T14:53:31Z")

</div>

I have a use case to dispatch the CancelRequested action to cancel all activities (more than one activity) and replace them with another. Besides, I have to make sure the DirtyHandling function works as expected (that’s …

---

## [What are the differences between Booleans and Confirms](https://discourse.geta12.com/t/what-are-the-differences-between-booleans-and-confirms/1016)

<div class="topic-metadata">

**Author:** [@malcolm-silver-ice](https://discourse.geta12.com/u/malcolm-silver-ice)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 12:46pm UTC](https://discourse.geta12.com/t/what-are-the-differences-between-booleans-and-confirms/1016 "2022-11-11T12:46:27Z")

</div>

Continuing the discussion from Doubts about repeatable group instances:

---

## [Does A12 have any hook to know when a form engine finishes saving data?](https://discourse.geta12.com/t/does-a12-have-any-hook-to-know-when-a-form-engine-finishes-saving-data/963)

<div class="topic-metadata">

**Author:** [@son-fast-shard](https://discourse.geta12.com/u/son-fast-shard)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 2:48pm UTC](https://discourse.geta12.com/t/does-a12-have-any-hook-to-know-when-a-form-engine-finishes-saving-data/963 "2022-11-02T14:48:51Z")

</div>

I would like to do something after my form finishes on saving something. Does A12 fire any event or action after the form-engine finishes saving data, which I can hook to it? Currently, I only know that the saving state …

---

## [Hide a module in UI via app model?](https://discourse.geta12.com/t/hide-a-module-in-ui-via-app-model/836)

<div class="topic-metadata">

**Author:** [@tam-fast-gorge](https://discourse.geta12.com/u/tam-fast-gorge)\
**Replies:** 5\
**Last updated:** [October 17, 2022, 8:27am UTC](https://discourse.geta12.com/t/hide-a-module-in-ui-via-app-model/836 "2022-10-17T08:27:57Z")

</div>

Hi, How can I hide/show a module (a tab) via app model depend on different user role? For example as admin I want to see all tabs in the UI but as a broker employee I should be able to see and work with only 1 tab. Reg…

---

## [Data Modeler tool is unavailable after A12 tools - 2022.02 installation](https://discourse.geta12.com/t/data-modeler-tool-is-unavailable-after-a12-tools-2022-02-installation/819)

<div class="topic-metadata">

**Author:** [@quynh-still-birch](https://discourse.geta12.com/u/quynh-still-birch)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 7:03am UTC](https://discourse.geta12.com/t/data-modeler-tool-is-unavailable-after-a12-tools-2022-02-installation/819 "2022-10-12T07:03:55Z")

</div>

I have installed A12 tools - 2022.02 for my Windows computer. But the Data Modeler tool is not available after installation. Does anyone know why?

---

## [SME freezes when opening workspace/uploading attachments on Ubuntu 22.04](https://discourse.geta12.com/t/sme-freezes-when-opening-workspace-uploading-attachments-on-ubuntu-22-04/767)

<div class="topic-metadata">

**Author:** [@katerina-blazing-ember](https://discourse.geta12.com/u/katerina-blazing-ember)\
**Replies:** 0\
**Last updated:** [October 7, 2022, 12:13pm UTC](https://discourse.geta12.com/t/sme-freezes-when-opening-workspace-uploading-attachments-on-ubuntu-22-04/767 "2022-10-07T12:13:29Z")

</div>

My SME froze every time I wanted to open a workspace. This issue was related to a similar one in chrome and firefox - when I tried to upload an attachment, the opened dialog to browse my files froze and the browser neede…

---

## [Type Definition not visible if not used, and not deployed?](https://discourse.geta12.com/t/type-definition-not-visible-if-not-used-and-not-deployed/654)

<div class="topic-metadata">

**Author:** [@marieestelle-firm-summit](https://discourse.geta12.com/u/marieestelle-firm-summit)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 12:38pm UTC](https://discourse.geta12.com/t/type-definition-not-visible-if-not-used-and-not-deployed/654 "2022-09-22T12:38:44Z")

</div>

Hi, I added a custom type “Datum” to my doc model, because I need it for a calculation in the Print Engine. But I don’t need any field of this type, I just need the custom type to be available in the Print Editor (to ass…

---

## [How to customize button texts in a repeat?](https://discourse.geta12.com/t/how-to-customize-button-texts-in-a-repeat/627)

<div class="topic-metadata">

**Author:** [@denise-narrow-token](https://discourse.geta12.com/u/denise-narrow-token)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 9:36am UTC](https://discourse.geta12.com/t/how-to-customize-button-texts-in-a-repeat/627 "2022-09-06T09:36:47Z")

</div>

Hi, I have a question regarding buttons and repeats: How/where can I customize the different button texts (labels, hints etc.) in a repeat, e.g. in the case of multiple locales? Thank you in advance!

---

## [How to get the IElement of a IEntityInstance?](https://discourse.geta12.com/t/how-to-get-the-ielement-of-a-ientityinstance/609)

<div class="topic-metadata">

**Author:** [@andreas-fresh-mesa](https://discourse.geta12.com/u/andreas-fresh-mesa)\
**Replies:** 2\
**Last updated:** [August 26, 2022, 9:56am UTC](https://discourse.geta12.com/t/how-to-get-the-ielement-of-a-ientityinstance/609 "2022-08-26T09:56:41Z")

</div>

I have a IEntityInstance at hand and would like to get the IElement instance of the corresponding model of it. Does A12 provide any utility that I can use for this? I haven’t had any success in finding anything.

---

## [Updating models to the newest version (2022.06 LTS)](https://discourse.geta12.com/t/updating-models-to-the-newest-version-2022-06-lts/607)

<div class="topic-metadata">

**Author:** [@malcolm-silver-ice](https://discourse.geta12.com/u/malcolm-silver-ice)\
**Replies:** 1\
**Last updated:** [August 24, 2022, 8:47am UTC](https://discourse.geta12.com/t/updating-models-to-the-newest-version-2022-06-lts/607 "2022-08-24T08:47:27Z")

</div>

Question on behalf of external partner: Can you, please, describe how to update models from 2022.02 version to the newest version, 2022.06 LTS? Which tools shall I use and how long will be supported models which were c…

---

## [Error when generate pdf with CALCULATE\_PDF\_BY\_DOCUMENT\_ID of Print Engine after upgrade from 2022.02 to 2022.06](https://discourse.geta12.com/t/error-when-generate-pdf-with-calculate-pdf-by-document-id-of-print-engine-after-upgrade-from-2022-02-to-2022-06/601)

<div class="topic-metadata">

**Author:** [@quynh-wintry-root](https://discourse.geta12.com/u/quynh-wintry-root)\
**Replies:** 1\
**Last updated:** [August 24, 2022, 6:04am UTC](https://discourse.geta12.com/t/error-when-generate-pdf-with-calculate-pdf-by-document-id-of-print-engine-after-upgrade-from-2022-02-to-2022-06/601 "2022-08-24T06:04:29Z")

</div>

Hi, We are in the progress of upgrading A12 from 2022.02 to 2022.06. In 2022.02, we use printEngineVersion: 0.202202002.1 After upgrading to 2022.06, we cannot run the app with the old version of print-engine then we …

---

## [Error when call LIST\_DOCUMENTS after upgrade from 2022.02 to 2022.06](https://discourse.geta12.com/t/error-when-call-list-documents-after-upgrade-from-2022-02-to-2022-06/591)

<div class="topic-metadata">

**Author:** [@quynh-wintry-root](https://discourse.geta12.com/u/quynh-wintry-root)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 11:13am UTC](https://discourse.geta12.com/t/error-when-call-list-documents-after-upgrade-from-2022-02-to-2022-06/591 "2022-08-18T11:13:42Z")

</div>

We are in the progress of upgrading A12 from 2022.02 to 2022.06. After the upgrade, we met this error when calling the LIST\_DOCUMENTS. Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: E…

---

## [Calculating with "DifferenceInMonths"/"DifferenceInYears"](https://discourse.geta12.com/t/calculating-with-differenceinmonths-differenceinyears/496)

<div class="topic-metadata">

**Author:** [@sarah-wintry-tundra](https://discourse.geta12.com/u/sarah-wintry-tundra)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 7:00am UTC](https://discourse.geta12.com/t/calculating-with-differenceinmonths-differenceinyears/496 "2022-05-04T07:00:39Z")

</div>

Hey, for my model i used the command “DifferenceInYears” and "DifferenceInMonths. the integer Number of this comand is shown in the field “YearFromDate” or “MonthFromDate”. After that i have to use that integer to compu…
