sábado, 25 de febrero de 2012

Links Útiles 2

1. El arreglo (javascript): _spBodyOnLoadFunctionName

Cuando la página es cargada, el evento onload ejecuta cada función de este arreglo.

http://www.objspsite.com/2011/07/spbodyonloadfunctionnames-javascript.html

2. Obtener información de todos los folders usando SPQuery

Por default SPQuery retorna sólo los documentos del root principal, pero usando la propiedad “ViewAttributes” es posible recorrer recursivamente la lista.

http://www.objspsite.com/2011/07/get-data-from-all-folder-of-library_2104.html

3. Solucionar problemas de cantidad de items en listas externas

Cuando trabajas con listas externas de más de 2000 items, pueden lanzar excepciones de varios tipos:

· Timeout expired. BDC Runtime Object Model has throttled the response. The response from the service took more than '180000' milliseconds. The limit can be changed via the "Set-SPBusinessDataCatalogThrottleConfig' cmdlet.

· WCF Service Connector has throttled the response. The response from the WCF service contains more than '3000000' bytes. The maximum amount of data that can be read through WCF Service Connector is '3000000' bytes. The limit can be changed via the 'Set-SPBusinessDataCatalogThrottleConfig' cmdlet.

· Web Service Connector has throttled the response. The response from the web service contains more than ‘3000000’ bytes. The maximum amount of data that can be read through Web Service Connector is ‘3000000’ bytes. The limit can be changed via the ‘Set-SPBusinessDataCatalogThrottleConfig’ cmdlet.

· Opening of a new connection is throttled. Maximum enabled connections ‘200’ for proxy are already been opened.

· Database response throttled. Maximum number of rows that can be read through the database system utility is 2000.

· Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator. Correlation ID: ...........

Esto ocurre porque se desea traer demasiada información. A continuación algunos links para solucionarlo

http://akanoongo.blogspot.com/2011/02/how-to-resolve-2000-items-resolution-in.html

http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2012/02/23/sharepoint-2010-cookbook-how-to-fix-quot-unable-to-display-this-web-part-quot-when-working-with-external-list-in-sharepoint-2010.aspx

http://blogs.msdn.com/b/bcs/archive/2010/02/16/bcs-powershell-introduction-and-throttle-management.aspx

 

4. Crear listas de Sharepoint 2010 con C#

http://blogs.sharepointdevelopers.info/2012/02/c-snippet-to-create-sharepoint-list.html

http://www.learningsharepoint.com/2010/09/05/create-list-from-list-template-sharepoint-2010-programmatically/

http://lemonharpy.wordpress.com/2011/03/22/create-list-in-sharepoint-2010-programmatically/

5. Crear items de listas (custom, con un adjunto, Publishing Page Library, libreria de documentos, calendario, ) de Sharepoint 2010

https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Dev/Pages/Creating%20a%20List%20Item%20instance%20programmatically%20using%20the%20object%20model.aspx

No hay comentarios:

Publicar un comentario