Using Query String Variables to Populate SharePoint Form Fields

Filed Under (Uncategorized) by roadburn on 18-07-2008

Tagged Under :

http://mdablog.spaces.live.com/blog/cns!B0C40902E1212960!623.entry

<script type="text/javascript">

_spBodyOnLoadFunctionNames.push("fillDefaultValues");

var vals = new Object();

var navBarHelpOverrideKey = "wssmain";

function fillDefaultValues() {
  var qs = location.search.substring(1, location.search.length);
  var args = qs.split("&");

  for (var i=0; i < args.length; i++) {
    var nameVal = args[i].split("=");
    var temp = unescape(nameVal[1]).split('+');
    nameVal[1] = temp.join(' ');
    vals[nameVal[0]] = nameVal[1];
  }
  setLookupFromFieldName("ProjectID", vals["ProjectID"]);
}

// setLookupFromFieldName: Set a form field value using its
//    fieldname to find it in the page
// Arguments:
//        fieldName:    The name of the list column
//        value:        Set the fieldName to this value
//
    function setLookupFromFieldName(fieldName, value) {
        if (value == undefined) return;
        var theInput = getTagFromIdentifierAndTitle("input","",fieldName);
        if(theInput != null) {
            theInput.value = value;
        }
    }

// getTagFromIdentifierAndTitle: Find a form field object using its tagName,
//     identifier, and title to find it in the page
// Arguments:
//        tagName:    The type of input field (input, select, etc.)
//        identifier:    The identifier for the instance of the fieldName
//                       (ff1, ff2, etc.)
//        title:        The title of the list column
//
    function getTagFromIdentifierAndTitle(tagName, identifier, title) {
        var len = identifier.length;
        var tags = document.getElementsByTagName(tagName);

        for (var i=0; i < tags.length; i++) {
            var tempString = tags[i].id;
            if (tags[i].title == title && (identifier == "" ||
                  tempString.indexOf(identifier) == tempString.length - len)) {
                return tags[i];
            }
        }
        return null;
    }

</script>

More on Single Sign-On for MOSS

Filed Under (Uncategorized) by roadburn on 16-07-2008

Tagged Under : ,

http://www.sharepointblogs.com/llowevad/archive/2007/06/25/sharepoint-2007-single-sign-on-setup.aspx

 

http://technet.microsoft.com/en-us/library/cc262932(TechNet.10).aspx

Custom Application Page MOSS 2007, Sharepoint v3

Filed Under (Uncategorized) by roadburn on 11-07-2008

Tagged Under : ,

configure single signon in sharepoint designer

http://blogs.msdn.com/sharepointdesigner/archive/2007/08/27/an-introduction-to-single-sign-on-sso-with-data-views.aspx

Developing ASP.Net 2.0 Code Behind pages for SharePoint: Using VSeWSS1.1

http://claytonj.wordpress.com/2008/04/13/sharepoint-code-behind-demo-using-vsewss11/

Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites

http://www.andrewconnell.com/blog/articles/UsingCodeBehindFilesInSharePointSites.aspx

 

Application Development on MOSS 2007 and WSS V3

http://blogs.msdn.com/cjohnson/archive/2006/09/05/740498.aspx

VS 2005 Web Application Project V1.0 Released

http://weblogs.asp.net/scottgu/archive/2006/05/08/445742.aspx

Creating Application Pages (_layouts) in MOSS 2007 - How to do rapid development using Form Field Controls

http://www.sharepointace.com/Blog/post/2008/01/Creating-Application-Pages-(_layouts)-in-MOSS-2007—How-to-do-rapid-development-using-Built-In-Form-Field-Controls.aspx

Custom Application for Sharepoint 2007

Filed Under (Uncategorized) by roadburn on 04-07-2008

Tagged Under : ,

Walkthrough by Ted Pattison

http://msdn.microsoft.com/en-us/library/bb418732.aspx

Determining where to build custom application

http://msdn.microsoft.com/en-us/library/ms413865.aspx

Getting Started with Programmatically Customizing a SharePoint Web Site in Visual Studio

http://msdn.microsoft.com/en-us/library/ms479423.aspx

Search Webparts for MOSS

Filed Under (Uncategorized) by roadburn on 02-07-2008

