Hi guys,
i this issue.
I have imported several objects that have the Property:Name in German and i want to copy the Caption property (English), on several fields.
How can i accomplish that?
Example:
Situation
NameÜbertragungsnr. alt ->German
CaptionTransmission No. old ->English
Result
NameTransmission No. old ->English
CaptionTransmission No. old ->English
Thanks for your atention.
Best Regards.
0
Comments
For any text literal you can use Translate - export / import and modify the files before import.
In either case, the object's Date, Time and Modified properties will be changed. There is a Dataport in the Update toolkit to save/restore those.
Find a (classic) report .txt object REP50000 (Copy Caption from Name) here that would do the job for. Of course you should test it on a number of dummy tables.
Regarding the following: If you are working on NAV 2013 that dataport will not help you. Find a xmlport that will do the same here: How-to: Reset Object Properties After Importing a UI Translation (NAV 2013).
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
thanks for your help.
lvanvugt i try the object REP50000 , but it´s not working.
Here are the steps that i have follow:
Ctr+R - Run the Report
On the Tab Field_Before
TableNo - i put the id for my table
Field Caption - <i leave blank>
On the Tab Field_After
TableNo - i put the id for my table
FieldName - <i leave blank>
I´m doing the right way?
vaprog how can i use Translate - export / import and modify the files before import? using Dynamics NAV?notepad?
Thanks again for your help.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
You do net need to keep all the lines, you can throw out all you are not interested in.
The format of each line is basically:
Legend:
<...> element that is defined elsewhere
{...} repeatable components
[...] optional components
#...# prose
So, in your case, you can search for any line with '-A1033-', see whether there is a corresponding name property, modify that line and throw out all the rest.
I would use perl for the task, but sed, awk, or grep/find/findstr and a text editor will do.
I only briefly looked at lvanvugt's report. You will likely have to modify the value of the Date property to be able to import or compile it.
In spite of it's name (Copy Caption from Name), his report copies the English caption to the name property.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community