.Net & SharePoint '07

Technical blog for .Net and all SharePoint 2007 related Information

About the author

Me(Prince) and my wife are B.E in I.T & C.S.E respectively.  I a certified MCPD: Web from 2007 Dec. I am Intrestes in Web Application, MOSS, EPM, etc.
Now working with Deira International School, as IT Application & Help Manager. I have started my career as "Software Developer" @  REACH Sewn Technologies and Consulting Pvt. Ltd, Bangalore India from Oct 2004 to Feb 2006, then as "Web & Intranet Developer" @ Fosroc International Ltd, Dubai from April 2006 to Sep 2009.
You can catch me on mail@jpy-tech.com or mail@princepy.com. Or on 00971 - 50 - 4284530 

Google Translate

Tag cloud

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

RecentComments

Comment RSS

Google Your Location


SharePoint 2007 URL Quick List

The following is a list of SharePoint URLs to get to commonly used administrative functions on a MOSS or WSS v3 site. Not all links listed on this page are accessible to all user levels of a site. This is a quick list for speedy reference as compared to tracking down links through the admin screens or for faster jumping around sites within a site collection.

Function Add to the URL Notes
Add Web Parts Pane ?ToolPaneView=2 Add to the end of the page URL; WILL ONLY WORK IF THE PAGE IS ALREADY CHECKED OUT
Create New Site Content /_layouts/create.aspx  
List Template Gallery /_catalogs/lt  
Manage Site Collection Administrators /_layouts/mngsiteadmin.aspx  
Manage Sites and Workspaces /_layouts/mngsubwebs.aspx  
Manage People /_layouts/people.aspx  
Manage User Permissions /_layouts/user.aspx  
Master Page Gallery /_catalogs/masterpage Also includes Page Layouts
Modify Navigation /_layouts/AreaNavigationSettings.aspx  
Recycle Bin /_layouts/AdminRecycleBin.aspx  
Site Column Gallery /_layouts/mngfield.aspx  
Site Content Types /_layouts/mngctype.aspx  
Site Content and Structure Manager /_layouts/sitemanager.aspx  
Site Settings /_layouts/settings.aspx  
Site Template Gallery /_catalogs/wt  
Site Usage Summary /_layouts/SpUsageWeb.aspx  
User Alerts /_layouts/sitesubs.aspx  
View All Site Content /_layouts/viewlsts.aspx  
Web Part Gallery /_catalogs/wp  
Web Part Page Maintenance ?contents=1 Add to the end of the page URL
Workflows /_layouts/wrkmng.aspx

 

 

thanks heathersolomon

, ,

Posted by admin on Sunday, August 02, 2009 1:23 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Creating a multi-column search form in SharePoint v3 with SharePoint Designer

http://parkesy.wordpress.com/2008/10/31/creating-a-multi-column-search-form-in-sharepoint-v3-with-sharepoint-designer/


Categories: MOSS | SharePoint Designer | WSS
Posted by admin on Thursday, February 19, 2009 5:06 PM
Permalink | Comments (0) | Post RSSRSS comment feed

A declarative workflow does not start automatically after you install Windows SharePoint Services 3.0 Service Pack 1

A declarative workflow does not start automatically after you install Windows SharePoint Services 3.0 Service Pack 1

or

A declarative Sharepoint Designer workflow does not start automatically.


Posted by admin on Wednesday, February 04, 2009 11:38 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Error message when you try to attach a file in a custom form on the Web site in Windows SharePoint Services 3.0: “This form was customized not working with attachment"

Support: Microsoft KB

"Try it, on your responsibility"

SYMPTOMS

You use Microsoft Office SharePoint Designer 2007 to add a Custom List Form Web Part on a Microsoft Windows SharePoint Services 3.0 site. Then, you try to attach a file by clicking Attach File in the custom form on the Web site. When you do this, you receive the following error message:
This form was customized not working with attachment.

RESOLUTION

To resolve this problem, follow these steps:

Step 1:

Apply hotfix 953749.

