Can open Topics by drag & drop, but not by double-clicking in the DITA map

Hi,
evidently I made an error somewhere in my structure app, the result is that I cannot open DITA topics by double clicking them in the DITA map anymore (Framemaker does simpy nothing). I can, however, open them by dragging the xml files onto the Framemaker window.  If I use the standard DITA 1.2 application everything works fine so I guess the problem is in my mapping.
Here is what I tried to achieve:
We need certain variations of the normal 'topic' type topic. The DTD should be identical, however different structures should be auto-inserted when creating a topic and the topic should have certain attribute values predefined.
The idea is that the author can select one of these topic types when creating a topic, but when opening an existing topic simply edit it with the standard topic temple.
Here is what I did:
I duplicated the topic.template.fm, renaming it say "topic_a.template.fm", "topic_b.template.fm" etc. (just an example).
I made adjustments to the EDD of these templates, changing the auto-insertions and the default values of some attributes.
In the structapps.fm file I added XML applications for these new topic types, mapping each application to one of the new templates, but to the original topic DTD and r/w rules. E.g. the application "DITA_1.2_topic_a" is mapped to the "topic_a.template.fm" template, and to the original "topic.dtd" and "topic.rules.txt" files.
In Framemaker I then created corresponding application mappings in the DITA options. E.g. the topic type "A" (which defines the visible text in the "New topic" menu) is maped to the XML application "DITA_1.2_topic_a".
The result:
It works as intended in every way when creating topics. The topics are saved with the standard doctype 'topic'. However for when I try to open topics from the DTD by double-clicking then nothing happens. Opening topics by drag & drop works fine though and they are opened with the normal (general) "topic.template.fm" template as desired.
Any ideas? Was this confusing or am I completely off somewhere?
Robert

Hi Robert...
When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
Cheers,
…scott
Scott Prentice
Leximation, Inc.
www.leximation.com

