Skip to main content

Posts

Showing posts with the label SharePoint

Resources to help office 365 developers

The new way of development in the Microsoft world has chnaged. In other to keep up, you must keep abreast with information.  Here are couple of sites you may need: https://github.com/sharepoint https://sharepoint.stackexchange.com/ https://developer.microsoft.com/en-us/office https://sharepoint.uservoice.com/

SharePoint URLs

 Got this idea from a good source and I need a backup for when I would need it. 1. Token: ~sitecollection ~site 2. SharePoint Server Token <% $SPUrl:~sitecollection/...%> 3. Emedded Code: <%=SPContext.Current.Site.ServerRelativeUrl %> You can use the embedded code any where in application page and web parts but don't use it in master page and page layout even though they seem work, because master page and page layout can be customized. The embedded code is only allowed in the uncustomized pages. 4. SharePoint Control: You can use the value returned by this control as control attribute but this is more like an hack, but it works. If you don't want to use it directly in attribute, you can use asp.net literal. < a href =" " >     < SharePoint : CssRegistration name ="<% $SPUrl:~sitecollection/_layouts/MortalityDB/css/custom.css %>" runat ="server" after ="SharepointCssFile"/> Here is...

Get Publishing HyperLink Field Value

The Publishing hyper link field value has some properties that you may want to extract for your use. Properties like: NavigateUrl, Target, Tooltip, Description, IconUrl Just pass in the field value name in your list.  LinkFieldValue pvalue = new LinkFieldValue(footerItem["FooterLink"].ToString());   your pvalue will then contain goodies. QED

Set Page Programmatically

The page title in SharePoint is located in the content place holder called PlaceHolderPageTitle.   You can change it by referencing the place holder and setting a value in.   ContentPlaceHolder cp= (ContentPlaceHolder)Page.Master.FindControl("PlaceHolderPageTitle"); cp.Controls.Clear(); cp.Controls.Add(new LiteralControl("The Title here"));   QED

Remove chrome on a web part

The web part properties are many and one of the OOB property is the chrome that displays the title.  To remove the chrome programmatically. You can on instantiation or page load do this. this .ChromeType =  PartChromeType .None;    QED

SharePoint "Agaves"

What is a SharePoint Agave? Agaves is a codename for content-aware web apps, built with HTML and JavaScript, that can extend both desktop and web Office applications. Categories Content Agaves Contextual (Mail) Agaves  Task Pane Agaves     This is a term that will be deprecated soon as we move into a final release to Apps for Office. Become an apps for office publisher .  

SharePoint 2013 preview release

It's SharePoint 2013! Hello everyone. SharePoint 2013 preview release is now out.  It is time to get your hands on the new release after a long silence from Microsoft.  The whole Office family of products have got some extras to showcase.  What a good time to see/read/hear new things this summer. Read Microsoft Corp. CEO Steve Ballmer's  press release here . Straight to the point for SharePoint 2013.  Download SharePoint 2013 Follow me to download SharePoint 2013 (Wave 15) from here . Get trained on SharePoint 2013 Become familiar with SharePoint 2013 features and development scenarios. SharePoint 2013.