Highlighted
Valued Contributor.
Valued Contributor.
921 views

Attachments are not saved

Hello,

Recently we made some changes in the system restricting attachment tab. Attachment tab is shown only to assigned group. After that attachments stopped saving. No error occurs during save. just not attached. We found temporary solution. Saving form with any change enables saving for some time. And after some time problem comes back

Our implementation:

We declared variable that is calculated in format control and depending on its value (1 or 0) attachment tab is showing.

What can cause this problem and how to solve it?

0 Likes
4 Replies
Highlighted
Valued Contributor.
Valued Contributor.

Re: Attachments are not saved

Are there other ways to hide tabs in forms? I have tried to calculate variable in displayscreen, and not in formatcontrol. But it did not help. Is it possible loop through all tabs in forms and change visibility option in displayscreen?

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Attachments are not saved

As i understand you need show Attachments tab  for an operator that is included to the selected assignment group.

If so, then I think there is at least 2 more methods.

1)

a) Display screen: MAIN-INITIALIZATIONS set condition for current operator and selected assignment group if he included in it then $L.format="SAME_FORM_WITH_ATTACH_TAB"

b) Add new form (copy of current) one with Attachment tab and second one without it

2) 

a) In FC-Calculations same condition and $MyAttach="MY_SUBFORMAT_FOR_ATTACH"

(initial=true)

b) In FD edit your current FORM and add in Attachment tab - subformat, where set in properties for FORMAT value = $MyAttach

c) add new form with name "MY_SUBFORMAT_FOR_ATTACH"

 

========

But simple method (i think)

In FC calculate for INITIAL - some temp value to false\true and check it in FD for Attachment tab for visibility condition

Highlighted
Valued Contributor.
Valued Contributor.

Re: Attachments are not saved

Thank you ALARMus. I will try second method and check if attachments will be saved.

I have discovered that currently there are no problems with saving attachments in fat client. Problem occurs only in web client. Why does it differs so?

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Attachments are not saved

different client have different problem 🙂

for example my client can't delete attached files wich have 2 points in name (for example: filename..txt)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.