Modifying Table of Contents webpart

I am working on a site that is using managed navigation.  the list looks something like this 
Programs
Program 1
sub program 1
sub program 2
Progam2
sub program 1
sub program 2
Program 3
sub program 1
sub program 2
Currently using table of contents I can have it display in the following ways
Program 1
Program 2
Program 3
or
Program 1
sub program 1
sub program 2
Program 2
sub program 1
sub program 2
Program 3
sub program 1
sub program 2
I want it to display the following way
Program 1
sub program 1
sub program 2
Program 2
Program 3
does anyone know how you can modify the table of contents web part in order to display this way?
Thanks

Hi,
How do you implement your requirement so far? JavaScript in a Content Editor Web Part?
I suggest you provide your code about how to display as below for further research.
Program 1
sub program 1
sub program 2
Program 2
sub program 1
sub program 2
Program 3
sub program 1
sub program 2
Here is a blog for your reference:
http://www.n8d.at/blog/retrieve-managed-metadata-using-javascript-and-spservices/
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Table of Contents webpart issue

    Hi Everyone,
    I have added a Table of contents webpart to the page(to display all lists, libraries & sub sites) and I have given the desired site url & set  "No.of levels to 3". But I am unable to see any list, library or subsites in my webpart.(Also
    I am unable to see the checkboxes "Show pages", "Show hidden sites etc.,) Please refer below screenshot
    Can any one help me what might be the issue?
    Regards,
    Kumar.

    Hi Kumar,
    Table of Contents WebPart display site contents navigation according to navigation. From the screenshot you provided, are you using Managed navigation currently? In my environment, if I use Managed navigation and insert Table of Contents WebPart, the setting
    of WebPart displays as yours.
    Please go to site settings > Look and Feel > Navigation, switch to Structural Navigation and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Modifying Table of Contents

    Is there any way to modify and edit the table of contents in Pages? I mean copying a table of contents and modifying the size and fonts etc.
    Thanks for your help!

    I've had no luck copying a TOC and pasting it anywhere as plain text in order to modify it.
    You can, however, modify or restyle a TOC. Each level of at TOC is a style, "TOC Heading 1, TOC Heading 2, etc." Put your cursor on any level of the TOC and modify the text any way you like. All other text of the same level in the TOC will change accordingly.
    To make the change stick, click on the red triangle to the right of the style name in the Style Palette and select "Redefine Style from selection."
    Good luck,
    Terry

  • Table of content level limit

    how can I display more than 3 level in a TOC webpart?
    can I just modify the xsl to achieve this?

    Hi,
    try the below link
    http://sharepoint.stackexchange.com/questions/20952/add-more-levels-to-the-table-of-contents-web-part
    Thanks, Sures | MCTS SharePoint

  • Report Generation Toolkit: Table of Contents in MS Word

    Hello forum users,
    I would like to add a table of contents to a MS Word document, using the Report Generation Toolkit.
    I couldn't find a VI in the toolkit that does that, so I tried to modify the VI "Word Insert Field.vi". Doing so, I could access a property node of the class "Word._Document"  and an invoke node of the class "Word.TablesOfContents" with the method "Add".
    As this modified VI does not belong to the private LabVIEW class "NI_Word.lvclass", it is not possible to unbundle the (type cast) "report in" wire to get the "Word._Document" class reference. I can't add the modified VI to the NI_Word class either, because it is password protected.
    There are so many methods and properties that are not used in the official Report Generation Toolkit, like this one. How can I access them?
    Or maybe there is another way to add a table of contents to a MS Word document (programmatically). Maybe I have to use a template. I rather wouldn't, though.
    Operating System: Windows 7 64bit
    LabVIEW: 2009 [9.0 (32bit)]
    Report Generation Toolkit: 2009
    MS Office: 2003 SP1
    Thank you for reading an answering.
    Solved!
    Go to Solution.
    Attachments:
    Word_Insert_TOC.png ‏68 KB

    Hello again,
    in the "Word Specific" > "Word Advanced" Palette of the Report Generation Toolkit, there is a VI called "Word Get ActiveX References" which essentially unbundles the private "report" data stream / wire. Thus, I can use the property and invoke nodes that make use of the "Add TablesOfContents" method.
    I hope, that helps other users as I didn't find too many topics on Report Generation. Maybe it's just too easy...
    Attachments:
    Word_Insert_TOC_fix.png ‏60 KB

  • How can I change the paragraph style of the Table of Contents entries themselves?

    From what I can see, all Table of Contents entries are the same font, size, indentation and layout when the book is viewed in Portrait mode on an iPad. I have long subheadings in my Table of Contents, and they get truncated!
    How can I modify the style definition of the TOC entries themselves so that they will display in a smaller font size with less indenting, etc.?

    Modifying the TOC: http://support.apple.com/kb/PH2752?viewlocale=en_US
    Have you tried altering the style of the default items on the TOC page?

  • List view of PDF Table of Contents missing

    In iBooks, PDF files can have two types of Table of Contents, thumbnail view and list view. My problem is some of my PDF files lack the list view of the table of contents.
    I'm under the impression that the list view TOC in iBooks is created from the bookmarks that exist in the PDF file before importing into iBooks. I've been successful in adding new subheadings in the TOC by modifying the bookmarks in the PDF file before installing to iBooks, so I'll be surprised if that's not the case.
    I have two files that have bookmarks in the original PDF file, but when I import into iBooks, there is no option for a list view of the TOC, only the thumbnail view. Can anyone offer any help as to why a PDF file with bookmarks won't show a list view TOC when imported into iBooks?
    While we're at it, when you tap on the TOC button in a PDF file in iBooks, it always takes me to the thumbnails view. I would prefer it default to the list view. Is there any way to do that?
    Thanks.

    There may be more user-friendly ways of doing this, but here's one way:
    Open Terminal (in the Utilities folder).
    Use "cd" to change directory to the folder you want to print
    eg cd /Users/myuser/Documents
    Use "ls" to list the contents to a file
    ls -al > filelist.txt
    You can then open the filelist.txt file from Finder in TextEdit and print it.
    Matt

  • Accessibility Tags - What to do with Table of Contents & More

    I am looking for some help and advice regarding tagging a PDF document for accessibility using Acrobat 9 Pro.
    Until now, the most I've ever done with Acrobat is create the occasional straight-text document and a few simple forms.  But my boss has asked me to tag a programming manual for accessibility and I'm a little lost.  There are a lot of both images and code samples in this text that I have no idea how to work with because the automatic tagging seems to have gone haywire.
    I downloaded the Acrobat 9 Pro Accessibility Repair Workflow document and have done the following:
    Determined that my document is not a scanned document.
    Determined that there are no forms or buttons in this document.
    Set the language to English.
    Set the document security to "no security".
    Determined that the document has bookmarks.
    Determined that the document is not a tagged document.
    Run the Accessibility Full Check.
    This is where I ran into problems--both because of the nature of the document and my own ignorance of the "making accessible" process.
    My table of contents is split up into multiple areas shown as tables but the individual items in the table are irregularly identified--I have no clue how to get them to appear correctly.  Any tips would be appreciated.  Should the Table of Contents even be a table?  I know it's called a table, but it has multiple levels and I'm just not sure what to do with it.
    There are also several tables in the document.  They appear mostly OK, but Acrobat seems to think that the tables are made up of individual figures and produces "No alternate text for Figure" errors on some of them.
    Finally, how on earth do I do text flow on code??  The code is all text, not images.
    If anyone knows anything about this whole accessibility thing I would greatly appreciate your input.
    Thank you!
    Jenn

    It may actually be faster to save it as a DOC file. The formatting may get messed up, but fixing that may be faster than doing all of the tagging you need to do. At the end, you have a document that can easily be modified in the future and recreated in PDF form. The long-term workflow should be better. My guess you will find that setting up a style sheet in WORD (or using an existing one) will be easy to use in addressing the issues. When I think of setting a bookmark in some location, I think of the work in setting just one bookmark manually in Acrobat. I think that WORD would actually be easier if the file transfer is readonably. Worth a try anyway.

  • Change the table of contents in Adobe Presenter 9

    It appears that Presenter automatically creates the tables of contents for a Powerpoint presentation based on the slide title. Is there a way to modify the name that appears with a TOC navigation without changing the slide title?
    I would also like to know if it's possible to structure the TOC so that there are main topics and sub topics. For example, in Captivate, you can modify the TOC by clicking on the arrows in the menu to push categories under one another, like an outline:
    Main Topic
         Subtopic Slide 1
         Subtopic Slide 2
    Main Topic 2
         Subtopic Slide 1 
         Subtopic Slide 2

    Presenter doesn't have the same functionality for the TOC as Captivate. There is some wizardry that can be done if you want to adjust the look of the slide list.
    Work around was discussed in this thread: http://forums.adobe.com/message/1970468#1970468

  • Nothing added to the table of contents

    I'm using the "Biography" template (portrait only) in iBooks Author. According to Help,
    "By default, the table of contents includes all paragraphs in the book that use the Heading 1 and Heading 2 style, but you can include whichever styles you like."
    So I paste some text into the first two pages of my new book. I select a line of text, show the Styles drawer, and click Heading 1 or Heading 2.
    I choose Table of Contents from the sidebar, and there's nothing added to the table of contents. I preview it on my iPad. Same problem.
    Am I doing something wrong?

    Hello Nick,
    Jquery may be help you to create own TOC and add custom links into it. Here is some ref for you:
    http://tommdaly.wordpress.com/2013/06/27/customize-table-of-contents-remove-libraries-navigation-headers/
    http://sharepointsharpener.wordpress.com/2011/09/27/quick-fix-remove-libraries-lists-from-toc/
    You may also create one custom list and add link to this list. Then get link from this list and place in webpart wherever you want.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to make table of contents in IBooks Author?

    I am having trouble with the Table of Contents in IBooks Author, I have completed successfully all the steps and pages,
    photos and widgets, but have been stuck on the Table of Contents for months.  I've Googled and searched for help,
    but either don't understand or it doesn't apply to my book.  I am trying to publish a Children's Book which really doesn't need
    the Table of Contents, but apparently they won't publish without one. 
    Please advise if you have an answer for this frustrating problem,
    thank you!

    Crafting a chapter-less book is possible, but a minimum of one section is required.
    Remove the chapter label, leave the TOC blank and you'll then have a basic/generic point from which to work with. Use the 'File/Save As Template' menu before modifying further if you want to reuse later, etc.
    Keep in mind that the default navigation means at the very least there will be a series of small dots along the bottom of the screen indicating sections, which when tapped will display thumbnails. If your book isn't doing that (landscape), try another template.

  • Format tab leader in table of contents

    I have a table of contents that uses tab leaders. There are two levels of header in the table of contents. One is bolded (major headers) and one is not (minor headers). The page numbers are not bold for any entry. For example:
    Major Header.................1
    Minor Header...........2
    Apparently if you make the header text bold, the tab leader is bold too. This means that the major headers have bolded tab leaders, and the minor headers have regular tab leaders. This makes them appear uneven. I would like to use regular, unbolded leaders for all entries, but I don't know how to modify the leader formatting without affecting the header text.

    You can override the heading style setting.
    In the major headers, type a space at the end of the text and before the tab leader begins.
    Select all of the leader and the text/nmber at the end of that line.
    Toggle Bold to Off.
    If your header levels use different type sizes, the leaders will still look different. You can also use the Size control in the format bar to match the size of the leader to that of the minor header.
    Not thoroughly checked. You may find this unstable in use, particularly if the content in this is edited.
    Regards,
    Barry

  • Another user-modified table 'Items' (ITEM) (ODBC - 2039) [Message 131-183]

    Hi All,
    Just had an issue reported by a customer. They tried to amend a UDF on an Item Master record and they can change data such as the Item description, remarks etc and update the item successfully... However, when they tried to amend the contents of the UDF's attached to the Item  the system issue the message:
    Another user-modified table 'Items' (ITEM) (ODBC - 2039) [Message 131-183]
    Any thoughts?
    Best regards
    Earl

    I figured it out
    We had a UDF name U_Discount that was set to only allow Y or N.
    In the database I had a space after the Y or N value for some of the records. I discovered it by running
    SELECT distinct [U_Discount], COUNT(*)  FROM [OITM]  group by  [U_Discount]
    No idea how the space got there, but I ran
      update OITM set U_Discount = 'N' where LEFT(U_Discount,1) = 'N'
      update OITM set U_Discount = 'Y' where LEFT(U_Discount,1) = 'Y'
    and it fixed it

  • Table of contents - layout

    Hello!
    I need to create a table of contents but I do not know how to change the layout. The table of contents has no structure:
    http://img253.imageshack.us/img253/703/tableofcontentsunstructxh8.jpg
    I have 3 types of titles. I tried to page it up manually. But after that it could not automatically be updated.
    I would like to have this structure:
    http://img444.imageshack.us/img444/6190/tableofcontentsqr3.jpg
    What should I do?
    Thank you.
    Bye
    Verena

    Reading the manual or help on how to create a TOC would be a first step, so you know how the program works....
    But to cut to the chase, you should probably go into your book file and delete your existing TOC because whatever change you made has corrupted it. It's easier to start with a fresh file than try to figure out what brokie.
    Next, Add a new TOC to the book file, and set it up to record the types of tags that you want to display. Save and update the book.
    Is your second "finished" .jpg from a file that you can open, or can you open a properly formatted TOC file? If so, open it. If not, look in your Frame templates directory for a TOC that's similar to what you want to achieve. Open that.
    In your real TOC, execute File > Import > Formats and specify the "model" TOC as your source. The only format you may want to not import are Variables. Get everything else.
    After you import the model formats, save your real TOC. In the book file, Update. Your TOC should generate with the new formats in place. From there, it should be a relatively easy job to modify the formats, a step at a time, to get to the finished product.
    Art

  • Financial Reporting Books Table of Content

    Hi,
    i've created a financial reporting book and i want to/have to insert a title page (pdf file). The table of content is always created in front of this title page. I tried to modify xml statements in the book file but there isn't a setting which defines the order of Table of Content and the other included book files. Does anyone know if there is a command to do that. Or is there somewhere some kind of style sheet where the table of content is defined?
    At least i would like to insert a Logo into the table of contet.
    Thank you for your help
    Best regards
    Tim

    After looking at this a bit more, this may or may not work so we might need to get dirty on this one .....................
    Some clues can be found here : http://www.oracle.com/technetwork/middleware/bi-publisher/bip-bookbinding-176639.pdf
    Looking at Page 7, it should be obvious that we can add additional deatils to the reports, including cover pages.
    Though, after looking at Page 8, I think I may have you slightly in the wrong direction. toc-template appears to simply cover the commands for the table of contents and there is another template to control everything. But is that file visible to edit?
    If you run FRConfig.cmd, you can find more clues.
    Go to the MBeans tab, expand com.hyperion, then expand Financial Reporting, and Attributes.
    The two attributes that immeidately jump out are TextPrintTemplate and BookTOCPrintTemplate
    - TextPrintTemplate is the FR_TextTemplate.doc file in <<EPM_ORACLE_INSTANCE>>/products/FinancialReporting/bin/ folder
    - BookTOCPrintTemplate is the toc-template.rtf file previously discussed.
    Once again, though, the other template exposed to us is most likely just driving the content and is not at a high enough definition level for this to work how you want it to.
    I would say to use the example in the PDF and try adding that to the table of contents page before it does all of the loops. Perhaps it will work from there, perhaps not.
    If that doesn't work, Thursday we can attempt to drill into this more.
    :)

