Wednesday, April 20, 2011

How to change "Document Information Panel" with Infopath 2010

This article will try to explain how we can use Infopath 2010 to change the Document Information Panel from SharePoint Content types.

For this example i create one Custom Content Type call "DLX" in my SharePoint Site and associate to a Document Library "Shared Document" and add some documents.

Now for this example i will change the layout and personalize the Content Type displayed when we are editing a Microsoft Office Document using Infopath 2010 .

Open Infopath 2010 > New > Document Information Panel


After we select the Form Template need to define what is the document Library we want to change, for this example use "http://[Site]/Shared Documents"

After we select the Document Library the Menu option will display the Content Types associated to Document Library "Shared Documents" in this case "DLX".


After Select the Content type we want to change the form will be display with the differents properties fields and layout design to change.


After we change the layout for the company requirements we can publish the change we made, first we will need to save the new XSN Form and overwrite the existing one in the SharePoint 2010 site like displayed the image below.

After we Publish the New Form Template for Document Information Pane we need to Edit a Microsoft Office Document, for this i have access to my SharePoint 2010 Site, Document Library "Shared Documents" and select "Edit in Microsoft Word".


With the Microsoft Office Word Document on Edit mode, select the content Type and properties associated to Document Library do Display the Document Information Panel changed by Infopath 2010.


PS: By default some Microsoft Office Document dont have Document Information Panel in the document to display as default, to active this go to "File > Info > Properties > Show Document Panel"


Hope you like this article and show how SharePoint is flexivel for diferent customizations.








Office 365 Release


After a long time waiting Microsoft have release the Version Beta of Office 365,
I already had access to the pre-release of Office 365 and can see a real potential for real Business.... I am already working with BPOS and Microsoft Online Services and will not go back :)

This Product is separate for "Small Business" or "Enterprise" and will include the following services.

Exchange Online
  • Email & Calendar

Microsoft Office Desktop Apps

  • Office Web Apps

SharePoint Online

  • WebSites & Collaboration

Lync Online

  • IM & Online Mettings

Here a first overview of the Administration Page, the next days will create some articles about this Topic.





:) Hope you like...


Tuesday, April 19, 2011

SharePoint 2010 Templates

This is a great project created to help Developer to create Custom Ribbons in a very easy way.




This Templates for SharePoint 2010 are very useful and i use a lot for a long time, since 2010 and help me create the Ribbon in a very easy ways without losing to much time validating the XML.

They have 3 different types of templates:
1. Silverlight and SharePoint project template
2. SharePoint Ribbon project template
3. OBA Deployment project template

SharePoint 2010 Extensibility Projects





Monday, April 18, 2011

DataView Web Part with Ajax SharePoint Designer 2010

This Article will try to explain how to activate the Ajax options for DataView Web Parts.

For this example i created a new clean .aspx page where i will add the custom Dataview.

After create the page we can access to page and select the Data View and select the List do Display in the Form.

After we add the List View, we can use the Web Part options to add Ajax Script asynchronous update, one refresh button and the time to refresh content of the ListView.


After we select the diferent options and watch the code we will sse the script manager and the async methods are updated.


If you open two form side by side and add new item on right Fomr, if you wait 15 seconds the new item will appear on the Left From using the Ajax Methods.


The question we need to make is, What is happening on Background??
To analyze the behavior open Fiddler and after 15 second waiting Ajax fire the page load content, returning 6kb of content...
Now imagine if you go for a coffee and let the page load every 15 seconds in 60 seconds will be 24kb now imagine your content is 50kb for 60 seconds will be 200kb.... If you have a company of 100 users and all are accessing this page then the values are more impressive, 20000KB per minute...
So Nothing is free and always evaluate the impact of the ajax actions....

Friday, April 15, 2011

Site Manage access Request Multiple accounts

This Article will explain how we can add multiple users for Access request notification using Site administration option.

The little article and trick will help using normal email l sending configuration and how we can use on "Access request notification", first we need to go to "Site Action> Site Settings>Permission" there we have the option "Manage Access Requests".


When we access "Manage Access Requests", we can define one or multiple users to be warn about the request, a lot of people think this is limit to "one user" that is not true, only need to add a semi-colon (;) to separate the emails account.


With this change you can define multiple users for the notification access request email, very easy and simple...

