Import ID tagged text file results in paragraph style overrides

I have been working on a project that requires the import of a large amount of information from a database. I have defined all the paragraph styles in InDesign and have a program to apply the paragraph style to the database information creating the InDesign Tagged Text file. When I place it into my document the paragraph styles are recognized but there is an override. If I clear the override, the text looks fine. I have an example document that I have exported and imported some text to rule out the program, but even in this case, an override occurs. Text is there, the paragraph format is there, but font size (for example) is wrong. Where should I be looking to correct this issue?
Harold

I don't recognize any of those being wrong, per se. I have the file on another computer, so I mocked up yet another one. Sorry
Again in this one I did ASCII export, no fancy characters. And this one demonstrates the problem, too. I have two kinds of paragraphs. A big one and a small one. I create those paragraph styles. I select the only two lines in the file. Export and then bring them in underneath themselves to compare.
The paragraph styles for the newly Placed paragraphs are gone. The font color is the same. But the font size and font have not changed.
I manually edited the IDTT and removed the <Japanese feature> tag. Placed it again. Font color is the same, but the size and font are wrong.
In other words, my problem is that ID does not seem to apply the paragraph style to the text when it is imported. Aren't the font size and font defined in the Paragraph Style?
My end goal is to define some paragraph styles and create the IDTT automatically from a database. My hope was that the paragraphs would be formated properly based on the predefined styles when the IDTT comes in. I cannot get it to do this even for a pared down example. Aren't other users doing this?
Here is the IDTT on pastebin (with the <Japanese...> tag removed)
http://pastebin.com/Vdc6NVDV
And what it looks like after the intial Place with <Japanese...> tag in, edited line from Small to "Deleted Japanese feature...", removed tag from IDTT and then did another Place.

