.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Sharepoint Designer 2010 - Collect Data from User Issue

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :SharePoint

I am currently running Sharepoint 2010 Foundation and Sharepoint Designer 2010

I am creating a custom workflow where I am asking 1 user for input using collect data from user.  Following this I am asking a different user the same question using another collect data from user.

Since these creates 2 tasks (1 for each user) I wanted to store the information in the same column, but I seem unable to do so.  Each collect data from user seems to create it's own column even if you name both the same (you end up with 2 columns with the same name but different column id's).

Is there a way to point them both to the same column?  Is there a better way to do this?


More the less I am asking the both persons a yes/no question.  in my workflow if they both say yes I send an e-mail but wanted to have only 1 column in the vew to see the results on the tasks.




View Complete Post

More Related Resource Links

Collect Data From User in Sharepoint 2010



I am trying to run a task where I collect data from a user, simple YES/NO choice selection, within SPD.

I have created the workflow and it does run, however the Output to returns the List Item Id, which is fine, I understand this is the Task ID.

But I cannot work out how to get the result from my YES/NO to use further in the workflow so as to change the status of another list item.

I have read the guide for 2007 (http://office.microsoft.com/en-us/sharepoint-designer-help/collect-data-from-a-user-in-a-workflow-HA010209808.aspx#BM5) but this guide does not follow for SPD 2010.

Can anyone point me in the direction of a guide/example or explain what I am missing.  I would prefer to be able to complete this task within SPD, rather than VS2010.

Thanks in advance


How can I show data from a Workflow variable in a SharePoint Designer Collect Data from User form?



I have collected some data (a comment) from a user in a SharePoint Designer (SPD) workflow step and I now want to display that comment in a second "Collect Data from User" form at a subsequent step in my workflow.  How can I add the content of my Workflow data variable, or even data from my original item, in the Collect Data from user form?

The Collect Data from user form is generated out of the Workflow Tasks list and only contains the url of the item where I could store the comment and which has the workflow attached to it.

This guy says he has done something similar but he appears to only use the URL and static info and does not explain the detail in any case: http://www.mstechblogs.com/paul/spd-workflow-collect-data-from-a-user-modify-the-generated-task-form

I'm keen to hack at the aspx form in SPD but I really need the particular line of code that will do it as I'm not a developer.

Your help is greatly appreciated!

Selecting a Task List in Sharepoint Designer 2007 while setting up "Collect Data from User"

When using Sharepoint Designer 2007 to Collect Data from User the task list cannot be selected.  Instead the Task list that is defaulted is the most recently created Task List.  How can I select a specific Task list to associate with"Collect Data from User"?

Share Point Designer 2007 Workflow (Sequential) - multi-collect data from user

I am currently building a multi-step workflow using ShrePoint designer for MOSS2007. I am getting a bit confused as to if I have an error or if I am doing something incorrect. Here is what I have going. My workflow consists of something similar to the following New document comes in, a collect data from user routine is ran and assigned to a reviewer. My understanding when I create a collect data from user WorkFlow step is any data I request is saved in the "Tasks" list. Therefore I need to grab the workflow task ID in order to later lookup what the reviewer submitted... I understand this...   However, I have one more collect data from user workflow step and I have one more item to collect. Even though this is a brand new collect data from user workflow step - does the collected data still go into the "Tasks" list? In other words, if I have two steps in a workflow and both of these steps are "collect data from user", does the data from both steps go into the same "Tasks" list?  I could see how this might be possible as long as the Task list columns contain all the items for all the different "collect" data from user steps.  I don't see two different Tasks lists representing or named "Reviewer" or "Final" or anything, so I assume the items are all in "Tasks"   However..

How to get User group in SharePoint Designer 2010 within workflow?

Hi, How to get user group in sharepoint designer within workflow? Basically I have to compair that current user is belongs to particular group or not.  How can I get check user group in workflow's if condition? G. Goyal

SharePoint Designer 2010: Business data connectivity metadata store is unavailable

Running SharePoint Server 2010 RTM. Fresh install in production not via the wizard but a vanilla install and bringing services up one by one. Just brought up the Business Data Connectivity Service. Other services currently up are Managed Metadata Service and User Profile Service. Two web applications with services deployed to both web applications. The scenario below holds true when connecting to a site on either web application. 1) Open a site, i.e., root portal site, in SharePoint Designer 2010 2) Click External Content Types. Error returned: "The Business Data Connectivity Metadata Store is currently unavailable" is returned. 3) Click Ok then click New | External Content Type. Error returned "THe server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults...". The Business Data Connectivity Service status in Central Administration is Started. Any ideas?

Data View Web Part in SharePoint Designer 2010

Is Data View Web Part (aka Data Form Web Part) in the SharePoint 2010 has changed from the SharePoint 2007 or Is it working differently in the SharePoint Designer 2010? In SharePoint Designer 2007, whenever you have data view web part on the page, there is little handle to click on the top right of the data view web part to show Common Common Data View Tasks. Also for each cell, there was a handle to show xsl:value-of tasks which was great for formatting. Is that option is gone in the SharePoint Designer 2010?

SharePoint Designer 2010 External Content Types Data Source Already Exists in Business Data Connecti