It is possible to change this option using SharePoint API to change the request Access email you can use the Web property "RequestAccessEmail". To change this property you need to ensure in Central Administration the option "Outgoing e-mail settings" is configured.
The first thing i did was using a Explorer Viewer of SharePoint Properties like this tool "http://spm.codeplex.com/" and validate the state of "RequestAccessEmail".



Example of the code to change the property "RequestAccessEmail".

 Validation of the output with the new changes.




Kind regards,
André Lage

Developing SharePoint 2010 Documentation

Microsoft is preparing Office 365 Beta and have Documentation associated, they also launch other documentation about Developing SharePoint with other Microsoft Products like Windows Azure and Silverlight.
This documentation will help you creating your solution and give one step forward to SharePoint Online "Office 365".


SharePoint Online for Office 365: Developer Guide

SharePoint and Silverlight Training Kit

Developing Applications for SharePoint 2010

SharePoint and Windows Azure Development Primer

If you are starting and you need to integrate all this different products, this is a very good starting point.

Friday, April 08, 2011

"LINQ to SharePoint" SharePoint Portuguese Comunity

Registration:
http://www.eventbrite.com/event/1544368247/efblike

Caros SharePointianos

No próximo Sábado, dia 16/04/2011, irá ter lugar a 10ª Reunião da Comunidade Portuguesa de SharePoint. É muito importante a presença de todos e, como é habitual, as reuniões da Comunidade irão decorrer presencialmente e sob a forma de Live Meeting para quem não tenha possibilidade de assistir fisicamente à reunião.

Live Meeting Link: https://www.livemeeting.com/cc/spugptlivecenter/join?id=6ZNZMB&role=attend

Agenda

09:30 - Recepção dos participantes
10:00 - Abertura do evento
10:30 - Sessão: "LINQ to SharePoint" com André Vala

"Uma das novidades do SharePoint 2010, no que respeita ao acesso à informação, é a possibilidade de utilizar LINQ para aceder ao itens das listas. No entanto, apesar de imensamente útil, esta tecnologia tem também algumas limitações. Durante esta sessão falaremos sobre o que se consegue fazer com LINQ to SharePoint, bem como dos cenários em esta tecnologia deve ou não ser aplicada."

11:30 - Coffe-break
11:45 - Painel de Discussão
13:00 - Final da Reunião & Lunch
(Almoço em grupo para convívio. A participação é opcional.)

Como Chegar

O local do evento é no Auditório Microsoft Portugal - Tagus Park em Porto Salvo.

Como chegar:

Sentido Lisboa - Cascais:

1. Entre na A5 em direcção a Cascais

2. Saia a seguir à estação de serviço, nas portagens de Porto-Salvo

3. Contorne a 1ª rotunda e vire à direita em direcção ao TagusPark

4. Prossiga até encontrar uma nova rotunda. Contorne-a e vire à esquerda

5. Acaba de chegar à Microsoft! É o 1º edifício do lado esquerdo. Deve procurar a entrada onde diz Bloco C1.

Sentido Cascais - Lisboa:

1. Entre na A5 em direcção a Lisboa

2. Saia na saída de Oeiras, Porto Salvo

3. Depois das portagens, vire na 1ª à esquerda

4. Contorne a 1ª rotunda e siga em frente em direcção ao TagusPark

5. Prossiga até encontrar uma nova rotunda. Contorne-a e vire à esquerda

6. Acaba de chegar à Microsoft. É o 1º edifício do lado esquerdo. Deve procurar a entrada onde diz Bloco C1.

Morada
Microsoft Portugal
Edifício Qualidade, C1 - C2
Av. Prof. Doutor Aníbal Cavaco Silva Tagus Park
2744-010 Porto Salvo

Mapa: http://tinyurl.com/34bn82d

Procedimentos para o Live Meeting

Link: https://www.livemeeting.com/cc/spugptlivecenter/join?id=6ZNZMB&role=attend

Abraços,
André Vala

SharePointPT- Comunidade Portuguesa de SharePoint
SharePointPt Site: http://www.sharepointpt.org
SharePointPt no FaceBook: http://www.facebook.com/profile.php?id=100000660657466&ref=mf
SharePointPt no Twitter: http://twitter.com/spugpt
SharePointPt Email Account : spugpt@gmail.com;spugpt@live.com