Tag: document

100   Generic list 101   Document library 102   Survey 103   Links list 104   Announcements list 105   Contacts list 106   Events list 107   Tasks list 108   Discussion board 109   Picture library 110   Data sources 111   Site template gallery 112   User Information list 113   Web Part gallery 114   List template gallery 115   XML Form library 116   Master pages gallery 117   No-Code Workflows 118   Custom Workflow Process 119   Wiki Page library 120   Custom grid for a list 130   Data Connection library […]
A través de esta función podemos obtener la URL para ver las propiedades de un item de una lista de SharePoint: public static string GetItemPropertiesURL(SPListItem item) { string web = item.Web.Url; string listID = item.ParentList.ID.ToString(); string contentType = item.ContentTypeId.ToString(); string itemID = item.ID.ToString(); string url = web + "/_layouts/listform.aspx?PageType=4&ListID={" + listID + "}&ID=" + itemID […]
Versioning Settings Create a version each time you edit a file in this document library? <List [...] VersioningEnabled="TRUE" EnableMinorVersions="FALSE"  >[...]</List> Advanced Settings Allow management of content types? <List [...] EnableContentTypes="TRUE" >[...]</List> Default open behavior for browser-enabled documents <List [...] DefaultItemOpen="PreferClient" >[...]</List> <List [...] DefaultItemOpen="Browser" >[...]</List> Dialogs (Launch forms in a dialog) <List [...] NavigateForFormsPages="FALSE" >[...]</List> Validation Settings Set […]
Podemos ejecutar funciones JS al final de la carga de la página por medio de JQuery. No obstante, en SharePoint esto no siempre funciona: $(document).ready(function(){ //My code }); Esto ocurre porque aveces el document ya está cargado pero SharePoint todavía sigue cargando elementos. Para evitarlo, podemos insertar nuestra funcion en la lista de funciones que […]
<script language="javascript" type="text/javascript"> document.location.href=document.location.protocol + '//' + document.location.host </script>