Tag Archive for 'SharePoint'

How to pass InfoPath form fields to SharePoint workflow but hide from Document Library item properties

Challenge:

Create a form in InfoPath 2007 and implement a SharePoint Workflow to it for approval processes. In each step, a Status field in the InfoPat form should be updated automatically according to the change of workflow task status. So a different view in the InfoPath can be opened based on the Status field in the form.

But after the InfoPath was published to the SharePoint (MOSS 2007 with InfoPath Form Services turned on) as Document Library and Content type, the Status field could not be displayed when “Set Field value in Current item” action was selected in the workflow design. Even it was promoted to be available in the SharePoint document library.

Continue reading ‘How to pass InfoPath form fields to SharePoint workflow but hide from Document Library item properties’

Related posts

How to fix non working “Edit this task” button of SharePoint workflow notice in Outlook and InfoPath 2007

Challenge:

Set up a workflow for the InfoPath form in the MOSS 2007 and the workflow worked fine. The approval notice had been sent to the next person’s mailbox, but the Edit this task button on the toolbar of Outlook 2007 did not work. When you click it, nothing happened. You can click the infopath xml link in the message body and the infoPath form was opened. And the Edit this task button in the InfoPath 2007 message bar did not work either.

According to Kerry’s MOSS blog:

This is apparently related to Outlook 2007 using InfoPath to display the approve/reject form. This form contains a CLSID of {00000000-0000-0000-0000-000000000000}. This CLSID is apparently “kill bitted” on some systems and is prevented from being displayed.

Continue reading ‘How to fix non working “Edit this task” button of SharePoint workflow notice in Outlook and InfoPath 2007′

Related posts

[Updated] How to move task list item into sub-folders on sharepoint

MOSSThis post is an updated to the previous post of mine about the Task List item manipulations. Apparently the method I described in the previous post works only for different task lists, not for the sub-folders which belong to the same task list moved from.
When I tried to move the list items into a sub-folder inside the same task list on Manage Content and Structure page, and got the error below

“An error was encountered performing this operation.
Attempt to move url(s): http://site/Lists/Tasks/1_.000; failed. Please try again

Continue reading ‘[Updated] How to move task list item into sub-folders on sharepoint’

Related posts

How to log onto SharePoint server in IE and Firefox automatically without being asked Username and Password

Microsoft SharePoint Server 2007If you are hosting a SharePoint server on your own network within the same domain, you should be able to log onto the SharePoint team sites with your Windows credentials automatically in IE (Internet Explorer).

If not, just like it happened on some of my co-workers recently. The IE will ask you to enter Domain User Name and password whenever you hit the SharePoint team site or download documents from the SharePoint server. If you did not provide the correct logon credential, your IE browser screen will show the followings:

You are not authorized to view this page

You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.


Please try the following:

  • Contact the Web site administrator if you believe you should be able to view this directory or page.
  • Click the Refresh button to try again with different credentials.

HTTP Error 401.2 – Unauthorized: Access is denied due to server configuration.

That means the IE did not pass the user’s windows log in credentials automatically to the SharePoint sites based on the IE’s security settings.

Continue reading ‘How to log onto SharePoint server in IE and Firefox automatically without being asked Username and Password’

Related posts

How to move task list item into sub folders on SharePoint site

Microsoft SharePoint Server 2007Not like Document Library, the list in SharePoint does not have a Windows Explorer View which can allow you to easily move items around. This happened on me when i tried to move some created Task (action register) item to these newly added sub-folders. I could not easily found a way to do the moving like I did in other document library.

Almost gave up and tried to re-created all task items in the sub folders, i found out there is a work-around if you are the administrative on this SharePoint site.

Here is the How-to:

  1. Move mouse over to Site Actions.
  2. And click the Manage Site Content and Structure.
  3. On the Site Content and Structure window, you will see web page divided into two parts. The left part will have a tree-view of your site, and the right part will have item views. Now you start from the left side by expanding tree nodes and highlight the list document library you need to work on, and then you can:
  4. a. find each item you need to move, and click the drop down menu of each list item title, and select Move to…;

    b. Or if you need to move multiple items, you can check the check boxes of each item, and click Actions menu and select Move… option.
  5. A new window will be opened, and you can choose the new destination from there.

Good luck.

Related posts

How to resolve “‘Edit Document’ requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater” error

Microsoft SharePoint Server 2007Yesterday one user reported that when he tried to edit a Microsoft Project document that is stored in a document library of a Microsoft Windows SharePoint Services Web site, he received the following error messages with Office (Project) 2003 installed on his computer.

‘Edit Document’ requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater.

I found a Microsoft Knowledge base article and did what it told me to do by updating the SharePoint support, but could not be successful. Then I tried the method 3 to register the Owssupp.dll but get the following error.

DllUnregisterServer in Owssupp.dll failed….return Error code 0×80070716.

Continue reading ‘How to resolve “‘Edit Document’ requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater” error’

Related posts

How to move Microsoft SQL Server data to different disk drive

Microsoft SharePoint Server 2007Recently just re-installed the Microsoft Office SharePoint Server (MOSS) 2007 applications and database on new servers. But the SharePoint data files were in the C: system drive, which does not have enough space.

To move database files to the D: data drive, what I needed to do is

  1. Remove Content Database from the SharePoint Administrative Central.
  2. Deattch the database from Microsoft SQl server
  3. Move data files to the D: drive
  4. Re-attach the database
  5. Add Content Database to Web Application.

Related posts

Can not start a workflow from a survey response in Windows SharePoint Services 3.0 (MOSS 2007) with "Failed to Start" error

Challenge:

sharepoint When I was approached by a co-worker to come up a quick solution to design a training registration application. The requirement is to display all upcoming training events in calendar view and allow users to register to each training. And upon the registration is submitted, the training department and the user’s supervisor should receive notifications immediately (although not required now, but might need the approval from the supervisor in later development). The deadline is very…, how to say it, … how about this afternoon. Well, while the co-worker asked how to design the database tables and asp.net coding, I suggested why not giving the SharePoint a shot. Since I am the one proposed, then I had to create it for her.

Well, that was what I came up so far. In our Microsoft Office SharePoint Server System (MOSS) 2007 with Windows SharePoint Services 3.0 (WSS), I created a calendar list to display training events; in the calendar item there was a link to another new created survey list acting as a registration form. Then I added a workflow to the survey so that emails will be sent out whenever a new response is added into the survey (or register list).

Everything is working fine, but however, the workflow does not start. Instead, the status of the workflow appears as Failed to Start.

Trouble-Shootings:

I searched this issue on Google, and I found out a lot of people had the similar errors before. Someone pointed out the cause was the user of application pool who should be Network Services instead of a user with administrative right; Someone suggested to re-active the workflow feature in SharePoint Application server; Someone asked whether it was done in SharePoint Designer  2007.

Continue reading ‘Can not start a workflow from a survey response in Windows SharePoint Services 3.0 (MOSS 2007) with "Failed to Start" error’

Related posts