Tagged Under : , ,

MOSS Faceted Search

http://www.codeplex.com/FacetedSearch
Custom XSLT for the Search Core Results Web Part
http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1669

Reporting services addin for sharepoint 2007

Filed Under (Uncategorized) by roadburn on 27-06-2008

Tagged Under : ,

http://www.harbar.net/archive/2007/02/24/In-a-nutshell-Reporting-Services-Addin-for-SharePoint-2007.aspx

Sharepoint 2007 Advanced lectures and white papers

Filed Under (Uncategorized) by roadburn on 25-03-2008

Tagged Under : , ,

  • Overview: Office SharePoint Server server farm architecture
  • Overview: Configuring server farms
  • Securing server farms
  • Configuring performance options
  • Operations and management
  • Capacity planning
  • Search architecture and configuration
  • Backing up, restoring, high availability, and disaster recovery for Office SharePoint Server server farms

http://technet.microsoft.com/en-us/library/cc299032.aspx

MOSS - Sharepoint 2007 Custom Site Usage Report

Filed Under (Uncategorized) by roadburn on 27-02-2008

Tagged Under : ,

Configuring Usage Analysis
http://technet2.microsoft.com/windowsserver/WSS/en/library/6921bcb7-bc09-4c9a-b841-5467f2a59cda1033.mspx?mfr=true

C++ Parser
http://msdn2.microsoft.com/en-us/library/bb814929.aspx

C# Parser
http://www.sharepointblogs.com/wpowell/archive/2007/06/22/moss-usage-log-processing-file-processing.aspx

Keberos Authentication Sharepoint 2007

Filed Under (Uncategorized) by roadburn on 05-12-2007

Tagged Under : , ,

Configuring Kerberos for SharePoint 2007: Part 1 - Base Configuration for SharePoint

Configuring Kerberos for SharePoint 2007: Part 2 - Excel Services and SQL Analysis Services

Sharepoint 2007 SiteTemplates

Filed Under (Uncategorized) by roadburn on 04-12-2007

Tagged Under : ,

http://stsadm.blogspot.com/2007/08/set-available-site-templates.html

GLOBAL#0 = Global template (1033)
STS#0 = Team Site (1033)
STS#1 = Blank Site (1033)
STS#2 = Document Workspace (1033)
MPS#0 = Basic Meeting Workspace (1033)
MPS#1 = Blank Meeting Workspace (1033)
MPS#2 = Decision Meeting Workspace (1033)
MPS#3 = Social Meeting Workspace (1033)
MPS#4 = Multipage Meeting Workspace (1033)
CENTRALADMIN#0 = Central Admin Site (1033)
WIKI#0 = Wiki Site (1033)
BLOG#0 = Blog (1033)
BDR#0 = Document Center (1033)
OFFILE#0 = Records Center (1033)
OFFILE#1 = Records Center (1033)
OSRV#0 = Shared Services Administration Site (1033)
SPS#0 = SharePoint Portal Server Site (1033)
SPSPERS#0 = SharePoint Portal Server Personal Space (1033)
SPSMSITE#0 = Personalization Site (1033)
SPSTOC#0 = Contents area Template (1033)
SPSTOPIC#0 = Topic area template (1033)
SPSNEWS#0 = News Site (1033)
CMSPUBLISHING#0 = Publishing Site (1033)
BLANKINTERNET#0 = Publishing Site (1033)
BLANKINTERNET#1 = Press Releases Site (1033)
BLANKINTERNET#2 = Publishing Site with Workflow (1033)
SPSNHOME#0 = News Site (1033)
SPSSITES#0 = Site Directory (1033)
SPSCOMMU#0 = Community area template (1033)
SPSREPORTCENTER#0 = Report Center (1033)
SPSPORTAL#0 = Collaboration Portal (1033)
SRCHCEN#0 = Search Center with Tabs (1033)
PROFILES#0 = Profiles (1033)
BLANKINTERNETCONTAINER#0 = Publishing Portal (1033)
SPSMSITEHOST#0 = My Site Host (1033)
SRCHCENTERLITE#0 = Search Center (1033)
SRCHCENTERLITE#1 = Search Center (1033)
SPSBWEB#0 = SharePoint Portal Server BucketWeb Template (1033)