How can I add custom toolbar buttons to load different TOCs?

In my WebHelp output, I want to have custom buttons on the toolbar that when clicked load a specific TOC in the left navigation pane. For example, when the user clicks the PC button, the PC TOC loads in the left pane. When the user clicks the VM button, the VM TOC loads in the left pane. All of the help files are managed in one project and some files will appear in both TOCs.
I think this should be possible but not sure how to make it happen. Is there some JavaScript that I should add to the custom toolbar item to load the TOC on click? How do I specify the TOC that I want to show for each button?
BTW - I'm using RoboHelp 8 (8.0.2) to generate WebHelp output. Thanks in advance for your help!

Hi there
If you were to upgrade to RoboHelp 9 it would simplify your issue. Version 9 offers a new feature called Dynamic User-Centric Content (DUCC) and provides a nifty little drop-down selector in the Navigation Mini-toolbar.
As you are on version 8 the only way I can fathom you would manage this is by generating two different outputs. Each output would use its respective TOC. The Toolbar button in each project could be configured to open the other project.
You might first decry having to manage two outputs and all the files. But if you pick apart DUCC and the way it is configured by Adobe, it works in much the same manner. It's just hidden from your initial view.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks

Similar Messages

  • How can I add a review button on my podcast

    How can I add a review button on my podcast, so I can see it on my iphone or itouch?

    You must create a custom signature.
    Find a guide here

  • How can i add Facebook likes button on my mac mail?

    How can i add Facebook likes button on my mac mail?

    You must create a custom signature.
    Find a guide here

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • How can i add Custom fields into the

    Dear Experts
    We have Ecc6.0 system,
    How can i add Custom fields into the Infotype Screen(PA30),i heard that we do it by PM01 Tcode.
    But in PM01 i am unable to find the enhance infotype tab.
    How can i do it ....pls help.....
    Regards
    Sajid

    Hi,
    Do it thru the third tab : Single Screen.
    There write down the infotype number (e.g. 0022) and say generate objects.
    Regards,
    Dilek

  • How can i add the dimensions and data loading into planning apllications?

    Now please let me know how can i add the dimensions and data loading into planning apllication without manuallly?

    you can use tools like ODI or DIM or HAL to load metadata & data into planning applications.
    The data load can be done at the Essbase end using rules file. But metadata changes should flow from planning to essbase through any of above mentioned tools and also there are many other way to achieve the same.
    - Krish

  • HT5649 how can you add a previous playlist from a different apple Id  both belong to the same person

    how can you add a previous playlist form a different apple ID, both belong to the same person

    It's ok to share the same AppleID for iTunes.  Use Separate ID's for iCloud, iMessage, and Facetime. 

  • How can I add customer's information?

    I can add user to the wlcs_user table with jsp now .
    <um:createuser.............>
    But
    1. How can I add user to customer with jsp?
    2. How can I add user's information eg:cardid,e_mail,address etc) with jsp?
    which table these information will put into ?
    Thank in advance.

    I can add user to the wlcs_user table with jsp now .
    <um:createuser.............>
    But
    1. How can I add user to customer with jsp?For WLCS 2.0.1, look at the example code that came with the MyBuyBeans demo in
    <wlcs-install-dir>/src/examples/buybeans/client
    In particular, look at UserInformation, which is used to collect information
    for your Customer and look at RegistrationHelper, which has a
    register(userInformation) method that is used to create a new Customer.
    For WLCS 3.1 the Customer extends User, so that the Unified User Profile (see
    the documentation) can be used to easily integrate customers with WLPS users.
    2. How can I add user's information eg:cardid,e_mail,address etc) with jsp?
    which table these information will put into ?Look at _userreg.jsp.  These are properties that have not been registered with
    the "exampleportal" property set using the administration tool, so you cannot
    set them with the administration tool. You must use JSP tags or the API to set
    them.
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • How can i add custom document properties in Content Services?

    Hello guys.
    I have question. I need to add custom attributes of document uploaded in CS.
    I know about categories, and it will help me.
    But i need it on the properties page? in main tab, where docname, creationdate, etc. appears. Is it possible?
    Ideally it should appears in main window of CS, without any additional clicks.
    Is there any way organize it without development new Web Services?
    Thank you.

    One possible way of doing this would be to use the $A mapping in the send_access mapping table. see http://docs.iplanet.com/docs/manuals/messaging/ims52/ag/filter.htm#15965
    This will depend on what value you wish to use in the header and when and where during the message routing you want to add the header.
    You can use channel level filters on the send_access or orig_send_access mapping table to control at which point the header is added but without knowing more about what you wish to do and which conditions you wish to use to add the header it is difficult to say more. It is possible to use a "customer supplied routine (in the form of a shared object call) from the mapping process, but during the mapping process the only information available to the routine is the sender and recipient info so that probably isnt suitable for your purposes.
    Another method of header manipulation in IMS is channel header option files but these should be used with caution and will only operate on "known" headers and as a result are probably not of too much use to you either.
    The conversion channel does have access to the original message headers http://docs.iplanet.com/docs/manuals/messaging/ims52/rm/mta_conf.htm#1044412
    but Im afraid I cant point you at an example of where it has been used like this - perhaps someone else can.
    WRT moving the message to the top of the message list - I presume this is from the clients perspective - How did you accomplish this in NMS as message views and sorting are almost exclusively a client responsibility ?
    Also have you looked at the ENS service available with IMS?
    Sorry I cant offer anything more than that but without knowing what functions your previous SMTP plugin performed its a bit difficult.
    Ciaran

  • Can't add a toolbar button in a overlay extension

    Hello, I'm having trouble adding a button to the main toolbar.
    I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear.
    What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example:
    http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it
    The only difference is that the iframe needs to load an html file packaged with the extension and not some external source.
    I'd also like to add the button by default to the toolbar but I need to get the button working first.
    You can download a copy of the extension here:
    https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi
    I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way.
    Any help would be greatly appreciated.

    hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!
    https://forums.mozilla.org/addons/viewforum.php?f=7

  • How so i add a submit button to send different forms to different emails?

    Im looking to add a submit button to the forms i create. I would like different forms to be sent to different emails. How do i do that?

    Hi Bobby ,
    For adding a button follow these steps ,
    Tools>Interactive Objects>Add Button>Select the area where you want the button and you will see a small dialog box along with that button option you would have created .Click on 'All Properties' option and in the next dialog box  customize the various button properties as per your convenience .The Action tab will help you select the preferred action you want for a particular button .
    Please go ahead and give it a try and write us back with your feedback.
    Regards
    Sukrit Dhingra

  • How can i add or get a value in different rows like a condition

    Hi all,
    this is the example of some records in my flat file of a survey,
    Cliente- question - Answer
    1 - 1 -5
    1 - 2 -5
    1 - 3- 5
    2 - 1- 5
    2 - 2- 4
    2 - 3 -5
    i need count the clients who has answered in the three questions the answer 5, for example the client number 1 , the number 2 not because in the question number 2 he answered 4, how can i do this to count them in the query or in the load?, help

    If you wanted this to be done at the back end.. You can definitely do it with Routine Logics in place. (Let me know if you are planning for this?)
    In Case you want to handle it at query level,
    I hope the Answer and question are just numbers (Key Figures). The Client field needs to have restrictions based on Question and Answer as well as we need a Input Screen Variable that controls the value in Answer.
    The Question restriction should contain all the 3 values (1, 2 and 3). While executing the query the restriction on Answer should be there on the Input Screen where you can enter '5'. At the execution of this query definitely you will find only the clients that had the answer as 5 for all the three questions..
    Hope this helps!!

  • How can I show addon toolbar buttons on Android?

    More specifically, I'm using Firefox on an Android tablet and I want to use Adblock Edge to block a specific element on a page. On desktop, I'd just use the button in the toolbar, but I can't figure out how to access that on Android, or find any way to do what I want.

    Specific functionality about an extension should be directed to the developer of the extension. https://bitbucket.org/adstomper/adblockedge/issues?status=new&status=open

  • Can we add custom print button to crystal report launched using jsp

    Hi,
    I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
    Thanks

    Are you using Crystal Reports for Eclipse?  If so, there is a new version out that suports Excel exporting:
    /people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