Similar Messages

  • I can open some older numbers files but not others. I get a message that says I need a newer version of numbers.

    I can open some older numbers files but not other. I get a message saying I need a new version of numbers. Why would some files open and not others?

    SK,
    Here's the deal. If you ever open a Numbers file with Version 3, the file is converted to Version 3 and can't be opened again by Version 2. Version 2 and Version 3 are undoubtedly both on your machine and they look so similar that you may not realize which you are using. So, there are two steps to getting into trouble.
    1. Open a Numbers 2 file with Numbers 3, edit it and Close it.
    2. Try to open that file with Version 2. You ill get the error.
    To always get it right, find the file you want to open in Finder, Right-Click it and choose Open With... and pick Version 3 from the drop down list.
    If you have a file that you prefer to use only in Version 2, always use Open with... Numbers 2.3.
    Jerry

  • I can open pdf files in emails, but not on websites. I have the new Reader.

    I can open pdf files in emails, but not on websites, as I was able to a couple of weeks ago. On websites I get the message, "Adobe Acrobat has crashed". I downloaded the new Adobe Reader and that didn't help. I don't have Adobe Acrobat, on Adobe Reader.

    Windows 7, Google Chrome and the most recent Adobe Reader (just downloaded the same day). The problem is with Google Chrome, as Fire Fox works fine. I tried enabling and disabling what would read pdf files in Chrome plugins and found that the only thing that worked was to disable adobe reader and enable chrome reader, which is the opposite of what was reccomended in answer to other adobe forum questions that were similar to mine.

  • I can open a new browser window, but not a new tab, neither by clicking the plus or selecting it from the menu. I have fully updated firefox and also restarted. what's going on?

    I can open a new browser window, but not a new tab, neither by clicking the plus or selecting it from the menu. I have fully updated firefox and also restarted. what's going on?

    I have the same problem with the right click and do not have the ask toolbar installed on my system?

  • When watching a slideshow I could always access music from my iTunes folder.  Suddenly today I can only hear music under the 'theme' tab.  I can see my music in iTunes but when I double click on it nothing happens!

    when watching a slideshow I could always access music from my iTunes folder.  Suddenly today I can only hear music under the 'theme' tab.  I can see my music in iTunes but when I double click on it nothing happens!

    In iTunes go File -> Library -> Organise Library -> Reorganise Library.
    Then quit and restart iPhoto.
    Credit to user keysandfood who figured that one out.

  • When I download itunes 10.4 and quicktime the icons appear on my desktop but once I double click on the icon nothing happens, When I download itunes 10.4 and quicktime the icons appear on my desktop but once I double click on the icon nothing happens

    When I install itunes on my home pc everything goes thru fine I see the icons on my desk top but once I double click on the itunes icon nothing happens
    I downloaded itunes 10.4 and I'm using window 7 - 64 bit as my OS.

    Many thanks.
    The iTunes and QuickTime symptoms are consistent with another application (other than QuickTime itself) having dropped old Quicktime componentry in your system files.
    So just in case we'll go looking for older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view settings.
    In your Start menu, open Computer.
    In your Organise menu, select Folder Options.
    In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
    Click OK.
    Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    Open the "SysWOW64" folder.
    What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • I imported photos from an old iPhoto (2001) to photo library and can now see them as thumbnails but not when I click on them. The screen is black cannot see or print either. Is there any way to salvage those old photos? I now use iLife09. OS 10.6

    I imported photos from an old iPhoto (2001) to photo library and can now see them only as thumbnails but not when I click on them. The screen is black cannot see or print either. Is there any way to salvage those old photos? I now use iLife09. OS 10.6

    Did you import the old iPhoto library into the new one? That's not what you want to do because you will import all of the original, modified and thumbnail files as if they were original files. Lots of duplicates and useless small photos.
    Do you have a backup copy of the library that you imported into to?  If you do then bring it in and then use  iPhoto Library Manager to merge the two libraries into a new, 3rd library.
    If you don't then you'll have to try to fix the current one and then cull out the duplicates and small useless photos as follows:  make a temporary, duplicate copy of your library and apply the three fixes in order as necessary.
    Fix #1
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your HD/User/Home()/ Library/Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your HD/User/Home()/Library /Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    Fix #2
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #3
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    If this doesn't fix the problem you'll have to start over from scratch and create a new library from the files inside the Originals folder of your current library.  But first you should cull out the small photos that would be the thumbnails from the 2001 library.
    Move the Originals folder to the Desktop, open and do a search for Kind=photo, File size is less than 10 KB.  That should find all of the thumbnail files which you can then drag to the Trash.  You might have to make that less than 50 KB. Then Import the remaining photos into a new iPhoto library.
    OT

  • I can see my pictures in "Recent" but when I double click a picture to make it big its just a big exclamation mark on the preview. What do I do? I also can't see the pictures to upload to facebook or email.....

    I can't view pictures to attach to an email or upload to facebook it's just blank or shows an exclamation mark for each picture. I can see them in "recent" but if I double click on a picture to enlarge it it's just an exclamation mark again. What is wrong and how do I fix it?
    Thank you!!!

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption. 

  • Rh10 - HTML Help - linking to pdf shows when generate CHM and 'view results' but not when double-click on CHM in project folder or in product help

    I have several PDFs in Baggage Files that are linked to topics in the Table of Contents.  When I generate the CHM file and 'View Results' I am able to pull up/access the PDFs with no problem.  When I go into the project folder and just double-click on the CHM file, I cannot pull up/access any of the PDFs nor can I access them in the product help.  Any ideas?  Is a setting "off" somewhere in my project?
    I am using RoboHelp 10.
    Thanks!

    eeddings wrote:
    Thanks for the idea, but I can't switch the project to WebHelp.  This .chm project consists of a master project with 18 slave projects and a slew of remote jumps.  I'd have to recreate all of the remote jumps if I switch to WebHelp.
    Hopefully Adobe can fix this issue.
    Well, first off, even though it would be WebHelp, it would be inside a CHM container. So for all intents and purposes it would be a CHM file. But having said that, I'm not sure there is a way to merge these hybrid types of CHM files.
    If your statement about Adobe fixing the issue is meaning that they can either remove the Print icon from the CHM Viewer, I wouldn't hold my breath because as I said, that's in Microsoft's lap and they haven't updated the CHM viewer in a long while. Doubtful they ever will.
    The only hope would then be for Adobe to update the code used for the Mini TOC. The only way that will happen is if enough folks submit this as a bug via the following link:
    http://www.adobe.com/go/wish
    Until that would happen, your likely best bet is to simply avoid using the Mini-TOC feature or just insert a warning that if the topic is printed, it will cause issues. Or, you could use bookmarks and links to establish your own verision of a "Mini-TOC"
    Cheers... Rick

  • Jar runs from Dos prompt, but not when double clicked.

    Hello everyone,
    My executable jar file will run fine when called from the Dos prompt like so: java -jar myJarFile.jar
    But not when I double click it. I've associated *.jar files with java.exe as suggested here on the forums but all that happens when I double click the jar file is that I get an instance of the Dos prompt that flashes up on the screen and closes immediately. Any help or suggestions would be appreciated, thank you.
    This short tutorial I found earlier may be of help to somebody.
    http://www.cs.princeton.edu/introcs/85application/jar/jar.html

    Yes Carmello, I had associated jar files via folder options in windows explorer with java.exe, now when I have the jars associated with javaw.exe as in the following:
    ACTION:
    javaw.exe -jar "%1"
    APPLICATION USED TO PERFORM ACTION:
    javaw.exe "%1"
    I get an error dialog with the title string "Java Virtual Machine Launcher" and the error message itself is "Could not find the main class. Program will exit." when I double click on the jar file. As I said in my first post the application [GUI based with around ten different forms] runs fine when called from the Dos prompt. Any idea as to what is wrong? Thanks for replying by the way.

  • Can open PDF's on line but not downloaded files!

    I had problems downloading/upgrading Adobe 9 until advised to remove Adobe download manager and start again. This I actioned and I now have Adobe 9 on my system.  However, before I actioned the above I was advised to try at start up clicking F8 (I believe?) and adjust my resolution down to 800 x 600 - this I did, but, it made no difference, Adobe 9 upgrade would not load. I now find I can open PDF's on line with my upgraded Adobe 9 in full screen resolution, but, all the earlier PDF's on file reduce my screen to 800 x 600 res and still don't open.  Is it possible to go back to the first action, click F8 at start up, etc, as detailed above, and reverse it?  If it is can someone please repeat the actions I must make i.e. is it F8 I click when I start up my computer, and, what do I then click on the screen, etc, I would be most grateful!
    Updated 14/10/2010 23.35 BST
    OK - I have looked at what actions advice I was given and it was - Press F8 @ advanced startup options, select VGA mode, Dialog box click OK to start Windows.....could this have restructured my screen resolution for existing PDFs?
    Updated 2/11/10    1520 GMT
    Well hi to those few who actually looked at my problem and what a pity no one has been able to help me.  It is pretty obvious Adobe doesn't monitor these web pages otherwise I might have been thanking them for their help in sorting my problem out - fat chance!

    Syncing via the Books tab on your computer's iTunes only syncs books to the iBooks app. If you want the PDFs in Adode Reader or the Kinlde then you will need to sync them via the file sharing section at the bottom of the device's Apps tab when connected to your computer's iTunes - I don't think that iBooks supports the direct copying of PDFs from it to other apps

  • I can open my yahoo mail inbox, but not an email sine i downloaded firefox 4, likewise facebook opens but without content ie just logo

    internet explorer works ok

    UPDATE:
    After waiting for about ten days, I tried setting up my e-mail the regular way (by selecting yahoo mail) again yesterday. To my surprise, it went through without a glitch. I guess the cache of the gateway server must have been reset.
    I have been enjoying push for yahoo mail for the last 24 hours again. But I just noticed now, that the problems might be starting again. There are recent e-mails that don't show up on my phone, but do through yahoo's web mail page. When I select "refresh" through the menu on the phone, I see the circle in the top corner spinning for as long as I wait, but the e-mails don't get downloaded. That is exactly how my problems had started in the first place. I will give it the benefit of the doubt and wait and hope that it fixes itself.
    There might be a compatibility problem with yahoo servers and the verizon email gateway because I have two gmail accounts set up with the stock e-mail the same way, both using verizon's gateway server for push, and they have both been working with no problems for almost a month. (Even though sometimes the "push" is delayed by up to 5-10 min, most of the time it is within a couple of minutes and that's fine, I'm not that picky) And when I do "refresh", ti only takes a few seconds to complete the request.
    And I still haven't heard anything from Verizon.

  • Is there possible to edit JTree cell but not by double click?

    Hi,
    I looked for few hours to solve that problem but couldnt find a good solution. I have JTree component a simple model, when I click on some button I would like to add a new item to my model and immidiately display editor in JTree's cell when new item was added to enter its custom unique name. Does an one know how to fire edit mode for cell?
    thanx and regards
    Adam

    The discussion in this thread from last week should get you started.
    [How can I add a node with with a user-chosen name to JTree in one action|http://forums.sun.com/thread.jspa?threadID=5325551]
    db

  • I double click on the Mozilla Firefox desktop item and it wont open!

    I tried to open firefox and it wont. I'll double clicked on the icon and nothing will open. Windows explorer opens fine but not firefox. I even Uninstalled it then re-installed it but still nothing. it was working fine earlyer today though. can you help?

    Have you restarted your computer?
    Can you open it if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
    Can you open the profile manager? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile

  • I have an external hard drive that I have been using for years.  All of a sudden my mac will not recognize the external as a "save as" device location.  But the external does show up on my desktop and I can open it to drag and drop items. Help.

    I have an external hard drive that I have been using for years.  All of a sudden my mac will not recognize the external as a "save as" device location.  But the external does show up on my desktop and I can open it to drag and drop items.  What happened and how do I get my mac to rerecognize the device?!?!?

    Hi,
    Check Finder>Preferences>Sidebar, is it checked there to show external drives?

Maybe you are looking for

  • Can Apple please improve the approval system for application updates? I can't keep waiting months to get the latest bug fixes!

    For example why has Coda 2 not been updated to version 2.0.4? Apple needs to improve the approval system. It has now been 2 months since Apple has approved Coda 2 updates. Coda 2 is not the only application experiencing similar issues. It is embarras

  • Users and Groups displayed twice in OAM

    We have configured OID in OAM as identity server. Seems successful but I am able to see twice all the users , groups in OAM. Please give some ideas how to trouble shoot the same.

  • Photoshop Features to appear on Linux?  Please?

    Hey, Im a relative newcomer to the world of photoshop.  As a student, I like to flick between various options and alternatives.  One of the things I have found is the number of posts concerning the market potential for photoshop within a  Linux userb

  • Laptop operation slows down

      HP Pavilion dv6 Notebook PC, 6 GB RAM, 128 GB SSD, Windows 7 64 bit O/S   4/4/15 for about 5 days this laptop, after being on for a while, starts slowing down. CPU usage isn't max'd but does get up to 20+% at times. Main problem is applications whi

  • International Regional Format Inconsistent in IOS6

    In IOS5 Showing the correct behavior Steps to reproduce: 1. Go to Settings -> General -> International -> Regional Format -> (Select the desired Language (Below selected is Hindi)). Both the Numeric and Text is displayed in selected regional format.