Book a Demo

Author Topic: Connector.SetTXAlias sets TXName instead  (Read 7227 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Connector.SetTXAlias sets TXName instead
« on: May 20, 2024, 06:52:44 pm »
Details:
The method connector.SetTXAlias sets the translated name, and not the alias


Steps to Reproduce:
Execute this script, and notice that the translated name contains "NL TXAlias" and the translated alias is empty
Code: [Select]
function main
    dim language
    language = "nl"
    dim connector
    set connector = Repository.GetConnectorByGuid("{908CBA1C-F31B-42a3-99B6-CC42040426BC}")

    connector.SetTXName lcase(language), UCase(language) & " TXName"
    connector.SetTXAlias lcase(language), UCase(language) & " TXAlias"
    connector.update
    Session.Output "txName: " & connector.GetTXName(language,0) & " txAlias: " & connector.GetTXAlias(language,0)
end function

Reported

Geert