I used the Secure Store to create connection in SharePoint 2010 Designer External Content Types Data Source Explorer.  Later I changed some column names in the table.  I deleted the connection from Data Source Explorer and recreated it. I right clicked on the table and selected Create All Operations. When I clicked the Finish button, I got "The system definition with the same name as this data source already exists in the Business Data Connectivity Metadata Store and it refers to a different data source.  Cannot complete operation generation.  Add a connection to this data source with a different name and try again." 

I re-created the Secure Store using a different name in SharePoint 2010 Central Administration.  I didn't find the option to choose the connection name in SharePoint 2010 Designer. After I clicked Add Connection, I entered the Database Server and the Database Name, selected Connect with Impersonated Window Identity, entered Secure Store name, and clicked OK. The connection created with the database name as before.

Sharepoint 2010 popup page issue while sign in as diferrent user


We have a SharePoint 2010 portal in which one of the functionalities opens a list item add form as a popup. We customized this add form using SPD by adding the following java script functions.

<script type="text/javascript">



function PreSaveAction()

 var reqType= document.getElementById("ctl00_xxxxxxxxxxxxx_ctl00_Lookup").value;
 reqType= reqType.replace(/^\s+|\s+$/g, '');

 var reqDesc= document.getElementById("ctl00_xxxxxxxxxxxxx_ctl00_TextField").value;
 reqDesc= reqDesc.replace(/^\s+|\s+$/g, '');
 var error="";
   error=error+" &";
  error=error+" Description";

 error=error+ " can not be empty";

How to get Email of Current User Data View Web Part Sharepoint 2010 and pass to WebService data sour

I have to pass in the email address of the current user to a web service data source (run time) of a Data View Web Part.

My Question is:

a) How can I get Email address of current user based  in DVWP.
I know we can get the CurrentUser using the CurrentUserName but how do we get the Email for the Current User.

b) After getting the Email how do we pass to the Web Service.

User profile synchronization issue in SharePoint 2010 Enterprise


User profile is not getting sync.

We see warning events with following details each day before the schedule task starts.

"The credentials used for the account DC\soft.ac expired on 3/15/2008 1:20:42 AM, and need to be updated. If they are not updated, the system may stop working. The account is used by the following:

Farm Account

Microsoft SharePoint Foundation Sandboxed Code Service User Profile Synchronization Service etc..."

But the account is not expired.

Can anyone help?

Creating SOAP or REST Data Sources in SharePoint 2010 Designer while using Forefront Server


When I create a REST data source to access a sharepoint list, I have permission issues because of the Forefront sever in front of my SharePoint 2010 server.  I've tested in an environment without the Forefront server and it works as expected.

1.  Tested in browser and works fine againsted forefront server (https://myforefrontserver.com/site/sub/_vti_bin/ListData.svc/MyList)

2.  Added this to web.config

      <proxy autoDetect="true" />

3. Created Rest Data Source in SharePoinbt designer pointing to https://myforefrontserver.com/site/sub/_vti_bin/ListData.svc/MyList and tried all logon options with no sucess.

Out of ideas

SP Designer 2010 - SOAP Data Source - Pulling User Profiles with XML QueryEx


Hello Everyone,


I have been searching this all day and i have yet to find a solution that works.
NOTE: What im about to descibe, ive created previously in MOSS2007.  Im now trying to recreate this in SharePoint Server 2010.


Ok, What im trying to do is pull in Profile information from sharepoints stored list of profiles.  In SharePoint Designer, im creating a SOAP Service Connection in DataSources.

The connection info is as Follows:

Service Location: http://intranet.mycompany.com/_vti_bin/Search.asmx?WSDL

Data Command:  Select

Port:  QueryServiceSoap

Operation: QueryEx

queryXml contains (All on 1 line of course):

<?xml version="1.0" encoding="utf-8" ?>
<QueryPacket xmlns="urn:Microsoft.Search.Query" Revision="1000">
<Query domain="QDomain">
<QueryText language="en-US" type="MSSQLFT">
<![CDATA[ SELECT Size, Rank, Path, Title, Description, Write, PreferredName, WorkEmail, JobTitle, Department, WorkPhone FROM scope() WHERE  ( ("SCOPE" = 'People') ) ORDER BY PreferredName ASC]]>

Hiding Controls According to User in Sharepoint Designer 2010


Dear All,

I created a Document library.In the library list I have added some custom columns.When user click "edit document" I need to disable some field according to user.

I tried to do this with sharepoint designer but wasn't succeeded.

How can I get user name to conditional formatting of the control......?





The Business Data Connectivity Metadata Store is currently unavailable in sharepoint designer 2010

I am getting the following error when runnind SP designer and trying to create new  external content types.

"The Business Data Connectivity Metadata Store is currently unavailable."

checked in ULS Logger, the actual error is "SharePoint Foundation Claims Authentication 8305 Critical An exception occurred when trying to establish endpoint for context: The 'CustomBinding'.'http://tempuri.org/' binding for the 'IWSTrustChannelContract'.'http://tempuri.org/' contract is configured with an authentication mode that requires transport level integrity and confidentiality. However the transport cannot provide integrity and confidentiality.. 5d0b275a-dfa8-4834-ba5a-d8ed7d58abd1"

googled it, found some fix:

1. install the hotfix

2. simply checking the services are running

3. checking for necessary security permissions on the BDC Service Application

4. using the 'disableloop

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend