ObjectSharp Blogs

You are currently viewing

Justin Lee's Technology Blog


Languages, Languages, Languages!


Browse by Tags

Elevating Privileges in SharePoint

Here’s a good tip for elevating privileges in SharePoint. http://blogs.devhorizon.com/blogs/reza_on_blogging/archive/2007/07/12/484.aspx For those who doesn’t want to click on that link (like myself when I searching for this post again), here’s the code. Read More...

Where is my Check-In in SharePoint Designer?

If you notice, the master page file in SharePoint Designer is checked out (from the check symbol at the side). It’s supposed to show me “Check In” and “Undo Check Out” and all that. Where is it? It is under your “Edit” toolbar, “Check In”. So when it Read More...

Hiding Sign In Link For Anonymous Access Users in SharePoint

To customize SharePoint “Sign In” link, we need to modify or duplicate Welcome.ascx in your Control Templates directory. Here’s a good post specifying how to hide your sign in link. Hide the Sign In link for the anonymous access user in anonymous access Read More...

SharePoint: Bug or Feature? @Created not on Variation Site

As mentioned in the title, the @Created date field (or site column, depending on your terminology), the date of document creation, which is by default available to all pages and documents, is not replicated when you create a site variation. It is however Read More...

Sharepoint Development: Enable Debugging

Note to self – Before developing on SharePoint, always enable debugging on the development machine to see a “little” more verbose error messages. Edit the web.config and change the following: < SafeMode   MaxControls ="200"   CallStack Read More...

Sharepoint Development: &quot;Request failed&quot; with custom page or dlls/assemblies

Note to self - If using any external assemblies that try to access Microsoft.Sharepoint assemblies, remember to change the trust level to full in the web.config. <trust level="Full" originUrl="" /> This is only used during development. When it comes Read More...

SharePoint Designer Bug With Creating Data View Web Parts

For those who has been getting the ultimate crashes from SharePoint Designer, and many weird oddities with it, this is something that you should know while working with Data View Web Parts. Occasionally, SharePoint Designer will NOT allow you to add a Read More...

SharePoint Tip: Displaying HTML Encodes Properly

Here's a tip for those people getting &amp; instead of & (and all those other fancy html encodes) from your XSLT variables. You just need to add disable-output-escaping and set that to "yes" when you do a value-of. <xsl: value -of select= "$Site" Read More...

String Replacement with XSLT

While working with SharePoint, I found that I sometimes need to replace strings with some characters or strings, for example, replacing "&amp;" with "&", or replacing "_x0020_" with " ". This is a useful template to do so. I got this template Read More...