Place one IDML file inside another one.

I want to place one or more IDML files into another single IDML "master" file.
The master file is sort of a template for a site layout. The IDML files I need to embed represent single content boxes with specific layouts. The files for those content boxes are created outside of InDesign with some texts I get from a database.
To retain those layouts I deemed it best to just place them into another document which is no problem with INDD but just with IDML.
I managed to link multiple INDD files into the master file in InDesign itself, but can not figure out how to link IDML files. I also found that it is possible to link INDD files into IDML files, just not IDML into IDML.
I need to be working with IDML as opposed to INDD because I have to be able to manipulate the files in an easy way outside of InDesign.
Is there any way to link IDML files into other IDML files? Or if not, is there a possibility to convert my IDML files to INDD files without having to use a real instance of InDesign?
Relevant Lines of code from the master IDML file taken from the Spread.xml file:
<Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box2.idml" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
If I leave this in and try to open the file in InDesign I get the error message that the linked file type is not supported
<Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box1.indd" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
If I put this in everything works fine.
Notes: box1.indd and box2.idml are the exact same files, just saved differently by InDesign. The path to both files is a valid file system path and has full read/write access.

Thank you for your reply. I already know that it is possible to edit IDML files, which is what I am already doing.
What I am now looking for is a way to place one IDML file into another one like you are able to do with INDD files.
Which file format should I use insted then? It must be editable outside of InDesign because I need to be able to change texts and stylings within the file.
Laubender
That possibly means you have to have InDesign Server to integrate in your workflow.
That's the exact thing I am trying to avoid here.

