SharePoint 2010 JavaScript Intelligence help
SharePoint 2010 JavaScript Object Model
JavaScript Intelligence
1. Include the following lines in at the top of the JS file.
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\MicrosoftAjax.js" />
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.debug.js" />
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.Core.debug.js" />
3. Include the following lines in at the top of the Visual Web Part
//actionmenu.js
//ajaxtoolkit.js
//bitreeview.js
//blank.debug.js
//blank.js
//CUI.debug.js
//CUI.js
//cuixas.js
//datepicker.debug.js
//datepicker.js
//entityeditor.debug.js
//ENTITYEDITOR.js
//EwaBrowserCompat.js
//EwaMenu.js
//EwaMoss.js
//EwrTreeView.js
//excelpicker.js
//FieldEditor.js
//GanttScript.debug.js
//GanttScript.js
//GroupedItemPicker.debug.js
//GroupedItemPicker.js
//HierarchyTreeView.js
//htmlmenus.js
//ImportingContent_ClientScripts.js
//INPLVIEW.debug.js
//INPLVIEW.js
//JsGrid.debug.js
//JsGrid.Gantt.debug.js
//JsGrid.Gantt.js
//JsGrid.js
//kpilro.js
//MDN.js
//MediaPlayer.js
//MicrosoftAjax.js
//NavResizer.js
//PickerHierarchyControl.js
//portal.js
//profilebrowsercontrol.js
//Ratings.js
//ScriptForWebTaggingUI.js
//Search.js
//SelectSourceRepository_ClientScripts.js
//Serialize.js
//Silverlight.js
//SocialComment.js
//SocialData.js
//SocialTag.js
//SP.Core.debug.js
//SP.Core.js
//SP.dateTimeUtil.debug.js
//SP.dateTimeUtil.js
//SP.debug.js
//SP.Exp.debug.js
//SP.Exp.js
//SP.js
//SP.Ribbon.debug.js
//SP.Ribbon.js
//SP.Runtime.debug.js
//SP.Runtime.js
//SP.UI.Admin.debug.js
//SP.UI.Admin.js
//SP.UI.ApplicationPages.Calendar.debug.js
//SP.UI.ApplicationPages.Calendar.js
//SP.UI.ApplicationPages.debug.js
//SP.UI.ApplicationPages.js
//SP.UI.BDCAdminPages.debug.js
//SP.UI.BDCAdminpages.js
//SP.UI.ComboBox.debug.js
//SP.UI.ComboBox.js
//SP.UI.Dialog.debug.js
//SP.UI.Dialog.js
//SP.UI.DocSet.Ribbon.debug.js
//SP.UI.DocSet.Ribbon.js
//SP.UI.MyLinksRibbon.js
//SP.UI.Policy.Ribbon.debug.js
//SP.UI.Policy.Ribbon.js
//SP.UI.Pub.Ribbon.debug.js
//SP.UI.Pub.Ribbon.js
//SP.UI.Publishing.LayoutsPages.debug.js
//SP.UI.Publishing.LayoutsPages.js
//SP.UI.Rte.debug.js
//SP.UI.Rte.js
//SP.UI.RTE.Publishing.debug.js
//SP.UI.RTE.Publishing.js
//SP.UI.SocialRibbon.js
//SP.UI.Spellcheck.debug.js
//SP.UI.Spellcheck.js
//SP.UI.SSSvcAdminPages.debug.js
//SP.UI.SSSvcAdminPages.js
//SPGantt.debug.js
//SPGantt.js
//spgridview.debug.js
//spgridview.js
//TaggingDialog.js
//TermStoreManager.js
//TreeControl.js
//webanalytics.js
//webanalytics.ribbon.debug.js
//webanalytics.ribbon.js
//WebTaggingDialog.js
//whatspopular.js
//wpadder.debug.js
//wpadder.js
//WPCM.debug.js
//WPCM.js
//WSSActionMenu.js
//WSSHtmlMenus.js
Useful SharePoint 2010 JavaScript Client model.
http://blogs.msdn.com/b/vesku/archive/2010/02/25/how-to-sharepoint-2010-js-client-object-model-and-ui-advancements.aspx
JavaScript Intelligence
1. Include the following lines in at the top of the JS file.
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\MicrosoftAjax.js" />
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.debug.js" />
/// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.Core.debug.js" />
2. Include the following lines in at the top of the Application Page Head
<% #if SOME_UNDEFINED_CONSTANT %> <script type="text/javascript" src="/_layouts/SP.debug.js" ></script> <% #endif %>
<script type="text/javascript" language="javascript"> ExecuteOrDelayUntilScriptLoaded(test, "sp.js"); function test() { this.ClientContext = SP.ClientContext.get_current(); } </script>
<% #if SOME_UNDEFINED_CONSTANT %> <script type="text/javascript" src="/_layouts/MicrosoftAjax.js" ></script> <script type="text/javascript" src="/_layouts/SP.debug.js"></script> <% #endif %>
List of JS files available in SharePoint Enterprise<script type="text/javascript" language="javascript"> ExecuteOrDelayUntilScriptLoaded(test, "sp.js"); function test() { this.ClientContext = SP.ClientContext.get_current(); } </script>
//actionmenu.js
//ajaxtoolkit.js
//bitreeview.js
//blank.debug.js
//blank.js
//CUI.debug.js
//CUI.js
//cuixas.js
//datepicker.debug.js
//datepicker.js
//entityeditor.debug.js
//ENTITYEDITOR.js
//EwaBrowserCompat.js
//EwaMenu.js
//EwaMoss.js
//EwrTreeView.js
//excelpicker.js
//FieldEditor.js
//GanttScript.debug.js
//GanttScript.js
//GroupedItemPicker.debug.js
//GroupedItemPicker.js
//HierarchyTreeView.js
//htmlmenus.js
//ImportingContent_ClientScripts.js
//INPLVIEW.debug.js
//INPLVIEW.js
//JsGrid.debug.js
//JsGrid.Gantt.debug.js
//JsGrid.Gantt.js
//JsGrid.js
//kpilro.js
//MDN.js
//MediaPlayer.js
//MicrosoftAjax.js
//NavResizer.js
//PickerHierarchyControl.js
//portal.js
//profilebrowsercontrol.js
//Ratings.js
//ScriptForWebTaggingUI.js
//Search.js
//SelectSourceRepository_ClientScripts.js
//Serialize.js
//Silverlight.js
//SocialComment.js
//SocialData.js
//SocialTag.js
//SP.Core.debug.js
//SP.Core.js
//SP.dateTimeUtil.debug.js
//SP.dateTimeUtil.js
//SP.debug.js
//SP.Exp.debug.js
//SP.Exp.js
//SP.js
//SP.Ribbon.debug.js
//SP.Ribbon.js
//SP.Runtime.debug.js
//SP.Runtime.js
//SP.UI.Admin.debug.js
//SP.UI.Admin.js
//SP.UI.ApplicationPages.Calendar.debug.js
//SP.UI.ApplicationPages.Calendar.js
//SP.UI.ApplicationPages.debug.js
//SP.UI.ApplicationPages.js
//SP.UI.BDCAdminPages.debug.js
//SP.UI.BDCAdminpages.js
//SP.UI.ComboBox.debug.js
//SP.UI.ComboBox.js
//SP.UI.Dialog.debug.js
//SP.UI.Dialog.js
//SP.UI.DocSet.Ribbon.debug.js
//SP.UI.DocSet.Ribbon.js
//SP.UI.MyLinksRibbon.js
//SP.UI.Policy.Ribbon.debug.js
//SP.UI.Policy.Ribbon.js
//SP.UI.Pub.Ribbon.debug.js
//SP.UI.Pub.Ribbon.js
//SP.UI.Publishing.LayoutsPages.debug.js
//SP.UI.Publishing.LayoutsPages.js
//SP.UI.Rte.debug.js
//SP.UI.Rte.js
//SP.UI.RTE.Publishing.debug.js
//SP.UI.RTE.Publishing.js
//SP.UI.SocialRibbon.js
//SP.UI.Spellcheck.debug.js
//SP.UI.Spellcheck.js
//SP.UI.SSSvcAdminPages.debug.js
//SP.UI.SSSvcAdminPages.js
//SPGantt.debug.js
//SPGantt.js
//spgridview.debug.js
//spgridview.js
//TaggingDialog.js
//TermStoreManager.js
//TreeControl.js
//webanalytics.js
//webanalytics.ribbon.debug.js
//webanalytics.ribbon.js
//WebTaggingDialog.js
//whatspopular.js
//wpadder.debug.js
//wpadder.js
//WPCM.debug.js
//WPCM.js
//WSSActionMenu.js
//WSSHtmlMenus.js
Useful SharePoint 2010 JavaScript Client model.
http://blogs.msdn.com/b/vesku/archive/2010/02/25/how-to-sharepoint-2010-js-client-object-model-and-ui-advancements.aspx
Comments
Post a Comment