Add page to navigation term programatically

hi friends
i need to add a page to navigation termset in termstore with friendly url programatically 

Hi,
you can use server object model for this like 
NavigationTerm term = navigationTermSet.CreateTerm("MyTerm", NavigationLinkType.FriendlyUrl, Guid.NewGuid());
term.FriendlyUrlSegment.Value = "MyTerm";
term.TargetUrl.Value = "~site/url to page";
termStore.CommitAll();
http://pholpar.wordpress.com/2011/03/03/a-more-developer-friendly-way-of-programmatically-creating-sharepoint-2010-external-content-types/
http://karinebosch.wordpress.com/2013/12/13/programmatically-provisioning-a-term-set-for-navigation/

Similar Messages

  • Determine current Page's Context Navigation Term using server object model

    I am trying to find a way to figure out the navigation term in the context of page processing that was requested through a friendly url.  I cannot seem to locate anything on MSDN.  The only similar functionality i see is using CSOM via _spFriendlyUrlPageContextInfo.
     

    Hi,
    Please refer to the following article, it has information how to get the friendly URL
    How to get friendly URL of the current page in Sharepoint programmatically
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • I am creating an I-Web webpage.  When I add pages, the only way to navigate throught the pages is with the menu bar on the left.  How do I navigate to each page on the actual website?

    I am creating a website using i-web.  When I add pages, they appear at the top of the webpage, but I cannot navigate to each page in the navigation bar.  I can only navigate in the menu bar located on the left side of the program.
    How do I navigate thru the website?

    You don't unfortunately, iWeb though great does not allow that funtion.
    If it is a deal breaker for you I would suggest SandVox or RapidWeaver.
    I personal like SandVox
    How ever my website is WordPress, you have to understand a little code, but a lot more freedom
    LearnFromLee
    I may receive some form of compensation, financial or otherwise, from my recommendation or link. <Edited by Host>

  • Page numbers navigation bar instead of the standard first-next-previous-last

    I want to add page numbers to my navigationbar instead of the standard "first next previous last".
    For example I have a repeat region with a navigation bar (standard) I have 7 records per page and I would like it to say at the bottom:
    1 2 3 4 5 ect. Is there any way I can code this up with php or with dreamweaver or is there an other way to do this.
    Any help welcome

    You can do it in DW
    Add the below code
    <div class="pages">
    <ul>
    <li class="prev"><a href="#">&laquo; Previous</a></li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li class="ellipsis"><strong>&hellip;</strong></li>
    <li><a href="#">6</a></li>
    <li class="current"><strong>7</strong></li>
    <li><a href="#">8</a></li>
            <li class="ellipsis"><strong>&hellip;</strong></li>
    <li><a href="#">14</a></li>
    <li><a href="#">15</a></li>
    <li class="next"><a href="#">Next &raquo;</a></li>
    </ul>
    </div>
    style it as
    .pages{display:block; width:100%; text-align:center; clear:both; font-family:Verdana, Geneva, sans-serif;}
    .pages ul{margin:0; padding:0; list-style:none;}
    .pages li{display:inline;}
    .pages strong{font-weight:normal;}
    .pages .next{margin:0;}
    .pages a,.pages .current strong, .pages .ellipsis strong{display:inline-block; padding:2px 6px; margin:0 2px 0 0;}
    .pages a{border:1px solid #DFDFDF;}

  • Add page numbers to a document in Pages

    How do I add page numbers to a document in Pages on the iPhone?

    When I tap the spanner I don't see Document set up.
    I see this:

  • How do I add page numbers to my document without the page numbers automatically changing. I do not want the page numbers the software automatically places into my document.

    How do I add page numbers to my document without the page numbers automatically changing? The title page is blank, I can type in 1 on the 1st typed page, but the #1 automatically goes into the next page and will not change.

    Click at bottom of the first page:
    Menu > Insert > Section break
    Click somewhere in the 2nd page (not the header/footer)
    Inspector > Layout > Section > Page Numbers > Start at 1 > Configuration > uncheck use previous headers and footers
    Click into the header or footer of the second page:
    Menu > Insert > Auto Page Numbers…
    If there is anything in the header or footer on the first page that you don't want just select it and delete it.
    If you really wanted to manual place page numbers on each page you will have to use a section break between each and every page. I can't imagine that would be useful.
    Peter

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • How to add page numbers to a PDF in Adobe but maintain the ability to convert to a PDF/A

    I have an PDF in adobe that I am able to convert into an adobe PDF/A document. However, when I use the header/footer option to add page numbers to the document it is no longer able to convert to a PDF/A document. How can I add page numbers and still be able to convert the document to a PDF/A?

    The report says:
    Fixups
    Convert to PDF/A-1a (1 object)
    Make document XMP Metadata compliant with PDF/A-1 (77 objects)
    Flatten transparency (high resolution) (1 object)
    Discard hidden layer content and flatten visible layers (1 object)
    Remove document structure compression (1 object)
    Remove document structure compression (1 object)
    Recompress LZW as ZIP (1 object)
    Convert color to sRGB (486124 objects)
    Results (Summary)
    Error
    Layers used
    Marked entry in MarkInfo not set to true
    TrueType font has differences to standard encodings but is not a symbolic font (313 matches on 313 pages)
    When you look at the specific comments on the pages the page numbers are highlighted and they specific comment is: (on per each page number. the page numbers start on page 27)
    TrueType font has differences to standard encodings but is not a symbolic font
    Page 27: Arial 12.0 pt TrueType embedded RGB (ICC) (0.0/0.0/0.0)  overprint: off
    Some PDF-based ISO standards require that a TrueType font must not define any differences from standard encodings (e.g. MacRoman or WinAnsii) if it is not a symbolic font.

  • How to add page numbers in Numbers?

    How to add page numbers in Numbers?
    Is there a simple way like in Excel? Thanks.

    In Numbers '09, use Insert > Page Number
    Place the page number in a page header, and it will appear on each age when in Print View and when the file is prnted.
    May have changed in Numbers 3 (current version).
    Regards,
    Barry

  • How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file?

    How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file? I could not find this option under Preferences tab? Thanks

    Hey there,
    Thanks for your reply. That works for the files I do what you said. However, for files I have not done that, It still shows the navigation bar. Any idea, how to do it default for any files?
    Thanks agian

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • How do I add page numbers on a Pages doc.?

    How do I add page numbers on a pages doc.?

    It won't work in Layout mode documents but in Word Processor documents:
    1. Add a Textbox and move it to the top right, turn off Textwrap
    2. Insert a page number in the box
    3. Select the Textbox: Menu > Arrange > Section Master > Move Objects to Section Master/Make Master Objects Selectable
    4. Insert a Section Break on each page. It has to be a Section break otherwise editing the Master Objects will repeat on previous pages.
    Peter

  • How to add pages in Dreamweaver without opening new file??

    Hey there everyone
    I just wanted to know if and how i could add pages in Dreamweaver rather than having all different files.
    Thanks

    I want to have a main page which is used for every page but only slights differences are made i.e. there will b a box in the middle which will change as pages change. and thats all, i don't want anything else 2 change.

  • How do I add page numbers to a document in Pages 5.2

    How do I add page numbers  to a document in Pages 5.2?   I'm sure there's some way to do this but it's less obvious than in the previous version of Pages.

    Click on one of the Header or Footer fields and you will get a pop-up asking if you want to add page numbers, and a choice of formats.
    You also may use Insert > Page Number.
    Jerry

  • Can users add page to pdf?

    Is it possible to have users add pages to a pdf as needed? We are having applicants fill in a pdf application. Some of them only need one copy of page 3 to tell us their work history, but some of them need 5 copies of page 3. Is it possible for the user to add more copies of a specific page as needed? The users will likely not have any sort of pdf software.

    Only if they have a copy of the full Acrobat and not Adobe Reader.
    You can use a hidden template to spawn new pages but only with Acrobat.
    If you use LiveCycle Designer, you can use master pages to add a new page.
    How are the canidates going to return the form or information back to you?

Maybe you are looking for

  • Final Cut Pro 10.1.1 and older iMac

    Final Cut Pro 10.0.9 runs very well on my 2008 iMac & Snow Leopard. Will there be any problems running FCP 10.1.1 & Mavericks on this computer?

  • ALV object in Web dynpro ABAP

    Hi All, I want to include ALV object in web dynpro ABAP, instead of a table in a window. I have SAP Version 4.6 as backend. Pl help.

  • Grep style to remove space in table cells?

    CS5.5 I am working on an annual report - lots of tables, and for some reason a space appears before the content of everty text cell. (Left-over from Excel). I have tried to define a Grep style to remove the space at first in every cell. Can you help

  • How do I register an iphone5 number to work on my ipad

    How do I register an iphone5 phone number to work for i-messaging on my ipad mini 2 ?

  • Discrete Mfg

    Hi Gurus I m very much new in the world of Oracle Apps implementation. I got a responsibility of implementing discrete Manufacturing module for one of our client. I m looking for a basic setup plus transactional level guidlines that can help me in im