Similar Messages

  • Creation of zip file inside another one.

    Hi,
    I have a problem  with the zip file creation.
    I have created the zip file but now i can' t
    create another zip file inside the first one.
    can you suggest me how can i do it ?
    thanks  Laura.

    Hi,
    try this Fm..
    ISM_GENERATE_ZIP_FILE_NAME
    Arunima

  • Compiling one .chm file creates another one

    I'm working with a merged help system with approximately 30 sub-projects, and I have to make a change and regenerate the .chm file for all of them. We always generate the .chm file to the !SSL!\Microsoft_HTML_Help folder within the root project folder. I got tired of having to go into each output folder to move all of the .chms to the eventual destination folder, so I though I'd just change the output path to a common folder for all of them.
    After generating a couple, I noticed that when I compile some projects, a .chm file from a different project somehow ended up in the output folder. I don't know how it got there because I'd just created the folder and I hadn't generated a .chm for that project yet. Of course I've ended up with some old .chm files overwriting the updated ones that I generated today.
    This seems very odd. Has anyone run across this issue?
    I'm on RH 9.0.2 with Windows XP SP3.

    Are your merged CHM files located in the project folder? When you merge a CHM file, RoboHelp requires that the CHM file be copied to the project folder. If you do not delete the CHM file, it is copied to the output location for the master CHM. This will overwrite any existing CHM files in the output folder location with the copy in the project folder for the project being compiled.
    Delete the CHM files from the folder, and you shouldn't have this problem. I wrote a batch file for my projects to clean out CHM files from the folders prior to batch compiling all the projects. The merge will still occur as the merged files are included in the XPJ and the HHP file.

  • Scheduling one background job inside another

    Hi All,
    Is it possible to Scheduling one background job inside another.? i.e In my Z program I am calling job_open, job_submit, job_close and to execute one standard report in background. And after that I am executing my Z program itself  from SE38 as Program->Execute->Background->Execute Immediately. Is this logically correct? I am asking this because I am not getting the desired result
    Thanks & Regards,
    Neethu.

    HI,
    Check the job steps in SM36.
    First schedule the Standard job and in the job steps schedule the z report.
    Schedule job in chain

  • How can I copy layers from one .fla file to another .fla file?

    Hi,
    How can I copy layers from one .fla file to another .fla file? Please do help.
    Thanks.

    Select all the frames you want to copy, right click and select copy frames then select the file you want to paste them into and right click again and then paste frames.
    The layers the frames are should come across with them.

  • How to use one hash table inside another hash table

    Hi everyone,
    Any example of hash table inside another hash table.
    Can one here help me how to write one hash table inside another with repeating keys for the first hash table.
    Thanks,
    kanty.

    Do you mean you want the 'value' entries in a hash table to themselves be hash tables? Easy but this often indicates a design flaw.
    Hashtable<String,<Hashtable<String,Value>> fred = new Hashtable<String,<Hashtable<String,Value>> ();But what do you mean by "with repeating keys for the first hash table"?
    Edited by: sabre150 on Jul 2, 2010 10:11 PM
    Looks like you have already handled the declaration side in your other thread. I suspect you should be writing your own beans that hold the information and these beans would then be stored in a Map. The problem I have is that your description is too vague so I can't be certain.

  • How do i move a picture from one pdf-file to another already created pdf-file with adobe reader?

    How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?

    Reader doesn't have editing capabilities.

  • Move group of pages from one InDesign file to another InDesign File using VB.Script

    Dear team,
    I am trying to move group of InDesign pages from one indesign file to another indesign file using vb.script.
    I have written the code like
    Dim Pages=IndDoc.Pages
    Dim Mytype=TypeName(Pages)
    Pages.Move(InDesign.idLocationOptions.idBefore,IndDoc1.Pages.LastItem)
    but it is giving an error as method Move is not a member of Pages 
    please give mme the solution to move the Multiple pages or a group of page from one Indd to another Indd.

    Hey Peter, if I wan to move several page that part of Auto Flow text, I checked the "delete page after moving" but the content still there, not deleted.
    Is there any way to delete it automatically, just to make sure I have moved that autoflowed page?

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Copy one text file to another text file and delete last line

    Hi all wonder if someone can help, i want to be able to copy one text file to another text file and remove the last line of the first text file. So currently i have this method:
    Writer output = null;
             File file = new File("playerData.xml");
             try {
                   output = new BufferedWriter(new FileWriter(file, true));
                   output.write("\t" + "<player>" + "\n");
                   output.write("\t" + "\t" + "<playerName>" + playerName + "</playerName>" + "\n");
                   output.write("\t" + "\t" + "<playerScore>" + pointCount + "</playerScore>" + "\n");
                   output.write("\t" + "\t" + "<playerTime>" + minutes + " minutes " + seconds + " seconds" + "</playerTime>" + "\n");
                   output.write("\t" + "</player>" + "\n");
                   output.write("</indianaTuxPlayer>" + "\n");
                  output.close();
                  System.out.println("Player data saved!");
             catch (IOException e) {
                   e.printStackTrace();
              }However each time the method is run i get the "</indianaTuxPlayer>" line repeated, now when i come to read this in as a java file i get errors becuase its not well formed. So my idea is to copy the original file, remove the last line of that file, so the </indianaTuxPlayer> line and then add this to a new file with the next data saved in it. So i would end up with something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <indianaTuxPlayers>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
    </indianaTuxPlayers>
    However after all day searching the internet and trying ways, i have been unable to get anything working, could anyone give me a hand please?

    I would go the XML route too, but for fun, open a file as a BufferedWriter and do this:
    void copyAllButLastLine(File src, BufferedWriter tgt) throws IOException {
        BufferedReader in = new BufferedReader(new FileReader(src));
        try {
            String previous= in.readLine();
            for (String current = null; (current = in.readLine()) != null; previous=current) {
                tgt.write(previous);
                tgt.newLine();
        } finally {
            in.close();
    }

  • Linking one Numbers file to another???

    I want to link the formulas from one Numbers file to another seperate and distinct Numbers file - can I????

    D,
    Yo can link a table to another in the same sheet or different sheet in the same file, but there is no provision for linking a table in one file to that in another file.
    pw

  • Not able to execute one Java program from another one via. exec()

    Hi,
    I am new to this forum, so I might be asking a very trivial quetion.
    My program Ap1 is :
    class Ap1
    public static void main(String a[]) throws Exception
    Runtime rt=Runtime.getRuntime();
    Process p=null;
    p=rt.exec("javac,Pr.java");
    Runtime.getRuntime().exec("javac,Pr.java");
    When I run the above program, I get below error at the line 7(bold one):
    D:\batchwe>javac Ap1.java
    D:\batchwe>java Ap1
    Exception in thread "main" java.io.IOException: CreateProcess: javac,Pr.java err
    or=2
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    at java.lang.ProcessImpl.start(ProcessImpl.java:30)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    at java.lang.Runtime.exec(Runtime.java:591)
    at java.lang.Runtime.exec(Runtime.java:429)
    at java.lang.Runtime.exec(Runtime.java:326)
    at Ap1.main(Ap1.java:7)
    Path is set as below(which seems correct):
    D:\batchwe>path
    PATH=C:\Program Files\Java\jdk1.5.0_05\bin
    I am just wondering how to call one Java program from another one?!
    Please help.
    thanks
    Rashmi

    Hi diptaPB,
    Thanks for your suggestion.
    Here is how I tried it again, but not getting the desired output:
    Class Pr looks like below -->
    class Pr
    public static void main(String a[])
    System.out.println("hi from process");
    When I run 'Pr' from command prompt, i get the desired output:
    D:\batchwe>java Pr
    hi from process
    However, when I call 'Pr' from another program Ap2.java, it seems that it does not call 'Pr':
    class Ap2
    public static void main(String a[]) throws Exception
    Runtime rt=Runtime.getRuntime();
    Process p=null;
    String[] cmd=new String[2];
    cmd[0]="javac";
    cmd[1]="Pr.java";
    p=rt.exec("cmd");
    D:\batchwe>javac Ap2.java
    D:\batchwe>java Ap2
    ************* no output appears here***********************
    Looking forward for your help.
    regards
    Rashmi

  • I want to import one imovie project into another one.  In other words, I have created a short sequence in iMovie 11 on one computer, and I want to import it into a project that I am working on, on another computer.

    I want to import one imovie project into another one.  In other words, I have created a short sequence in iMovie 11 on one computer, and I want to import it into a project that I am working on, on another computer.  I copied the project files onto a hard drive, and then connected that drive to the Mac that my main project is on, but when I select "import" the files are faint gray -meaning I can't select them.  Help!  I want to transfer a sequence of shots from one iMovie 11 project on one computer, into another iMovie 11 project on another computer.

    Tell me it ain't so!
    I wish I could.  The research you've done is correct.
    Wether you copy and paste or rebuild the Project from the other computer, you're going to need to get your Evnets copied from the other computer.
    The Prjoject files only contain pointer back to the original media.
    Matt

  • I would like to change of type of subscription to improve its level. Should I cancel the first one and then take another one ?

    hello
    I would like to change my type of subscription (adobe reader) to improve to get a higher level. Should I cancel the first one and then take another one ?
    thks
    cecile

    Hi Cecile,
    Please Contact Customer Care; an agent will be able to change your subscription from ExportPDF to Adobe PDF Pack, or an Acrobat subscription.
    Best,
    Sara

  • Hi there is it possible to link anchor or any hyperlink from one widget card to another one?

    Hi there is it possible to link anchor or any hyperlink from one widget card to another one?
    I'm trying to make link from one page to another but it works for widget as general not specyfic card or button

    Re: How can I use an anchor to show a specific panel in a widget?
    Topic above is about my problem Sanjit. Is is possible to fix it or add some code to it?

Maybe you are looking for