- Creating Wireframes for Page Layouts
- Getting all documents in document library inside all folders
- SharePoint Applied: SharePoint 2007 Ninja Debugging
- SharePoint Tool Basket
- SharePoint Check Calendar Availability Custom Column (Beta)
- Case study: KPI roll-up in MOSS (Part II)
- SharePoint: Redirecting to a page after adding a New item to a list
- Implementing the AJAXControlToolkit AutoCompleteExtender inside SharePoint
- Sahil Malik on Silverlight and SharePoint
Archive for June, 2009
Links (6/28/2009)
Posted by Steve Pietrek on June 28, 2009
Posted in SPLinks | Comments Off on Links (6/28/2009)
Links (6/25/2009)
Posted by Steve Pietrek on June 25, 2009
- Using the Today token in a CAML query
- Be selective about how you get items from an SPList
- Using KeywordQuery to search in your SharePoint site
- Use SharePoint and Silverlight to display a summary of SharePoint blog posts on any site page
- How Page Parsing functionality in SharePoint (SPPageParseFilter) works with the constructor of a webpart
- How to use SharePoint Rich-Text Editor in Webparts and Controls
- Inconvenient PublishingScheduleControl
- SharePoint Task Master: My Web Part Misses its Cache, and I Want to Help
- TDD and SharePoint is it worth doing?
- InfoPath: Reading Repeating Tables from SharePoint List
- Create and Configure a Scope to Only Return Documents in a Search Result
- Sample MOSS 2007 WCM site now available – Adventure Works Travel
- Hotfix for SP2 issue that reverts SharePoint products to Trial Version has been released
- Automatically add themes to the SPThemes.xml file
- Create a Dashboard in WSS: High Priority Indicator
- The Content Editor Web Part
Posted in SPLinks | Comments Off on Links (6/25/2009)
Links (6/22/2009)
Posted by Steve Pietrek on June 22, 2009
- Performance of various methods to retrieve one list item
- Extending SharePoint CoreResultsWebPart
- My checklist for optimizing SharePoint sites
- Silverlight instead of DataView Web-Parts? Sure, why not?
- Use SharePoint and Silverlight to display a summary of SharePoint blog posts on any site page
- A Simple, but Highly Effective Approach to Logging
- Configuring Logging in a Console Application
- Configuring Logging in ASP.NET Applications (and SharePoint)
- Configuring Logging in SharePoint Application Pages
- Customising the Content Query Web Part’s RSS feed
- SharePoint 2007 – 12 Hive System-File Changes: One Feature to rule them all!
- Uploading Files to SharePoint Server 2007 from ASP.NET Web Applications by Using the HTTP PUT Method (Visual How To)
- SharePoint 2007 – How to enable left navigation, quick launch, for all web-part pages in a farm?
- Securing SharePoint List/Document Library Views Seems (sort of) Possible with jQuery
- Guest blog by NaT – SharePoint People Picker: Override Validation Logic
- Should I Build my application in SharePoint vs. ASP.net
- SharePoint JavaScript – Page Load Add function: _spBodyOnLoadFunctionNames
- Identity and Access Strategies for SharePoint (MOSS 2007 and WSS 3.0) Products and Technologies
- How to create list using custom list template using SharePoint object model
- Cannot Store the WebPart Pages in the document libraries created from the custom document library definition in WSS 3.0. Now Bend It !!
- STSADM (Part 2)
- STSADM (Part 3)
- Securing Application Pages in Windows SharePoint Services 3.0
- Small SPQuery tip (How to get rid of “Cannot complete this action” error)
- Planning SharePoint Solution Packages (WSPs)
- Modifying out-of-the-box SharePoint files
- Using SPWebApplicationBuilder class for creating Web Application programmatically
- SharePoint and TDD
- Add Totals to the Dynamic Groups that Appear in your List Rollup Data View
Posted in SPLinks | Comments Off on Links (6/22/2009)
Links (6/18/2009)
Posted by Steve Pietrek on June 18, 2009
- The ApplyApplicationContentToLocalServer Method and Why It Comes Up Short
- We Drift Deeper Into the Sound … as the Flush Comes – BLOB Cache
- Making Microsoft Windows SharePoint Services 3.0 Navigation Better
- Hiding specific item from ECB menu
- How to make “This Site” the default SharePoint search scope
- SharePoint WCM: flushing publishing pages from the cache
- SharePoint, Features and web.config modifications using SPWebConfigModification
- Debugging SharePoint/ASP.NET code? Smart key-codes + disable timeout!
- Quick and Easy: Use jQuery to Hide a Text Field on a SharePoint Form
- How to show file/folder icons depending on the type in Content Query Webpart
- Quick and Easy: Create Your Own jQuery Sandbox for SharePoint
- How to modify a DateTime value of AfterProperties in ItemUpdating/ ItemAdding Events in SharePoint
- Taming the Elusive “Calculated Column” – Referencing Multiple Lines of Text Column
- Quick and Easy: A Better Way to Use jQuery to Hide a Text Field on a SharePoint Form
- How to customize the table styles in content editor webpart
- The maximum limit for the length of the QueryText property of FullTextSqlQuery is 4096 characters.
- Retrieve SharePoint List Data with XLINQ using VS 2010 Beta 1
- STSADM Evolution
- SharePoint Data Zoom: Content Rotator Web Part
- Useful SharePoint Links
- Adding SharePoint Search plug-in for Firefox
- PowerShell quickie: Extract the feature IDs used in large SharePoint projects
- Looking through the source of SharePoint on SharePoint
- Run a workflow as a specific user using code
- Using the RadFileExplorer for ASP.NET AJAX in a MOSS web application
- Extending your MOSS site with Microsoft ASP.NET AJAX 1.0
- STSADM (Part 1)
Posted in SPLinks | Comments Off on Links (6/18/2009)
SharePoint Saturday Charlotte
Posted by Steve Pietrek on June 18, 2009
I will be in Charlotte this weekend attending SharePoint Saturday Charlotte. My presentation will be:
Developing Custom Timer Jobs in Windows SharePoint Services 3.0
Timer jobs in Windows SharePoint Services 3.0 are similar to Windows’ scheduled tasks. Timer jobs are used by SharePoint to automate tasks such as search indexing, sending notification alerts, emptying the recycle bin, and removing unused sites. Developers have the capability to create custom timer jobs and integrate them within SharePoint. Custom timer jobs can be used in your organization to support IT governance, satisfy legal and audit requirements, plus many more scenarios. Come to this session to learn how custom timer jobs are created and how to deploy them into your SharePoint environment.
Hope to see you there.
Posted in SPConferences, SPUserGroups | Comments Off on SharePoint Saturday Charlotte
Links (6/15/2009)
Posted by Steve Pietrek on June 15, 2009
SharePoint
- SharePoint 2007 Development – Build Processes
- Final Call: Excel and SharePoint – I didn’t know you could do that!
- Quick and Easy: Use jQuery to Set A Text Field’s Value on a SharePoint Form
- Cool SharePoint Photo Gallery With JQuery!
- Updating Metadata on Files in SharePoint: Low Cost, High Reward
- How To Trim SharePoint Blog Post
- MOSS Navigation Deep Dive – Part 1
- MOSS Navigation Deep Dive – Part 2
- Live demo: SharePoint, XML files, and Flash charts
- How to Check if SPGroup Exists
- Working with SharePoint (C#)
- SharePoint: Internal developer portal – first thoughts
- SharePoint Designer 2007 Governance: Options for selective lockdown?
- SharePoint Solution Deployment Strategies – Dare I say Best Practices?
- SharePoint Filter web parts: using a context filter in a page layout
- I got tired of attaching debugger to w3wp.exe. And you?
- Do you want to add totals to your List Rollup data view? Follow these simple steps…
- It’s Like Building WebParts, for Your Phone
- Highlighting the current page (site) in a custom navigation
- Charts with Power WebPart ( Management-Eye-Catchers )
- Hey SharePoint Calendar, I want my space back!
Office
Posted in SPLinks | Comments Off on Links (6/15/2009)
SharePoint Saturday Chicago
Posted by Steve Pietrek on June 10, 2009
I will be in Chicago this weekend attending SharePoint Saturday Chicago. My presentation will be:
Developing Custom Timer Jobs in Windows SharePoint Services 3.0
Timer jobs in Windows SharePoint Services 3.0 are similar to Windows’ scheduled tasks. Timer jobs are used by SharePoint to automate tasks such as search indexing, sending notification alerts, emptying the recycle bin, and removing unused sites. Developers have the capability to create custom timer jobs and integrate them within SharePoint. Custom timer jobs can be used in your organization to support IT governance, satisfy legal and audit requirements, plus many more scenarios. Come to this session to learn how custom timer jobs are created and how to deploy them into your SharePoint environment.
Hope to see you there.
Posted in SPConferences, SPUserGroups | Comments Off on SharePoint Saturday Chicago
Links (6/10/2009)
Posted by Steve Pietrek on June 10, 2009
SharePoint
- A great web part for SharePoint End Users
- SharePoint Photo Gallery using jQuery
- Let’s discuss about some BDC Web parts!
- Creating top-level (welcome page) redirects in SharePoint sites
- Six ways to store settings in SharePoint
- Updating Content Types Custom Edit, View Displayforms
- Embedding css file in custom Webpart in SharePoint
- 4 Minute Screencast: Create SharePoint “Sub-Calendars” using Content Types
- The Content Query Web Part
- Free Last Modified By/Date From SharePoint
- Submitting an InfoPath form to SharePoint with a unique filename
- SharePoint Search Design
- Datasheet view with Lists and content types
- Creating Content Types
- Using SharePoint Controls with Power WebPart
- Best Practices of SharePoint Farm configuring and deployment Part 2 – Installation & Configuration
- Using the Reusable Content to style HTML Contents
- Time Comparison in CAML Queries
- Columns missing when using the Lists.GetListItems SharePoint webservice
- SharePoint Filter web parts: using a context filter in a page layout
Office
Posted in SPLinks | Comments Off on Links (6/10/2009)
Links (6/7/2009)
Posted by Steve Pietrek on June 7, 2009
- Customising Content Query Web Part (CQWP) and Discussion Boards
- SPLimitedWebPartManager.AddWebPart Mysteriously Increments zoneIndex
- Case Study: Dynamic Charts in SharePoint, No Code Required!
- Bigger SharePoint Templates
- Developing Sequential Workflows for SharePoint Server 2007 Using Visual Studio 2008
- jQuery for Everyone: “Read More…” On a Blog Site
- SharePoint Branding Build Test Checklist
- Debugging your code execution for anonymous users in SharePoint
- TechNet Launches New Interactive Silverlight Application for STSADM Technical Reference
- FeatureDeactivating does not remove the EventReceivers
- Add Web Parts to DispForm, EditForm or NewForm.aspx
- WCF and SharePoint: context != context
- SharePoint Performance, Stress or Load Testing
- #SharePoint Lists, event receivers and content types
- Automatically add SharePoint subfolders when adding a new Folder Content Type
- How to: Programmatically read the ChangeLog in PowerShell
- Granularity of SharePoint Features and Solutions
- How To Automatically Changing Permissions in a Doc Lib
- Define custom new/edit/display forms for Content Types
- Deploying the Browser enabled InfoPath Form template through feature
- Using User control (Web service call ) in SharePoint Web part
- Account Names, SharePoint Setups, Server 2008 and Cheese
Posted in SPLinks | Comments Off on Links (6/7/2009)
Links (6/4/2009)
Posted by Steve Pietrek on June 4, 2009
- **** Tiny Calendar!
- Image rotator: build your own!
- SPExLib Release: These Are A Few Of My Favorite Things
- How BIG is your SharePoint
- NO CODE! Silverlight – SharePoint Integration
- jQuery for Everyone: Collapse or Prepopulate Form Fields
- Adventures with Silverlight 3.0 and SharePoint – Part 1
- Get the number of current SharePoint connections
- Using jQuery to fix the removal of the Title column of a list
- Quick config for Silverlight in SharePoint 2007
- jQuery for Everyone: Hourly Summary Web Part
- How to get column names to wrap in #SharePoint new item forms (NewForm.aspx)
- Goolge Wave vs. SharePoint
- STSADM Technical Reference for SharePoint
- Multiple Pie Charts in a WSS Dashboard
- Writing a custom trace listener to log to the 12 hive log from the Enterprise Library logging block
- Dirty secrets of Data View Web Part revealed
- Smarter SharePoint Alerts – IM and Text
- Taming the Elusive “Calculated Column” – Date and Time – Part 3
- Taming the Elusive “Calculated Column” – Date and Time – Part 4
- Retrieve pageurl in SPSiteDataQuery
- Reusing a saved site template (stp) inside another Site Collection
- KPIs – Who Am I and Where do I Come From? (Part 3 of 6)
- Using same custom edit forms across different Lists in SharePoint
- MOSS Web Services – Accessing SharePoint List data
- SharePoint Designer Workflows – what user identity?
Posted in SPLinks | Comments Off on Links (6/4/2009)
Learning jQuery 1.3 Review
Posted by Steve Pietrek on June 1, 2009
I have been working with SharePoint for close to 3 years now. I am always looking for ways to improve what I can do with it. As a SharePoint developer, you need to understand that you do not live in Visual Studio 100% of the time. This is definitely disconcerting to developers who are making the transition to SharePoint. There are many reasons why you are not writing Visual Studio code 100% of the time.
- The functionality you are looking to deploy is already available out-of-the-box. Yes, it may not meet 100% of the business requirements but it is close enough.
- SharePoint Designer can be used to extend and add functionality.
- Your SharePoint Governance plan may restrict what type of custom code can be deployed.
- SharePoint Administrators limit what can be deployed.
- Companies may not currently have in place a way to deploy custom code.
In my case I have run into all of these scenarios. The client I am working with exclusively for the past year does not have a custom code model in place; therefore, Visual Studio applications are out. So what is a developer to do? On most projects, business users want functionality which is not easily available out-of-the-box or through SPD. Can’t very well say, sorry it can’t be done. There are many ways to add custom solutions to SharePoint in a non custom code model.
- SharePoint Designer
- Silverlight. I have been working with Silverlight a bit the past few months and can definitely see the power. I will definitely be writing more blog posts on integrating Silverlight and SharePoint. You use web services to communicate with SharePoint.
- Office Business Applications (OBAs). Instead of putting the custom logic in SharePoint, you put the logic in an Office tool. You use web services to communicate with SharePoint.
- Use JavaScript to create script to do advanced functionality, either by integrating within a Content Editor Web Part (CEWP) or linking in the .js file within your master page.
Although JavaScript is powerful and there are plenty of examples on how to do different things, the biggest obstacle you have is writing extra code to accommodate for different browsers. This is where jQuery comes in. jQuery is a JavaScript library which allows you to create web effects with little code.
From a SharePoint perspective, there are many examples out on the Web of very cool things people have done using jQuery. One notable example is Paul Grenier’s “jQuery for Everyone” series on EndUserSharePoint. Examples include Accordion Quick Launch, Calculated Columns, Resizing Web Parts, and Pre-Populating Form Fields. Jan Tielens has recently written many great posts on how to communicate back to SharePoint from jQuery code using web services. There are plenty of others who have done equally neat things.
So you have decided you want to learn jQuery. What resources are available? First off, there are many resources available on the Web. Open your browser and search for jQuery or SharePoint+jQuery and you will see plenty of links. Second, there are plenty of books. I love tech books – call it a disease – but there is nothing better than opening a box from Amazon and sitting down for a few hours to read. This gets me to the book “Learning jQuery 1.3” written by Jonathan Chaffer and Karl Swedberg which I want to spend some time covering.
I bought the first edition of the book from Amazon. Packt Publishing was kind enough to send me a review copy of their latest book which covers the new 1.3 version. So what are my impressions of the book?
Chapters 2-5 are a good introduction on jQuery. These chapters include Selectors, Events, Effects, and DOM Manipulation. These are the basic building blocks on how to get started with jQuery. Chapter 6 covers AJAX and how you can retrieve data in a seamless fashion. Chapter 7 covers Table Manipulation, Chapter 8 covers Forms Function, and Chapter 9 covers Shufflers and Rotators. Chapters 7-9 do a great job of showing real-world examples which you can use in your applications. The rest of the book covers Plug-ins, or allowing your to extend jQuery. Extensions can be done by you or the community. There are many powerful examples of plug-ins. The most popular would be the jQuery UI. The jQuery UI plug-in includes widgets such as the accordion, date-picker, and progress bar; interactions such as drag-and-drop; and effects for animation. One of the next books on my read list is the companion book jQuery UI 1.6: The User Interface Library for jQuery.
My favorite chapter in the book was Chapter 5 which covers DOM Manipulation. Being able to add, delete, and change HTML elements is very powerful and something which you use often on a SharePoint project. One section in the chapter covers creating “pull quotes” which was very timely because they were needed on a project I was currently working on. Each chapter starts small, a snippet here, snippet there, but by the end of the chapter, you are creating full, real-world examples. The chapters are structured in a way that you can go back to a chapter whenever you need a refresher on a particular subject.
As far as 1.3 features, it covers most new features, but there are a features which came out in 1.3.2 which are not covered in the book.
All in all, I really enjoyed this book. I would recommend it for those who want to quickly get up to speed on the jQuery. At just under 400 pages, it can be quickly read within a few days. With that in mind, if you are looking for an all encompassing jQuery reference, you may need other resources to learn all the jQuery nuisances.
Posted in SPBookReview | Comments Off on Learning jQuery 1.3 Review