Maybe you are looking for

  • I am currently running iOS 5 on my iphone 4S, is there any issue with the battery life if I update my phone software to iOS 6?

    I need help on this matter, this is the only thing that is keeping me from installing iOS 6. Also, how can I save my data, apps and other stuff that I already installed on iOS5? Also, if I create another apple ID, will my data, apps etc be lost, do I

  • Problem with ejbs in Netweaver 2004s-Class not found exception

    Hello, I have a webdynpro project(Newtweaver 2004s)  referring to a stateless session bean. I created an ejb and defined two public parts - part 1 contains EJB components and part 2 contains some Exception classes I refer to in my webdynpro project.

  • Polling in file adapter

    Hi All, i am trying to poll 2 files with the help of file adapter in 2 different proxy service in osb. my requirement is 2nd file polling will not start  untill 1st adpater sucessfully polled the 1st file present in that folder. please let me know ho

  • Midi Ringtone to Nokia 1600

    How to send a new ringtone to my Nokia 1600 ? From my PC or from anybody else more capable Mobile... I have the midi; what is the maximum size ? I didn't find lot of info about OTA SMS format :-( ! Philippe

  • Touch-slide to control timeline

    Hello! So to begin with, I am very new to Edge and programming as well. What I'm trying to create is something that allows people to "turn" an object by sliding their finger (or mouse) either left or right. The way I've seen it done is by having an a