infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Newbie question: Can I call another xlate from within xlate?
System
Originally posted by Ashish Sharma
Hi,
Can I call another xlate from within an xlate?
We want to create and possible reuse the xlates for segments where we can.
How do you prevent code duplication?
Thanks
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Quick Answer - not cuurrently.
A possible method might be to utiilize chaining or branching - although I have never used either for that purpose.
So you would like to have a 'library' of canned Xlate sub-modules you can invoke from other modules?
I think that would be a challenge to get done correctly since different vendors deploy sections of a given message differntly so a given routine might work for one integration but not for another. That might be more headache than it is worth.
In my opinion code duplication is not inherently bad despite what might be taught in today's curriculum or be the current 'trend'. Code duplication may properly occur and I submit in the case of Xlates that is probably the case.
System
Originally posted by Ashish Sharma
Thanks