Solved

Document Management file size

  • 25 February 2020
  • 27 replies
  • 1272 views

Userlevel 3
Badge +7

Hello,

 

In Apps9, is it possible to stop checking in some documents over a certain file size?

 

Does it need to create a macro?

 

Many Thanks,

 

Anne-Sophie

icon

Best answer by Mathias Dahl 6 April 2020, 10:32

View original

27 replies

Badge +2

Hi @Mathias Dahl ,

Hi,

the macro is applied  everywhere in IFS where we have the possibility to attach a document?

Hi Eleazar,

No, the macro runs in screens where macros has been enabled in Apps 10 Aurena (not all places) or IFS Cloud (all places in the web client where a document can be checked in) and if the Aurena Agent is installed and enabled for the environment. The Aurena Agent, and therefore document macros, only works on Windows.

 

Ok, this means wherever we have the macro enabled it’s possible to use the same macro to check the size of the file, therefore to block it before saving.

Do you have documentation about configuration, development of macros, enabling macro in the screen? I’m new with Document Management in IFS.

PS. in APP EE it works too? I’m assuming yes because of the screenshots of the first replies

 

I found there is a Max File Size, using this could be Ok too? Document Classes (ifs.com)

I'm not sure what you mean, sorry. Do you want to fetch the size there, and use that in the macro? That would require some special coding since the document macro would not have access to those values.

For the attribute it says: Max Document Size (MB): The maximum size of a document that will be downloaded to the mobile application.

This means, it’s possible to set a maximum size per Document per Document Class, so I was thinking maybe instead of doing a macro I just can set a max here for the Document Class; but also here, I’m not sure if per each attachment in the screen is possible to change the Document Class and how this impacts IFS.

 

The macro solutions seems to be the best solution but I would also to know more about the Document classes. Do you have any documentation about this?

 

Thank you very much

Userlevel 7
Badge +30

Search our documentation for document macros and you will find what we have there. This post on IFS Community can also help:

https://community.ifs.com/document-management-docman-248/a-basic-document-macro-to-build-from-27411

As for the max size setting, as that screen suggest, it's for mobile work order and it's not a setting that's used globally in all IFS clients.

 

 

Reply