Developer forum

Forum » Integration » BC code unit language change

BC code unit language change

Davy Capiau
Reply

Hi ,

Setup:

DW10  - BC code unit

Issue:

When retrieving product information in an additional language via a batch integration request, I need to use the language code defined in BC (e.g., "FRB"). However, in DW, the corresponding code is different (e.g., "LANG4"). Is there a straightforward way to handle this code conversion directly within the code unit, so I can avoid using a table script or creating a separate integration activity?


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Davy,
you can consider using the XSLT from this post to replace the Language Ids in the import xml.
BR, Dmitrij

Votes for this answer: 1
 
Davy Capiau
Reply

Thanks Dmitrij,

In DW9, in which folder should I upload the file? When trying to select (or upload) in the source settings of an integration activity, I get no result.

 

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Davy,

 

You could also consider using the LANG code definitions that BC uses. We have added support for that. 

 

BR Rasmus Sanggaard

 

 

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Davy,
try existing /Files/Files/Integration folder or make a new subfolder in this folder.
BR, Dmitrij

 

You must be logged in to post in the forum