Skip to main content

Home/ Microsoft SharePoint Tips & Tricks/ Group items tagged property

Rss Feed Group items tagged

trimantra

Get Sharepoint Term's Custom Local Property values (Client Object Model) | Trimantra Blog - 0 views

  •  
    We can get values of Custom local properties of Term using Client Object Model. Register following files on your page: <SharePoint:ScriptLink ID="spPage" Name="sp.js" LoadAfterUI="true" Localizable="false" runat="server" /> <script type="text/javascript" src="../../../_layouts/15/SP.Taxonomy.js"></script>   Js code to get Custom Local Property values: $(document).ready(function () { SP.SOD.executeOrDelayUntilScriptLoaded(loadAllTerms, 'SP.Taxonomy.js'); }); //loads all existing terms function…
  •  
    We can get values of Custom local properties of Term using Client Object Model. Register following files on your page: <SharePoint:ScriptLink ID="spPage" Name="sp.js" LoadAfterUI="true" Localizable="false" runat="server" /> <script type="text/javascript" src="../../../_layouts/15/SP.Taxonomy.js"></script>   Js code to get Custom Local Property values: $(document).ready(function () { SP.SOD.executeOrDelayUntilScriptLoaded(loadAllTerms, 'SP.Taxonomy.js'); }); //loads all existing terms function…
trimantra

Get Sharepoint Term's Custom Local Property values (Server side) | Trimantra Blog - 0 views

  •  
    We can get values of Custom local properties using server side code. There is no direct way to get custom local from terms. For that we need to do manual coding which is as follow:   /// Get Custom Local Property values of particular term. private void GetCustomLocalPropertyValues(Term term) {…
  •  
    We can get values of Custom local properties using server side code. There is no direct way to get custom local from terms. For that we need to do manual coding which is as follow:   /// Get Custom Local Property values of particular term. private void GetCustomLocalPropertyValues(Term term) {…
1 - 2 of 2
Showing 20 items per page