Webcast Canal SharePoint Andre Lage

1,238 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,238
On SlideShare
0
From Embeds
0
Number of Embeds
69
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Webcast Canal SharePoint Andre Lage

    1. 1. Ribbons e Cliente Object Model<br />André Lage<br />Consultor SharePoint<br />Sybase, SBS Portugal<br />Wagner Amorin<br />Especialista SharePoint, EPM, BI, CRM<br />TerraForum Consultores<br />
    2. 2. Agenda<br />Apresentação<br />Ribbon<br />Client Object Model<br />Perguntas e respostas<br />
    3. 3. Apresentação<br />André Lage<br />Sybase, SBS Portugal<br />http://www.sybase.pt<br />http://aaclage.blogspot.com<br />MCTS (Windows SharePoint Services 3.0, Microsoft Office SharePoint Server 2007 - configuração e desenvolvimento); <br />Participação ativa nos foruns da microsoft sobre Sharepoint<br />Tem atuado diretamente na elaboração de artigos em Sharepoint para a Comunidade CanalSharepoint.com.br.<br />
    4. 4. Apresentação<br />Wagner Amorim<br />TerraForum Consultores<br />ww.canalsharepoint.com.brwagnera<br />waamorim.spaces.live.com<br />MCPD Web Developer<br />MCTS (Windows SharePoint Services 3.0, Microsoft Office SharePoint Server 2007 - configuração e desenvolvimento); <br />Tem atuado diretamente na liderança da Comunidade CanalSharepoint.com.br.<br />
    5. 5. Objetivo<br />Com a evolução dos produtos SharePoint 2007 e agora a nova versão, este webcast terá como objetivo fazer um Overview das funcionalidades Ribbon e Client Object Model do SharePoint 2010.<br />
    6. 6. Entendendo a evolução<br /><ul><li>SharePoint 2007</li></ul>SharePoint 2010<br />
    7. 7. Follow Allways<br />Microsoft “Best Pratices” SEMPRE...<br />Estudo das Metodologias e Paradigmas Sharepoint, antes de cada Projecto...<br />
    8. 8. Vantagens Ribbon<br /><ul><li>Substituir Menus por Tabs
    9. 9. Flexibilidade
    10. 10. Facilidade
    11. 11. Interactivo e apelativo
    12. 12. Uniformizar com Office 2007/2010</li></li></ul><li>Feature Ribbon<br />Package Feature:<br />Criarficheiro WSP parainstalaçãodaSolução.<br />Feature Manifest:<br />Definição das Funcionalidadesatravés de umaestrutura XML “Feature.xml”.<br />Elements Manifest:<br />Ficheiroparadefinição das novas funcionalidades.<br />Para definir as novas opçõesparapersonalizarprecisamosescolheruma das seguintesopções:<br />&lt;CustomAction&gt; Criar novas opçõespara Menu.<br />&lt;CustomActionGroup&gt; - Criar novo grupo de opçõespara Menu.<br />&lt;HideCustomAction&gt; - Esconder opções do Menu.<br />
    13. 13. Estrutura do Ribbon<br />CustomAction<br />&lt;CustomAction<br /> Id=&quot;AsminhasTab&quot;<br /> Location=&quot;CommandUI.Ribbon&quot;<br />RegistrationId=&quot;101&quot;<br />RegistrationType=&quot;List&quot;&gt;<br />
    14. 14. Estadospara o Ribbon<br />
    15. 15. Controlospara Ribbons<br />http://msdn.microsoft.com/en-us/library/ee537017(office.14).aspx<br />
    16. 16. ExemploControlo Ribbon<br />&lt;CustomAction<br />Id=“BotaoRibbon&quot;<br />RegistrationType=&quot;List&quot;<br />RegistrationId=&quot;101&quot;<br />Location=&quot;CommandUI.Ribbon&quot;<br />Sequence=&quot;5&quot;&gt;<br /> &lt;CommandUIExtension&gt; <br /> &lt;CommandUIDefinitions&gt;<br /> &lt;CommandUIDefinitionLocation=&quot;Ribbon.Documents.Manage.Controls._children&quot;&gt;<br /> &lt;ButtonId=&quot;Ribbon.Documents.New.DemoButton&quot;<br />Alt=“BotaoRibbon“<br />Sequence=&quot;5&quot;<br />Command=&quot;Opcao“<br /> Image32by32=&quot;_layouts/images/Ribbon/Pinguim.png&quot;<br />LabelText=&quot;Link to Sybase“<br />TemplateAlias=&quot;o1&quot;/&gt;<br /> &lt;/CommandUIDefinition&gt;<br /> &lt;/CommandUIDefinitions&gt;<br /> &lt;CommandUIHandlers&gt;<br /> &lt;CommandUIHandler<br />Command=&quot; Opcao&quot;<br />CommandAction=&quot;javascript:window.location.href=&apos;http://www.sybase.pt&apos;;&quot; /&gt;<br /> &lt;/CommandUIHandlers&gt;<br /> &lt;/CommandUIExtension&gt;<br /> &lt;/CustomAction&gt;<br />
    17. 17. Desenhar Ribbon<br />
    18. 18. Desenhar Ribbon<br />&lt;CommandUIDefinition<br /> Location=&quot;Ribbon.Tabs._children&quot;&gt;<br /> &lt;Tab<br /> Id=&quot;Ribbon.CustomTabExample&quot;<br /> Title=&quot;A minha Tab&quot;<br /> Description=&quot;Aquificamosmeus controls&quot;<br /> Sequence=&quot;501&quot;&gt;<br />&lt;Scaling//Escala da nossa Tab “Size=&quot;OneLargeTwoMedium&quot;”<br />Id=&quot;Ribbon.CustomTabExample.Scaling&quot;&gt;<br />....<br />&lt;GroupsId=&quot;Ribbon.CustomTabExample.Groups&quot;&gt;<br /> &lt;Group<br />Id=&quot;Ribbon.CustomTabExample.CustomGroupExample&quot;<br />Description=&quot;Novo Grupo Base&quot;<br />Title=&quot;Novo Grupo Base&quot;<br />Sequence=&quot;52&quot;<br />Template=&quot;Ribbon.Templates.CustomTemplateExample&quot;&gt;<br /> &lt;ControlsId=&quot;Ribbon.CustomTabExample.CustomGroupExample.Controls&quot;&gt;<br /> &lt;Button. ...<br />
    19. 19. Desenhar Ribbon<br />&lt;CommandUIDefinition Location=&quot;Ribbon.Templates._children&quot;&gt;<br /> &lt;GroupTemplate Id=&quot;Ribbon.Templates.CustomTemplateExample&quot;&gt;<br /> &lt;Layout<br /> Title=&quot;OneLargeTwoMedium&quot;<br />LayoutTitle=&quot;OneLargeTwoMedium&quot;&gt;<br /> &lt;Section Alignment=&quot;Top&quot; Type=&quot;OneRow&quot;&gt;<br /> &lt;Row&gt;<br />....<br />&lt;CommandUIHandlers&gt;<br /> &lt;CommandUIHandler<br />Command=&quot;CustomTabExample.HelloWorldCommand&quot;<br />CommandAction=&quot;javascript:alert(&apos;BotaoSelecionado&apos;);&quot; /&gt;<br /> ....<br />
    20. 20. Vantagens<br />AcessoObjectosSharepoint<br />FuncionalidadesDinâmicas<br />API Microsoft<br />ClientObjectModel<br />Possiveisproblemas<br /><ul><li>Desenvolvimentorobusto
    21. 21. IntervençõesPontuais
    22. 22. BrowsersemSites Internet</li></li></ul><li>Client Object Model<br />&lt;script type=&quot;text/javascript&quot;&gt; <br />functionuseClientContext() {<br />varclientContext = newSP.ClientContext(&apos;/&apos;);<br />this.oWebsite = clientContext.get_web();<br />clientContext.load(oWebsite);<br />clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));<br />}<br />functiononQuerySucceeded() {<br />alert(&apos;Titulo: &apos; + oWebsite.get_title()+ &apos; &apos;+oWebsite.get_description());<br />}<br />functiononQueryFailed(sender, args) {<br />alert(&apos;Requestfailed. &apos; + args.get_message() + &apos; &apos; + args.get_stackTrace());<br />}<br />&lt;/script&gt;<br />&lt;input type=&quot;button&quot; value=&quot;Pegar Titulo site&quot; onclick=&quot;javascript:useClientContext()&quot;/&gt;&lt;/div&gt;<br />http://msdn.microsoft.com/en-us/library/ee537247(office.14).aspx<br />
    23. 23. ClientObjectModel<br />
    24. 24. P&R<br />André Lage Wagner Amorim<br />http://aaclage.blogspot.comhttp://canalsharepoint.com.br/wagnera<br />andre.lage@sybase.ptwa.amorim@hotmail.com<br />

    ×