Retrieve taxonomy terms maintaining the hierarchy(sub terms) using JSOM

I believe the title is self explanatory .
I've tried SPServices but it results in to many round trips as the number of terms and sub-terms increases.
THe whole idea behind using term set it to set up an Global Navigation (having sub menus )across site collections.

Please find the below links
http://sharepoint.stackexchange.com/questions/103430/sharepoint2013-taxonomy-get-all-child-term-of-a-specific-parent-term-using-jsom
http://sharepoint.stackexchange.com/questions/78514/accessing-terms-in-term-store-using-jsom-in-sharepoint-2013
http://cann0nf0dder.wordpress.com/2013/04/09/accessing-taxonomy-term-store-with-jsom/

Similar Messages

  • How to maintain the Alert History by using OWN Tables

    Hi,
    In BAM defalut alert "History" table having limited number of columns.
    But i want to maintain more informations about alerts so is there any other way to maintain the by using OWN alert history Table.
    Thanks and Regards,
    kash

    No you cannot maintain your own history tble.
    The only columns available are the ones displayed in the alert history data object.
    Apart from this no other information will be available.
    Alternatively you can create another Data object and create a look up field pointing towards the alert history label based on a particular key.
    If the key matches then the data from the alert history DO will be pulled into this DO.
    To this DO you can add your own columns and populate them with your own data.

  • Retrieve data from Notes with append only attribute using jsom

    How can I retrieve the data in a Notes field which has the "Append Only" attribute set to TRUE, using the SharePoint jsom api?

    Hi IH20,
    You can use SPServices to get the version values of the note field:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Maintain the link node in a hierarchy

    Hello,
    I have loaded 2 hierarchies H1 and H2 from ERP system and maintained a hierarchy Z in BW consists of H1 and H2. The node names are exactly the same of the 2 loaded hierarchies. Now I want to maintain the “link node flag” for the 2 nodes H1, H2.
    When I maintain the hierarchy this field is only displayed (and it is blank).
    How can I change this field to ‘X’.
    Thanks!

    Hi
    Did you solve this? Im facing the same problem
    Thanks!

  • How to get the hierarchy in update rules

    i want to update the material hierarchy to the open hub data file
    i create a update rule(transformation)
    and i want to get the node name at the last level of the hierarchy tree above the material level
    how can i do this?

    no
    for example
    now we have maintain the hierarchy of material like this:
    026(level 1)
    -026/100(level 2)
    -026/200(level 2)
         |-026/20010(level 3)
         |---800501234(level 4)
    in this hierarchy tree,the material 800501234 is in the level 4
    and i want to get the last level hierarchy node above the material
    for 800501234,the hierarchy node is 026/20010
    so
    i want to export the data like this:
    hierarchy id      |        material
    026/20010        |        800501234
    how can i do this?
    Edited by: Yang Zelphar on Mar 25, 2009 5:03 AM
    Edited by: Yang Zelphar on Mar 25, 2009 5:04 AM

  • I don't get email on my iPad, but I can get it on my laptop so itwifi. How do I retrieve my mail on the iPad?

    I don't get email on my iPad, but I can get it on my laptop so it is not a problem with my wifi. How do I retrieve my mail on the iPad? I used to be able to...

    Try either rebooting ur device, signing out, then signing back in or try : https://ssl.apple.com/emea/support/itunes/contact.html (if this works, please click on "this solved my problem) thanks

  • Can CDC enabled database DIFF backups be RESTORED while maintaining the CDC integrity?

    We tried restoring FULL + subsequent DIFF backups of a CDC enabled database to a different SQL server and found that the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
    Can someone please guide us on how to successfully restore the CDC enabled database backups(FULL + DIFF) while maintaining the CDC integrity?
    Note: SQL Server Version: SQL Server 2012 SP1 CU2

    Hi YoungBreeze,
    Based on your description, I make a test on my computer.
    Firstly, I create a database named ‘sqldbpool’ , then enable the
    Change Data Capture (CDC) feature and take full+ differential backups of the database. Below are the scripts I used.
    -- Create database sqldbpool
    CREATE DATABASE [sqldbpool] ON PRIMARY
    ( NAME = N'SQLDBPool', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLDBPool.mdf' , SIZE = 5120KB ,
    MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
    LOG ON
    ( NAME = N'SQLDBPool_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLDBPool_log.LDF' , SIZE = 3840KB ,
    MAXSIZE = 2048GB , FILEGROWTH = 10%)
    GO
    use sqldbpool;
    go
    -- creating table
    create table Customer
    custID int constraint PK_Employee primary key Identity(1,1)
    ,custName varchar(20)
    --Enabling CDC on SQLDBPool database
    USE SQLDBPool
    GO
    EXEC sys.sp_cdc_enable_db
    --Enabling CDC on Customer table
    USE SQLDBPool
    GO
    EXEC sys.sp_cdc_enable_table
    @source_schema = N'dbo',
    @source_name = N'Customer',
    @role_name = NULL
    GO
    --Inserting values in customer table
    insert into Customer values('jugal'),('shah')
    -- Querying CDC table to get the changes
    select * from cdc.dbo_customer_CT
    --Taking full database backup
    backup database sqldbpool to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\sqldbpool.bak'
    insert into Customer values('111'),('222')
    -- Querying CDC table to get the changes
    select * from cdc.dbo_customer_CT
    --Taking differential database backup
    BACKUP DATABASE sqldbpool TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\sqldbpooldif.bak' WITH DIFFERENTIAL
    GO
    Secondly, I restore the ‘sqldbpool’ database  in a different SQL Server instance with the following scripts. After the restoration, everything works as expected and the database maintains the CDC integrity.
    Use master
    Go
    --restore full database backup
    restore database sqldbpool from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\sqldbpool.bak' with keep_cdc
    Restore Database sqldbpool From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\sqldbpool.bak'
    With Move 'SQLDBPool' To 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLDBPool.mdf',
    Move 'SQLDBPool_log' To 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLDBPool_log.LDF',
    Replace,
    NoRecovery;
    Go
    --restore differential database backup
    restore database sqldbpool from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\sqldbpooldif.bak' with keep_cdc
    --add the Capture and Cleanup jobs
    Use sqldbpool
    exec sys.sp_cdc_add_job 'capture'
    GO
    exec sys.sp_cdc_add_job 'cleanup'
    GO
    insert into Customer values('TEST'),('TEST1')
    -- Querying CDC table to get the changes
    select * from cdc.dbo_customer_CT
    When we restore a CDC enabled database, we need to note that the CDC feature is available only on the Enterprise, Developer, and Evaluation editions of SQL Server. And we need to add the Capture and Cleanup agent jobs after restoring the database.
    For more details about restoring a CDC enabled database in SQL Server, you can review the following similar articles.
    Restoring a SQL Server database that uses Change Data Capture:
    http://www.mssqltips.com/sqlservertip/2421/restoring-a-sql-server-database-that-uses-change-data-capture/
    CDC Interoperability with Mirroring and Recovery:
    http://www.sqlsoldier.com/wp/sqlserver/cdcinteroperabilitywithmirroringandrecovery
    Thanks,
    Lydia Zhang

  • Clearing Bank Sub-account using F-03 creates FX diff for FX invoice

    I make payments in foreign currency with my online FX provider.
    I enter the invoice (FB60) in foreign currency (eg IDR 200,000,000).
    I then clear the invoice with a payment (F-53) again in foreign currency (eg IDR 200,000,000), overriding the SAP generated OB52 FX rate to match the FX rate that was actually used when purchasing the IDRs to make the payment.
    The withdrawal from our bank account (eg AUD 25,000) is posted via FF_5.
    The local currency amount of the Payment is the same. (eg AUD 25,000)
    Viewing the bank sub-account in FAGLL03 shows a debit and a credit of AUD 25,000.
    When I manually clear the bank sub-account using F-03, I set the currency to the local currency (AUD).  The amounts from the payment side now appear as different AUD amounts.
    I select the transactions that I want to clear.  There is a balance which becomes zero when you toggle between Clearing Currency and Local Currency when you click the "Clearing Curr <> Local Curr" button.
    I am forced to charge off the Clearing Currency difference and enter an FX gain or loss item. 
    When I simulate, SAP automatically generates offsetting FX gain or loss items.  They have Document Currency AUD zero amount, Local Currency AUD non-zero amount and post to the Cost Centre that the original expense was posted to on the FB60 invoice. 
    Is there a way to avoid these FX transactions as all I'm doing is a clearing for bank reconciliation purposes on amounts that are the equal?  There is no actual FX gain or loss.

    Hi,
    When you select open items within clearing procedures, the amount in local currency is recalculated as at the translation date/clearing date from the foreign currency amount.
    The solution is we have to set flag u2018No exchange rate differences for clearing in local currencyu2019 through SAP Configuration (Transaction code: OBY6).
    Regards,
    Krishna Kishore

  • For pAyment Terms Changes , where we can maintain the relevant Enteries

    Hi Gurus,
    My Query - For Payment Terms where we can Maintain The Relevant enteries other than Customer Master from FI point of view.
    pls guide me in this..
    Thanks in Advance
    poonam

    Hi Poonam,
    Payment term we are maintaining in customer master in two places.
    1) - Company code data page --> On payment transaction tab --> This is for FI
    2) - Sales area data page --> Billing document tab --> This is for SD
    Hope it helps,
    Regards,
    MT

  • Help I have 'lost' my downloads icon from the dock. Can I retrieve it? If so please describe how, using simple terms

    Help I have 'lost' my downloads icon from the dock on my desktop Mac. Can I retrieve it? If so please describe how, using simple terms. I have tried searching folders, finder and trash

    Your Downloads folder should be in your Home folder. Just drag it to the Dock.
    If you've managed to delete it, try creating a new folder called 'Downloads'. You will probably need to nominate it in Safari or any other browser preferences as your download destination. (Safari Preferences>General, 'Save downloaded items to:' menu)

  • Display the entire path to the term in the field option programmatically

    hi,
     I am having hundreds of doc libs with a  taxonomy column .now i want to change the property diaplay format:
    Display the entire path to the term in the field option, programmatically.
    can anyone pls help how to achieve this. i am thinking of writing  a consoel appln which iterates through all the sub sites on my site collec and  all doclibs and want to access this taxonomy columns and change this  display format .
    but i am stuck with whats the property responsible for this.
    help is appreciated! 

    hi Benjamin,
    Please try IsPathRendered Property of the taxonomy field. It is a Boolean field which related to display format of a taxonomy field.
    FALSE - Display term label in the field
    TRUE - Display entire path of the term in the field
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfield.ispathrendered(v=office.14).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Sales order block for MRP run when the Customer payment terms is in Advance

    My client needs to block some sales order for MRP which customer payment term is advance. But it should be based on the customer payments terms (In case of Advance). After getting his advance amount, we would be release it and it also be consider for MRP.
    Option 1.Status profile  this concept is will controlled by sales document controls VOV8 not by customer's payment term Advance
    Option  2: In CMR sales area Billing Document tab  by using payment guarantee procedure and in VOV8 in billing tab Payment guaramtee procedure by using this setting , i am getting a pop up message" No Finanical document assigned" in sales order when u try to save. Now sales order is blocked for delivery but not MRP run.
    i am to ask the abaper to develop "here in the information box we will maintained required text say example u201C customeru2019s Payment term is in advance please check the reason for rejection number u201Csay ex: 13u201D: advance " after this is happen go to change mode of sales order put reason for rejecation" now MRP run will not generate the requirement for the sales order.
    for Undo these this flow :
    Va02 : remove the reason for rejection keep it in Blank
    VKM3 : release the sales order.
    Options 3: Development 
    Kindly suggest me the second options is only alternative for solving this issue but really i m not used specific feilds to solving this issue.

    Cleint is not using the field  in CMR Payment granatee , i gone for user-exit and closed this issue

  • Miro payment terms on the based on the vendor master payment terms

    i need to caluculate the MIRO payment terms based on the vendor master payment terns lfb1-zterm
    what are the configuration settings needed.
    would  u please tell me the solution
    with regards,
    Srinivas

    Hi,
    If you have maintained the payment term in the Purchase Order, it will overwrite the payment term which is maintained in the Vendor Master. If no payment term is maintained in the PO, then the payment term which is maintained in the Vendor Master will be considered.
    Regards,
    Amit

  • Payment terms to the PA.

    Hi
    I need to bring the characteristic : Payment terms to the PA.
    How should I do it (step by step please...)

    Hi
    The only way to transfer billing document number directly to corresponding CO-PA characteristic is an assignment in table TKEZU.
    At the point of the billing documents creation (when the profitability segment gets determined) only structures KOMP/KOMK will be provided by SD; so you need to assign the desired KOMP/KOMK-field to the corresponding CO-PA characteristic in table TKEZU. TKEZU can be maintained with SM30.
    In your case in think it will be KOMK-BELNR
    Once you get BELNR, then bring ZTERM from TABLE LOOKUP VBRK Table
    br, Ajay M

  • Correct term for the Safe attribute in creating New Managed Property

    Hi,
    I'm creating a new managed property through Powershell and XML. I need to set the Safe attribute to true. Do you know the correct term for the Safe attribute? I have tried "Safe" and "SafeForAnonymous" but still didn't worked.
    <Property ManagedName="ArticleStartDateOWSDATE" CrawlName="ows_q_DATE_ArticleStartDate">
          <Crawl Category="SharePoint" PropSet="ed280121-b677-4e2a-8fbc-0d9e2325b0a2"  Variant="31" IsEnum="false" />
          <Managed Type="1" Queryable="true" Refinable="false" Retrieve="true" FullText="false" RemoveDup="false" Respect="false" Multi="false" sortable="true"
    WordBreaker="false" SafeForAnonymous="true"/>
        </Property>
    Regards,
    Napster

    Hi Napster,
    How do you create managed metadata with PowerShell?
    If you use PowerShell cmdlet New-SPEnterpriseSearchMetadataManagedProperty to create a new custom Managed Property, both parameters
    -Safe $true and
    -SafeForAnonymous $true could work, and ManagedPropertyInfo has property SafeForAnonymous, so it should be better to use SafeForAnonymous.
    Please try to get the correct attribute name and value from XML file, then pass it to the PowerShell cmdlet  New-SPEnterpriseSearchMetadataManagedProperty parameter -SafeForAnonymous, then check results again.
    Here are some useful articles about this topic you can take a look.
    http://blog.kuppens-switsers.net/sharepoint/creating-managed-crawled-properties-using-powershell/
    http://sadomovalex.blogspot.com/2014/02/powershell-script-for-creating-and.html
    http://technet.microsoft.com/en-us/library/ff608089(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.administration.managedpropertyinfo_properties(v=office.15).aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • Adobe Acrobat Pro X will not open PDFs

    Hello, My Adobe Acrobat Pro X will not open PDFs.  This happens twice a month and is becoming extremely irritating.  I have tried uninstalling, reinstalling, repairing and a system restore.  What can I do to make this problem go away? Thank you.

  • How to create an auction website using Action Script 3

    I want to develop an auction website for a flash assignment but I don't know how to go about doing it. Can I get some suggestions?

  • How to exe OS command from sqlplus

    I used to exe OS command with ! in sqlplus in older version of Oracle. I just installed 10g Express and I tried !dir, and got the following error: SQL> !dir SP2-0042: unknown command "!dir" - rest of line ignored. Did I do something wrong?

  • Tiembla la pantalla de mi 4s por momentos, como puedo solucionarlo?

    Tiembla la pantalla de mi 4s por momentos, ¿porque será y como puedo solucionarlo? Gracias

  • MMS alerting from another tree

    Hi, Is it possible for my MMS server in one tree to monitor servers in another tree? I've set it all up and even created a rule (ZfS7) to trigger all alerts for the host address in the remote tree but it doesn't appear to be working? All IP traffic i