Maybe you are looking for

  • Registrations for certain software are not being recognized by my Imac.

    Registrations for software that require web based verifications are not being recognized by my iMac 27 2010 10.6.8  Included in the list of software that I have been using for some over a year now is FCE 4, Bias Peak, and Sibelius, and iRealb from th

  • Data sync to external SQL from Access Web App

    Hi all Am I dreaming or does creating a table in an Access Web app based on an external SQL Azure database table (not the intrinsic one) end up being an import not a sync?  It doesn't even seem to update when i open the external table and refresh it?

  • CATS substitution for approval

    Hi Team, Need your input. For instance, a manager wants to put substitution to another employee for  approving Overtime entries in CATS as he is going on leave. Is it possible? Workitems can be substituted but not sure about CATS Regards, Vivek

  • Passing date to procedure

    Hi All, I have one scenario where I have to fetch the data from multiple tables and write it onto the spool file like. set pagesize 9999 create or replace procedure p1 as sd date:='&Start_date'; ed date:='&End_date'; a number; b number; c number; d n

  • Cannot parse data from xml

    I am trying to obtain strings from a xml file: I tried the following: var url:URLRequest = new URLRequest("blog.xml"); var xml:XML; var rss:URLLoader = new URLLoader(); rss.load(url); rss.addEventListener(Event.COMPLETE, readRss); function readRss(e: