my requirement is to get loggedin user data through webservice and displayed in InfoPath form. i have follow the below steps.
Create the form
View Complete Post
Get user info in infopath using data connection hi,
i want to use the absence request template form and connect the employee section and manager section to an existing database.
what i want to create now in this template is this (i'm going to explain my scenario):
- when the user open the infopath absence request form and insert his name, id number etc (employee section), the approver's name and mail addres (manager section) filled automatically. the approver name must be corresponding to the user name.
in the existing database there is a table with the approvers name filled for each user, but from there i dont know how to apllicate this table to use for the auto fill.
and after the form is ready can i publish it to my wss 3 site collection?
is there a tutorial that explain a scenario like this?
I have been following the examples on how to create a data connection to the MOSS User Profile Service and have run into a snag.ÃÂ Specifically, I am trying to have the Infopath form pre-populate the name of the user who is currently logged in.The two good references I have found are:
I have tried both methids and run into the same problem. When I preview the form, I get nothing.ÃÂ I ran a sniffer and here is what I get:
HTTP/1.1 401 Unauthorized..Content-Length: 1656..Content-Type: text/html..Server: Microsoft-IIS/6.0..WWW-Authenticate: Nego
I want the User Profile information in InfoPath Form from active directory and I want complete information of currently logged in user which include:
User Name, First Name, Last Name, Email Address, Designation, Company, Manager Name and everything which is in the profile of user in Active Directory. Please help me in getting this.
M Kamran Rafi
I am getting following error message in my SharePoint Logs,
InfoPath Forms Services has detected a mismatch between the user's data in the browser and on the server. This may indicate the SESSION_STATE_PASCAL_CASED is not configured properly on a multiple front end farm or that a malicious user is trying
to tamper with client data.
Any idea how to solve this issue ?
Our User Profile Service is importing the data from AD. But there are additional data which is coming from different system (LDAP). We are supplementing additional fields in this way
-> Download from LDAP to SQL. From SQL update User Profile (which i am considering to use BCS now).
Here is my question, is there anyway to update the user profile with the data from LDAP directly instead of the above two step process. (Like customizing BCS through VS 2010, or if this is available out of the BOX)
I've developed an InfoPath form using SQL webserivce which contain drop downs. In SharePoint, I created a Data Connection Library and Forms Library. In InfoPath forms, I'm using ucdx file which i placed in my Data Connection Library. I'm also using Full
Trust and created new certificate. I published it using 'Enable this form to be filled out using a browser' option and 'Administrator-Approved form template'.
Using Central Admin, Manage Form Templates > Upload Form Templates. I uploaded InfoPath xsn file and activate it in the Site Collection. Now, I can see my form in the Form Templates library. I opened the form using 'Open in the client application', it
asked for the username/password and opened the form in the InfoPath forms. It works absolutely fine. But, when i try to open the form using 'Display as a Web page', is doesn't show the values in the drop down which is coming through webservice. No error as
Any idea folks ?
i am trying to get the Department of a user , using the following code
strCurrentUser = objWeb.CurrentUser.Name;
objList = objWeb.Lists["MyList"];
SPSite _site =
We have our intranet on MOSS 2007. Some of the users (particularly those who have edited their account names in AD) are getting the above error when they try to 'Edit Details' from 'My Profile' in 'My Site'.
I am not sure how to resolve this issue. Can someone kindly help me please?
I have a Profile with a Property like this:
<add name="UserDetails" type="oUserDetails" serializeAs="Binary"/>
How can I show all Users with their Details in a GridWiew and how to enable filtering for values located in the UserDetails class. For example UserDetails.FavouriteColor which is a string.
I'm not sure how to structure the code for this but what I want to do is be able to add data to a database, and once this has completed successfully, then email the user to say the details have been added successfully to the database.
I need to:
1. Check that the relevant data has been added into the database then
2. Email the details of the relevant data when completed.
Thanks in advance for your help,
I'm using the defualt membership provider, i created a table and used the gridview on the logged in user page to show his information such as address e-mail phone zip code etc,, how can i do this without writing a code?
I am new to asp.net i need simple help please?
I'm trying to get the current logged in UserId Value, using this code
Protected Sub UserProfileDataSource_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles UserProfileDataSource.Selecting
' Get a reference to the currently logged on user
Dim currentUser As MembershipUser = Membership.GetUser()
' Determine the currently logged on user's UserId value
Dim currentUserId As Guid = CType(currentUser.ProviderUserKey, Guid)
' Assign the currently logged on user's UserId to the @UserId parameter
e.Command.Parameters("@UserId").Value = currentUserId
But, I getting an error (NullReferenceException), I did set a url authorization on the page that i try to get the logged in user information, witch is info.aspx, and I made the login.aspx control to be redirected to the info.aspx after the login process, But the info.aspx only shows me (access in denied), how can i make this page knows that i am already logged in?
I am trying to persist data in a dynamically populated ListBox in a
user control. Here are the details
I have a user control which contains a a listBox and button. On
Page_Load of user control I am populating the ListBox control with some
values. On Click of button, I am trying to fetch the values which I have
selected in ListBox. Though this seems very simple
and straight forward I am unable to fetch values.
My Page_Load Function
void Page_Load(object sender, EventArgs e)
My Click Function
Protected Void Button1_Click(object sender, EventArgs e)
string strValue = listBox.SelectedValue
I have placed brake point at Page_Load and on click function, I am
seeing that the moment the breakpoin
MicrosoftÃÂ® Office is one of the most well-known and most-used consumer products. For many people, their only experience with a computer is when using Office, be it checking e-mail, creating presentations, or writing a document.
MSDN Magazine February 2006
MSDN Magazine November 2003