Similar Messages

  • Linked Adobe Tagged Text files importing without styles

    I have several data-heavy weekly publications where suddenly, the link to all Adobe Tagged Text format files have the proper paragraph styles and character styles stripped on being placed.  I'm aware of the default settings issue, where you deselect all and make sure the character styles is none, and that does not seem to be the issue. Specifics are
    Working in CS 5 (Version 7.0.4)
    The Adobe Tagged Text format files are exported from Excel spreadsheets
    The InDesign documents have links to the Adobe Tagged Text format files, and Update Link is used inside InDesign to update the text when the file is exported from the spreadsheet.
    When the publications are opened on my workstation, ALL files linked to Adobe Tagged Text files are not imported correctly, they revert to the Basic Paragraph style.
    These are not new documents I'm designing or new Adobe Tagged Text files, this is part of a production process that has worked without issue for years.
    When the same documents are opened on another workstation, and Update Links used, they come in perfectly, so it doesn't seem to be a document or file corruption problem, but a problem with my environment or ID settings.
    It's not one specific document or file, it is every single document that has a link to an Adobe Tagged Text file (and we have lots, I tried several!)
    I've opened the text files in the text editor to check them, but as I mentioned: same document, same files, I'm the only one who can't update without stripping out the styles.
    Thanks! Nancy

    Hi, Peter! Thanks for the response. Yes, it's really Tagged Text. See below. After exporting from the spreadsheet and database, opening the document in InDesign, and selecting update link, we do no editing in InDesign after the fact because everything is already setup exactly as we want it with the Tagged Text format.
    I have literally hundreds of these among several different documents, updated weekly, mainly dealing with prices and numbers. Every one of the links to Tagged Text format files in every publication now strips out the Tagged Text paragraph style and character style formatting on Update Link on my workstation only. On my other two workstations, the links update without issue, and everything is correct in the final document.
    So I'm beginning to think I need to look at rebuilding something, maybe as Joel said, replacing preferences. I keep looking for a workstation or ID option that might effect this.
    <ANSI-WIN>
    <vsn:6><fset:InDesign-Roman><ctable:=<Black:COLOR:CMYK:Process:0,0,0,1>>
    <dps:Pnl Comp\:Pnl Comp \$Numbers=<Nextstyle:Pnl Comp\:Pnl Comp \$Numbers>>
    <dps:Pnl Comp\:Pnl Comp Bold \$Numbers=<BasedOn:Pnl Comp\:Pnl Comp \$Numbers><Nextstyle:Pnl Comp\:Pnl Comp Bold \$Numbers>>
    <dps:Pnl Comp\:Pnl Group \$Numbers=<BasedOn:Pnl Comp\:Pnl Comp \$Numbers><Nextstyle:Pnl Comp\:Pnl Group \$Numbers>>
    <pstyle:Pnl Comp\:Pnl Comp Bold \$Numbers> $302 $302 $278
    <pstyle:Pnl Comp\:Pnl Group \$Numbers> 203 202 211
    <pstyle:Pnl Comp\:Pnl Group \$Numbers> 456 458 393

  • How do I import an InDesign tagged text file into multiple pages and export as .ps or .pdf using Jav

    I have an InDesign tagged text file I've translated from .xml. I need to automate the following steps:
    1 - access specific InDesign template (eg. ABC_template.ind)
    2 - import tagged text file into InDesign
    3 - autoflow text to END of document (normally around 3-5 pages)
    4 - save document as either .ps or .pdf file
    5 - where the input file stub name matches the output stub name (eg., OrigName.txt outputs as OrigName.pdf).
    I would like to completely automate this whole process using JavaScript (because I don't know anyone that knows AppleScript). I've automated the first part using a perl script. I've been trying to find sample snipits of JavaScript that would do one or more of the items listed above, but am having a hard time finding what I need.
    Please, I'm desperate!! Can any of you InDesign scripting guru's out there help me??
    Thanks in advance!!
    LindaD

    Hi Linda,
    I might be able to help you out. You can contact me by email (click on my user name for the address), or if you post your email here.

  • Confused by the behavior on importing simple tagged text

    I have a tagged text file with the following content beween the dashed lines. (the lines are not part of the file). Both IText and BText are predefined paragraph sytles.
    <ASCII-WIN>
    Price <ParaStyle:IText>AA<cPosition:Superscript>aa<cPosition:> - <ParaStyle:BText>BB<cPosition:Superscript>bb<cPosition:>
    Once imported,  the result is not what I expected. Specifically,
    1. All text are imported with the BText paragraph style.
    2. It shows the "bb" as superscripted, but not the "aa".
    Why is that? And how can I have different styles for the AAaa part versus the BBbb part?
    This can be reproduced on CS5 and CS5.5. Didn't try any older versions.
    Thanks.

    When I think of it, the first behavior makes sense, because the text were specified as a continuous line without line break, they are treated as a single paragraph. And for a paragraph, only one paragraph can be used, and the one that is specified later, BText in this example, wiins.
    But still, why does the import routine ignores the superscript character style on "aa"  before the second  paragraph style tag?

  • Tagged text unexpected results

    I'm having trouble with InDesign 6 tagged text. Here is the tagged text file I'm importing into a series of linked boxes on an InDesign Page.
    <ASCII-MAC>
    <pstyle:title>Access to Health
    <pstyle:author>Donatelle
    <pstyle:sku_k>14173278
    <pstyle:bc_k>µ14173278CÄ
    <pstyle:sku_spot>14173279
    <pstyle:bc_spot>µ14173279KÄ
    When I import this, the lines with the extended character set fail (µ and Ä). There is no error message.
    If I strip out those two characters the file imports correctly.
    I've tried changing the encoding to UNICODE-MAC and ANSI-MAC but neither of those choices worked.
    What should I do to get this to work. I need the special charactes because they are part of a barcode.
    Oh, one more thing. If I have this open in a text editor and copy and paste the data (minus the paragraph style indicators), it works fine. It's just the import that fails.
    Thanks in advance.
    Dennis
    (frustrated in Chicago)

    In reply to my own question, here's what I've discovered.
    Saving a TextWrangler file as Unicode failed. In fact, InDesign imported the file as straight text so I even saw the tags.
    What finally worked for me as this.
    I left the encoding at <ASCII-MAC> and, using TextWranger, I saved it in (Western (Mac OS Roman)) encoding. Now the file imports correctly.
    Thanks, Jongware, for pointing me in the right direction.
    Dennis

  • Importing Adobe Tagged Text

    Hello,
    So here's what's happening…
    I've installed a Wordpress plugin that exports posts as Adobe Tagged Text.
    When I import, the text still shows up marked up with tags, just as it looks in the .txt file:
    <ANSI-MAC>
    <DefineParaStyle:NormalParagraphStyle=<Nextstyle:NormalParagraphStyle><cColor:Registration ><cSize:10><cLeading:11><pFirstLineIndent:12><cFont:Times New Roman>>
    <ParaStyle:NormalParagraphStyle>This <cTypeface:Italic>is<cTypeface:> a <cTypeface:Bold>test<cTypeface:>
    <ParaStyle:NormalParagraphStyle>Test paragraph
    <ParaStyle:NormalParagraphStyle>Testing this out
    Does it have something to do with the first line of code, <ANSI-MAC>?
    Regards,
    Eric

    You're using a very old InDesign workflow which I've never used. But it's referenced in Olav Kvern's and David Blatner's excellent "Real World InDesign" (I'm looking at the CS4 edition).
    On page 235, it reads, "The first characters in a tagged text file must state the character encoding (ASCII, ANSI, UNICODE, BIG5, or SJIS), followed by the platform (MAC or WIN). So the typical Windows tagged text begins with <ASCII-WIN> , and the Macintosh version begins with <ASCII-MAC> ."
    It looks to me like it should work. Have you tried exporting some tagged text from InDesign to see how it looks? File > Export > Adobe InDesign Tagged Text.

  • Soft return in tagged text file

    Hi, anyone has example of using a End of line (soft return)  in tagged text file?
    i tried using <0x000A> but it does not work. Advice needed.
    Tkz

    So it does. It also drops it if you export in GB 18030. I would file a bug report:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Only workaround I can think of would be to enter some other unique character (maybe |?) and find/replace it in ID after bringing in the tagged text.
    Ken
    Hold on, I tried exporting tagged text and then bringing it back in. It's not dropping the forced line break. It's exporting it as a single Line Feed (hex 0a). And it interprets that as a forced line break when importing back in. My text editor ignores Line Feeds. I had to look at it in a hex editor to see the 0a.
    I don't know if that helps any. However you're producing the tagged text, you would need to be able to make it enter a line feed without the carriage return.
    Ken

  • CS3/JS: Code to import x-tagged text into Indesign

    Hi All,
    Normally we import text as X-Tag using Em Software plugin manually. We developed a script for auto-pagination in Indesign. But we couldn't find any JS code to import X-tagged text anywhere. So we used word file to import but facing lot of issues while importing word file into Indesign.
    Is there any javascript code to import text with X-tag plugin? If so, kindly provide. It will be be helpful for us very much.
    Thanks in advance.
    regards
    Masthan

    An external plugin can only (*) be used in Javascript if the original programmers added support for it. Best is to check its documentation, and if it's not mentioned in there, contact the authors.
    (*) Perhaps you can locate its menu entries and use those instead. I wouldn't know at all if that works with external plugins.

  • Is it possible to import a Fixed Text file that does not have a header?

    I'm trying to import a Fixed Text file through Import Manager, but the text file I am receiving does not have a header on it (the first row is valid data). When I try importing this, Import Manager uses the first row of data as the headings. Is there any way to turn this off and tell Import Manager there is no header data in the file?
    Thanks!

    Hi Ryan ,ur requirement can be met only when u import the file as ODBC .for this follow the below steps.
    1)Go to control panel,in ur settings,select administrative tools
    2) In that select DATA SOURCE(ODBC ).
    3)Go to SYSTEM DSN tab select tab .
    4)Select ur file type MICROSOFT TEST DRIVER (.txt,.csv)
    5)Double click on "Import DSN" and in the blank give the name of DATA SOURCE NAME any name u want to give.
    6)Uncheck the use current directory box and select the directory ur file is it will automatically show ur source file select it and click ok.
    7) Now when u import ur file as ODBC give the name of ur DATA source name which u have given and it will show ur file in the source preview itself .
    In  this way u can import ur file as ODBC.
    Hope this may help u.
    Regards
    Ankit

  • Howto always clear paragraph style overrides?

    Using Indesign Cs5. 
    I'm going to import loads of incopy-text that has already ben placed on other layouts. The problem is that these texts contains some paragraph styles overrides that I do not want to include in the new document. 
    Question: is there some way to tell indesign to automatically clear paragraph style overrides?

    Reading through that article, it appears that added styles will be ignored with certain exceptions that in turn are overrideable in ID. But I am working in the blind here.
    I know there are GREP routines you can use to set chosen paragraph styles to any other and it is fast to do. Search the forum for these.
    Because I work by myself and don't receive anything but funky Word or text documents that I fully set in ID, I haven't faced what you are.
    Hopefully someone who does use IC will come along to actually help you.
    Mike

  • How do I prevent unwanted paragraph style overrides when exporting an epub

    I am having trouble controlling the size of a  logo in an e-pub. Actually, it's only a problem with Amazon's Kindle which seems to insist on enlarging the image to the full screen width. So, I need a robust command in my CSS to override Kindle's preference. Seems easy. I placed the logo into my In Design layout in a picture box with the object style "frontmatterlogo" which should export into a div of the same name. Which it does. So far so good. However, In Design insists on creating a paragraph style override (see bold in the code below) which disregards the  frontmatterlogo settings I've written in to my CSS in favour of it's own image settings which correspond to the size of the placed image. Currently, I've just put together a hacked solution by writing a class for para-style-override into my CSS. It's an inelegant solution but seems to work for all the other e-readers. But, as mentioned, it doesn't work on the Kindle.
    Anyone have any idea what is causing these overrides and how I might prevent them so my div class can take over?
    Alan
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                </div>
                <div class="frontmatterlogo">
                    <p class="para-style-override-1">
                        <img width="191" height="19" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/>
                    </p>
                </div>
            </div>
        </body>
    </html>

    Thanks for getting back so quickly, Bob.
    I'm using Version 5.5. I have basically the same problem when the object is anchored. In the case below, I created a new paragraph style for the line on which the logo would be anchored, also mapping to the frontmatterlogo entry in my CSS. This time, no paragraph-style-override is added but In Design still adds it's own image dimensions corresponding to the size at which the image was placed in the layout. This overrides the settings in my CSS and, I suspect, might be what's allowing the Kindle settings to take over as well. I had kind of resigned myself to fixing this in the code  on a book by book basis, which is fine if the only images the book contains is a cover and a title page logo. But I'm worried about what happens when I have to create an e-pub from a photo-heavy book. You can see how it would be ideal to create a few specific object styles for different image situations in In Design and have them map them to specific div styles in my CSS. Basically it's a workflow issue. This would minimize the amount of after-the-fact coding our already swamped designers would have to do.
    It's so obvious in the code where the problem lies, and so I just have a feeling that there may be a simple fix. If only I knew why In Design felt obliged to specify the image size.
    A.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                    <p class="frontmatterlogo"><img class="frontmatterlogo" width="196" height="20" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/></p>
                </div>
            </div>
        </body>
    </html>

  • Pre-tagging text files for FrameMaker 11

    In older versions of FrameMaker I used to be able to pre-tag a text/data file using @tag name=[paratext] at the beginning of a paragraph so that when the file was imported to a FrameMaker template, the specified tag would be applied automatically and I didn't have to apply the tags manually. This doesn't seem to work any more, but I can't believe this feature is no longer available. How do I do the same thing for FrameMaker 11 please?

    The include statement at the top of an MML file is optional, but handy if you do a lot of MML work and always use the same styles. For occasional work or document with a "novelty" style-set, it's enough to put a <!DefineTag> slug at the top of the MML source for each style. Just remember to start the file with <MML> – the FM import scrutinises the file rather than relying on the extension – and to save it as ANSII. Oh, and I've noticed/learnt that if you don't leave a blank line between each tagged paragraph in the input, FM adds a space at the end of the paragraph. (showing my age – I've been sternly warned against increasing file-size with this sort of thing)
    I use MML a lot, for cleaning up – erm – enthusiastically formatted or completely unformatted .doc files, and apart from missing support for tables I find it a valuable blade on my FM Swiss Army knife <g> Minimal work with a text editor can convert an MML file into tagged text suitable for InDesign. Haven't had the occasion to experiment with IDD to MML, but who knows … that might work too.
    Just for completeness, a small example:
    <MML>
    <!DefineTag :h2>
    <!DefineTag :p>
    <!DefineTag :ul>
    <!DefineTag :ul_2>
    <:h2>System requirements – disk space
    <:p>A minimum of 1Gb free disk space is recommended.
    <:ul>around 250 MB for Java
    <:ul>around 12 MB for a fresh Tomcat Server installation
    <:ul>around 23 MB for KEY LOADING SERVER files
    <:ul>additional space for
    <:ul_2>Tomcat Server working files
    <:ul_2>KEY LOADING reports
    <:ul_2>log files (space depends on the trace level and clean up policies adopted)

  • Multiple Hyperlinks in Tagged Text file

    Hi,
    I'm currently exporting a contact directory database from sql into tagged text so I can import it into InDesign and format it up automatically and unltimately export as pdf.
    So far I have got all the formatting working exactly as I want it to by reverse enginerring an exported file, but now I want to make all the e-mail addresses into hyperlinks.
    I;ve included below an example of what i'm now importing into InDesign, all works and is formatting ok but the hyperlinks aren't being transferred properly.
    Please could somebody advise me on the correct syntax on how to do the above, as I've read the tagged text user guide which gave me the headings to use but now an example of how to make a hyperlink.
    One thing worth mentioning is that I am creating the number in the "HyperlinkDestKey" sequentially when outputting the text, not sure if this might have some bearing on the problem. Also open to any suggestions on trimming unncessary tags from the hyperlink too.
    <ParaStyle:Quick Reference\:Company Grey>248A<0x2002>Company 1<0x0009>00
    <ParaStyle:Quick Reference\:Quick ref text>Tel: 1 23 456 789<0x2002>Fax: 1 123 456 789
    <ParaStyle:Quick Reference\:Quick ref text>Emergency Number - Tel: 123 456 798
    <ParaStyle:Quick Reference\:Quick ref text>Pro:<0x00A0>Mr.<0x00A0>Jo<0x00A0>Bloggs<0x2002>PRO Email<0x00A0><Hyperlink:=<HyperlinkName:jobloggs\@company1.com><HyperlinkDest:mailto\:job loggs\%40company1.com\?subject\=><HyperlinkDestKey:3><CharStyleRef:><HyperlinkLength:21><H yperlinkStartOffset:0><Hidden:0><BrdrVisible:0><BrdrWidth:Thin><BrdrHilight:None><BrdrStyl e:Solid><BrdrColor:0\,0\,0>>[email protected]
    <ParaStyle:Quick Reference\:Company Grey>248B<0x2002>Company 2,Los<0x00A0>Angeles<0x0009>00
    <ParaStyle:Quick Reference\:Quick ref text>Tel: 123456789<0x2002>Fax: 12345679
    <ParaStyle:Quick Reference\:Quick ref text>Emergency Number - Tel: 123456798
    <ParaStyle:Quick Reference\:Quick ref text>Pro:<0x00A0>Ms.<0x00A0>Freda<0x00A0>Jones<0x2002>PRO Email<0x00A0><Hyperlink:=<HyperlinkName:fjones\@company2.com><HyperlinkDest:mailto\:fjone s\%40company2.com\?subject\=><HyperlinkDestKey:4><CharStyleRef:><HyperlinkLength:19><Hyper linkStartOffset:0><Hidden:0><BrdrVisible:0><BrdrWidth:Thin><BrdrHilight:None><BrdrStyle:So lid><BrdrColor:0\,0\,0>>[email protected]
    <ParaStyle:Quick Reference\:Company Grey>248C<0x2002>Company3,New<0x00A0>York<0x0009>00
    <ParaStyle:Quick Reference\:Quick ref text>Tel: 987654321<0x2002>Fax: 987654321
    <ParaStyle:Quick Reference\:Quick ref text>Emergency Number - Tel: 987654321
    <ParaStyle:Quick Reference\:Quick ref text>Pro:<0x00A0>Mrs.<0x00A0>Darlena<0x00A0>McManus<0x2002>PRO Email<0x00A0><Hyperlink:=<HyperlinkName:dmcmanu\@company3.com><HyperlinkDest:mailto\:dmcm anu\%40company3.com\?subject\=><HyperlinkDestKey:5><CharStyleRef:><HyperlinkLength:20><Hyp erlinkStartOffset:0><Hidden:0><BrdrVisible:0><BrdrWidth:Thin><BrdrHilight:None><BrdrStyle: Solid><BrdrColor:0\,0\,0>>[email protected]
    Kind Regards
    Steve Tucker

    So it does. It also drops it if you export in GB 18030. I would file a bug report:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Only workaround I can think of would be to enter some other unique character (maybe |?) and find/replace it in ID after bringing in the tagged text.
    Ken
    Hold on, I tried exporting tagged text and then bringing it back in. It's not dropping the forced line break. It's exporting it as a single Line Feed (hex 0a). And it interprets that as a forced line break when importing back in. My text editor ignores Line Feeds. I had to look at it in a hex editor to see the 0a.
    I don't know if that helps any. However you're producing the tagged text, you would need to be able to make it enter a line feed without the carriage return.
    Ken

  • PSE 13 "Import Keyword Tags From File" Fails

    Whenever I try to do the above command, it fails. As shown in the attached figure it gets to 9%. Does anyone have any ideas on how to troubleshoot this error?
    Thanks in advance.

    is there a way to import tags from PSE 12
    The PSE 12 Organizer and LR 5 use different file formats for exporting and importing keyword hierarchies. PSE uses XML format, while LR 5 uses a tab-separated format.  If you're a programmer or technically minded, you could convert from one to the other using your favorite scripting language.
    But the approach suggested by dj_paige can be modified to accomplish what you want without scripting, by copying the keyword hierarchy from the "upgraded" LR catalog that was created from your PSE catalog to your "good" LR catalog:
    1. Make a manual backup of your "good" LR catalog: Lightroom Help | Back up a catalog.
    2. In LR, open the catalog that you created previously by upgrading (converting) the PSE catalog -- you can usually get to that catalog by doing File > Open Recent.
    3. Go to grid view in the Library by doing Window > Library followed by View > Grid (usually you're already in Library grid view, but just in case...)
    4. Make sure the Keyword List panel is showing on the right by doing Window > Panels > Keyword List.
    5. You should see the keyword hierarchy from your PSE catalog.  If you don't, stop and post a screen shot of the entire LR screen.
    6. Do Metadata > Export Keywords to export those keywords as a LR-format text file.
    7. Open your "good" LR catalog by doing File > Open Recent.
    8. Do Metadata > Import Keywords and select the file you exported in step 6.
    9. All the keywords that were exported in step 6 will be added to the current catalog, and there will be duplicate keywords if there were already keywords of the same name in the catalog.  Those new keywords will not be attached to any existing photos in the current catalog.

  • Import data from text file

    We are trying to import data from a text file into fields in a form using the importTextData method for the Doc object. The script we are using looks like this:
    var doc = event.target;
    var returnCode = doc.importTextData("datafile.txt",0);
    The text file "datafile.txt" contains tab separated values in a header row (which corresonds to field names in the form) followed by tab separated datarows - all according to instructions in the API.
    The returnCode will result in an integer value, which in our case represent "Error: Invalid Row". It would help us a lot if anyone could give us a hint on what may be wrong or even better post a working solution.
    We have also tried using the importTextData method without any parameters (the user is then prompted to select the text file and then the specific row) but the result remains the same. The fields in the form are not populated with data and the message "Error: Invalid Row" is returned.
    Annika Lindqvist

    The problem you're experiencing is that importTextData is an Acrobat API call. As such, it executes on the AcroForm field equivalents to the XFA fields you've placed on the form. What's not indicated in the API for importTextData is that the names in the fields in the header of the text file must be the
    full AcroForm SOM expression.
    I've created a working sample to explain this.
    First, I created a form with a table with one row in it containing 3 columns named FirstName, LastName and Country.
    Then I created a data.txt file like this:
    FirstName LastName Country
    Fred Jones USA
    Kyle Francis Canada
    Sam Roberts UK
    I then placed a button on the form which calls "event.target.importTextData();" and ran the form in Preview.
    Of course, when I selected a row for import, nothing happened.
    I then used the "Avanced | Forms | Export Data from Form..." menu option in Acrobat after filling-in the fields in the table with some text and looked at the generated text file (note that you have to specify text as the output format). In there, I was able to figure-out what the full AcroFrom SOM expression was for each field I wanted to import data into.
    I changed my data file to look like this:
    form1[0].#subform[0].Table1[0].Row1[0].FirstName[0] form1[0].#subform[0].Table1[0].Row1[0].LastName[0] form1[0].#subform[0].Table1[0].Row1[0].Country[0]
    Fred Jones USA
    Kyle Francis Canada
    Sam Roberts UK
    Afther that, importTextData worked as expected without any errors.
    Stefan
    Adobe Systems

Maybe you are looking for

  • Still no update for me!!! Please help

    I still cannot update ?? Ive tried upgrading iTunes, restarting iPhone, but it still says I have the current software? What's the deal? Any suggestions?

  • IEEE 802.1x Port based Authentication with Restricted VLAN

    Hi all, I have the following configuration: aaa new-model aaa authentication dot1x default group radius aaa authorization exec default local dot1x system-auth-control radius-server host 10.10.10.10 key cisco interface FastEthernet0/1 switchport mode

  • Photo edit sliders painfully slow

    Hello, I have been trying to edit a couple of photos in iPhoto. I need to crop and edit the exposure, black/white points, etc. If I open a photo in edit mode, I can usually get one edit function complete without any problems. After that iPhoto slows

  • Mac with Mavericks not allowing to Save As, crashes when opening files, sloooow

    ***_{NSArrayM objectAtindex:]: Index 20 beyond bounds [0..15} is a error I get often

  • Transformer object- fix note problem

    Hi, my first post! I'm using a transformer-object in the environment to transpose some incoming midi-notes in real time. This works so far, but somehow, all the notes that are played, 'hang' for some reason, like no 'note-off' command is been given.