Customer overrides.properties: filegateway eventcodes.properties

From Wiki
Revision as of 14:53, 28 July 2023 by Ebasso (talk | contribs) (→‎Custom messages no MyFilegateway)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Custom messages no MyFilegateway

Editar o arquivo customer_overrides.properties e adicionar as propriedades abaixo:

###################################
# Custom messages no MyFilegateway
###################################
filegateway_eventcodes.CUST_0001.name=Arquivo Gravado com Sucesso.
filegateway_eventcodes.CUST_0001.displayName=Arquivo Gravado com Sucesso.
filegateway_eventcodes.CUST_0001.attributes=NomeArquivo,Produtor
filegateway_eventcodes.CUST_0001.text=Arquivo {0} gravado. Produtor {1}
filegateway_eventcodes.CUST_0001.description=Gravacao do arquivo no diretorio.
filegateway_eventcodes.CUST_0001.permissions=producer,consumer,subscription

filegateway_eventcodes.CUST_0051.name=Falha na gravacao de arquivo.
filegateway_eventcodes.CUST_0051.displayName=Falha na gravacao de arquivo.
filegateway_eventcodes.CUST_0051.attributes= NomeArquivo,Produtor
filegateway_eventcodes.CUST_0051.text=Arquivo {0} com FALHA na gravacao. Produtor {1}
filegateway_eventcodes.CUST_0051.description=Falha na gravacao do arquivo no diretorio.
filegateway_eventcodes.CUST_0051.permissions=producer,consumer,subscription

Reduzindo as mensagens mostradas no MyFilegateway

Podemos reduzir as mensagens mostradas no MyFilegateway, basta configurar no customer_overrides.properties

###################################
# Reduzindo as mensagens mostradas no MyFilegateway
###################################
filegateway_eventcodes.FG_0409.permissions=
filegateway_eventcodes.FG_0501.permissions=

O valor original no arquivo filegateway_eventcodes.properties é:

FG_0409.permissions=producer,consumer
FG_0501.permissions=producer

Mais detalhes em How to limit myFileGateway users to view specific event codes in the myFileGateway User Interface?

A listagem do eventcodes pode ser encontrada aqui About event codes

Ver também