For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
953749(http://support.microsoft.com/kb/953271) Issues that are fixed in Windows SharePoint Services 3.0 by the Windows SharePoint Services 3.0 Infrastructure Update 

Step 2:

Open the List/Document New/Edit Page in SharePoint Designer 2007. Set the Layout to Hidden, and close the Web Part.

To do this, follow these steps:

  1. Right-click the List form Web Part in SharePoint Designer.
  2. Click Web Part Properties, and then click Layout.

  3. In the Layout dialog box, click to select Hidden, and then close the Web Part.

Step 3:

Edit the XSL code in the .aspx page. To do this, follow these steps, as appropriate for your situation.

3.a: In the XSL code block, locate the following code.

<xsl:template name="dvt_1">
    <xsl:variable name="dvt_StyleName">ListForm</xsl:variable>
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
    <table border="0" width="100%">
        <xsl:call-template name="dvt_1.body">
            <xsl:with-param name="Rows" select="$Rows"/>
        </xsl:call-template>
    </table>
</xsl:template>

3.b: Replace the lines of code that you located in step 3a with the following lines of code.

For New Form:

<xsl:template name="dvt_1">
    <xsl:variable name="dvt_StyleName">ListForm</xsl:variable>
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
    <div>
        <span id="part1">
            <table border="0" width="100%">
                <xsl:call-template name="dvt_1.body">
                    <xsl:with-param name="Rows" select="$Rows"/>
                </xsl:call-template>
            </table>
        </span>
        <SharePoint:AttachmentUpload runat="server" ControlMode="New"/>
        <SharePoint:ItemHiddenVersion runat="server" ControlMode="New"/>
    </div>
</xsl:template>

 

For Edit Form:

<xsl:template name="dvt_1">
    <xsl:variable name="dvt_StyleName">ListForm</xsl:variable>
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
    <div>
        <span id="part1">
            <table border="0" width="100%">
                <xsl:call-template name="dvt_1.body">
                    <xsl:with-param name="Rows" select="$Rows"/>
                </xsl:call-template>
            </table>
        </span>
        <SharePoint:AttachmentUpload runat="server" ControlMode="Edit"/>
        <SharePoint:ItemHiddenVersion runat="server" ControlMode="Edit"/>
    </div>
</xsl:template>

3.c: Locate the following line of code.

<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">

3.d: Paste the following code above the line of code that you located in step 3c.

For New Form:

<tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
        <SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
        <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
        <script>
            var elm = document.getElementById("idAttachmentsTable");
            if (elm == null || elm.rows.length == 0)
            document.getElementById("idAttachmentsRow").style.display='none';
        </script>
    </td>
</tr>

For Edit Form:

<tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
        <SharePoint:FieldLabel ControlMode="Edit" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
        <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="Edit" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('u','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
        <script>
            var elm = document.getElementById("idAttachmentsTable");
            if (elm == null || elm.rows.length == 0)
            document.getElementById("idAttachmentsRow").style.display='none';
        </script>
    </td>
</tr>

Note This code sample is for a custom edit item form. If you use a custom new item form, replace ControlMode=”Edit” with ControlMode=”New” in the code.
Additionally, in the __designer:bind attribute, the first parameter for the ddwrtDataBind function should be "'i'" (insert) for a custom new item form and "'u'" (update) for a custom edit item form.
For example, the code may resemble the following code. <SharePoint:FormField runat="server" id="AttachmentsField{$Pos}" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i',concat('AttachmentsField',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>

3.e: Save the Form.

Notes

  • If you make more changes to the page, SharePoint Designer 2007 may automatically add a unique ID to the attachment code that you added. For example, “<tr id="idAttachmentsRow">” is changed to “<tr id="idAttachmentsRow{generate-id}">.”

This process may cause JavaScript errors on the page. If this issue occurs, delete the “{generate-id}” tags that are added automatically.

 

  • You may receive the following error message:

An unexpected error has occurred

To resolve this issue, move the Custom List form outside the Web Part zone.

  • You receive the following a JavaScript error message:

Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

If you receive this error message, make sure that the ListForm Web Part that is on the page by default is still there. Then, set the Layout to Hidden, and close the Web Part.
To do this, follow these steps:
1. Right-click the List form Web Part in SharePoint Designer.
2. Click Web Part Properties, and then click Layout.
3. In the Layout dialog box, click to select Hidden, and then close the Web Part.


Posted by Admin on Tuesday, February 03, 2009 1:49 PM
Permalink | Comments (2) | Post RSSRSS comment feed

Error message when you click "New" to create a new item in a list or when you click an existing item in SharePoint Server 2007 or in Windows SharePoint Services 3.0: "Invalid page URL" or "An unexpected error has occurred

SYMPTOMS

Consider the following scenario. You use Microsoft Office SharePoint Designer 2007 to customize the NewForm.aspx page of a list in a Microsoft Office SharePoint Server 2007 site or in a Microsoft Windows SharePoint Services 3.0 site. Then, you connect to the list by using a Web browser. In this scenario, you experience the following symptoms:

If you click New to create a new item in the list, you receive the following message:
Invalid page URL:

If you click an existing item in the list, you receive the following error message:
An unexpected error has occurred

Additionally, you might view the properties of the list in SharePoint Designer 2007 and then specify the NewForm.aspx page in the New item form box. When you do this, the NewForm.aspx page appears to be saved as the new item form when you click OK. However, the next time that you view the properties of the list, the New item form box is empty.
Back to the top

CAUSE

This issue occurs if you deleted the List Form Web Part from the NewForm.aspx pa...This issue occurs if you deleted the List Form Web Part from the NewForm.aspx page.
Back to the top

RESOLUTION

Method 1:

To resolve this issue, delete the list, and then re-create it. Then, customize t...To resolve this issue, delete the list, and then re-create it. Then, customize the NewForm.aspx page. When you customize the NewForm.aspx page, make sure that you do not delete the List Form Web Part.
Back to the top

Method 2:

(Many thanks to myang and AngelIndaux !!!)

  1. Open NewForm.aspx and EditForm.aspx in Sharepoint Designer
  2. Copy the code for the ListFormWebPart control from the EditForm.aspx. The code in question reaches from
    <WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{YOUR_GUID}" >
    down to
    </WebPartPages:ListFormWebPart>
  3. Paste it into the broken NewForm.aspx, I pasted it right below the Line:
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
  4. Within the pasted lines of code look up the lines starting with
    <ControlMode
    and
    <FormType
    In the "Control mode" tag replace the "Edit" with "New", in the "FormType"-Section replace the digit "6" with "8".
  5. Before saving, you have to generate a new GUID for the pasted control in your NewForm.aspx otherwise your EditForm.aspx will be broken after saving!!!
    There are online GUID generators on the internet so you don't need Visual Studio, e. g.: http://www.somacon.com/p113.php
    Generate a new GUID and asign it to the "__WebPartId" attribute in the very first line of code of your control:
    <WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{YOUR_NEW_GUID_HERE}" >
  6. Look up the <ID></ID>-Tag further below (it was about 27 lines below in my case) and change a random number in the ID, e. g.
    Before: <ID>g_f01e99f1_7bcf_4f33_aa97_4b7b471903f4</ID>



    After: <ID>g_19C00971-00EB-4100-856E-CFF701F31723</ID>
  1. Save your work...and your done!  

MORE INFORMATION

If you want to customize the controls that appear on the NewForm.aspx page, and...If you want to customize the controls that appear on the NewForm.aspx page, and if you do not want to show the default List Form Web Part, you can hide the List Form Web Part. To do this, follow these steps:

  1. Start SharePoint Designer 2007, and then open the NewForm.aspx page for the list.
  2. Right-click the List Form Web Part, and then click Web Part Properties.
  3. Expand Layout, click to select the Hidden check box, and then click OK.

Posted by admin on Tuesday, February 03, 2009 12:39 PM
Permalink | Comments (3) | Post RSSRSS comment feed