How to have Infopath form use Sharepoint Domain credentials
I have built a for in infopath which is published to a library on Sharepoint 2013. This form is filled out by certain users and when its completed it gets moved into a subfolder. We then provide a link to a client who has a domain account with restricted
access to just this folder of sharepoint. They can view this form and any others we put in this folder.
The form has 2 views. The first is the view our staff sees when filling it out. There are some hidden sections in there for us that the client does not need to see. So there is a second view which is read only and I have taken away the option for them to
switch views so they can't go back to our internal view.
What I would like to happen is that the form can somehow detect by the domain login info from sharepoint, what user is opening the form and switch views based on that. What I can't figure out how to do it to have the form pull domain credentials from the
sharepoint site and use those a a variable when opening the form to set the view.
I believe I am on the right path what trying to setup a data connection but I am just missing something. I found this great guide http://www.pointgowin.com/seethepoint/Lists/Posts/Post.aspx?ID=55 but now when I open the form I get a warning stating "You
do not have permissions to access a SharePoint list that contains data required for this form to function correctly." Also I still can't seem to pull the username.
Can someone help me out? Point me in the right direction? Thanks.
Hi,
According to your post, my understanding is that you wanted to have Infopath form use Sharepoint Domain credentials.
When you use Claims-based authentication, your user name is prefaced by “0#.w|”. So for example, if your user name is SuesDomain\jdoe then your Claims-based user token will be, without
the quotes: “0#.w|SuesDomain\jdoe”
InfoPath can’t handle that, or more specifically, the UserProfile.asmx method GetUserProfileByName method can’t handle that. InfoPath tries to pass in your Claims-based user token instead
of your domain\User Name.
You have an authentication problem where the currently logged in user is not allowed to hit the web service, so you get an Access Denied 401 authentication error
To resolve the issue, you can refer to the great blog:
SharePoint 2013, InfoPath and Claims – GetUserProfileByName
More information:
InfoPath over Claims Authentication (SharePoint 2010 & 2013)
SharePoint 2013 Business Connectivity Services Search and Profile PageMetroStar Systems Blog
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support
Similar Messages
-
How to migrate sharepoint 2010 infopath form to sharepoint online.
how to migrate SharePoint 2010 infopath form to SharePoint online.
Hi Partha,
You use powershell script to migrate infopath forms from SP 2010 to SP Online. But you need to be careful about external connections used in infopath forms(web service connections etc.) because they might required to be changed. So, for data connections,
use of Data Connection Library is a preferable way or you can write a powershell script to update the data connections also.
You can find the sample script from the below url:
https://drive.google.com/file/d/0B_mYrpgMRd3IbHdpZkNBLVNhd1k/view?usp=sharing
Best Regards,
Brij K -
Pass data between InfoPath forms in SharePoint
Hello!
Maybe someone has ideas about the next issue: how to make pass data between InfoPath forms in SharePoint, like it is shown in a video: https://www.youtube.com/watch?v=-nGl-Se2cOQ
I've read similar topics, but still can't find solution.
Thank you.When you go to modify the submit connection, you can specify whether or not to overwrite, as well as a default title value. If you use the now() function in the title, it should never have the same name.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
I removed SkyDrive for Business and installed OneDrive for Business on my laptop. After that, I had problems opening a Word and Excel document in a SharePoint site (SP2013). After installing Service Pack2 from Office2010, this problem is solved.
But I still have the same problem with InfoPath. Whenever I click an InfoPath form (I have InfoPath 2010 on my laptop),...
... I get the error "cannot display web page".
When I change the URL
ms-infopath:ofe|u|http://intranet.water-link.be/samenwerken/awwit/Autorisaties/Gebruikersbeheer/2015-02-25%20Aanvraag%20gebruikersbeheer%20voor%20Stephanie%20Geeraerts.xml
into
http://intranet.water-link.be/samenwerken/awwit/Autorisaties/Gebruikersbeheer/2015-02-25%20Aanvraag%20gebruikersbeheer%20voor%20Stephanie%20Geeraerts.xml
I can open the InfoPath form and read it.
Any ideas about how to fix this ? I already tried to restore the Office 2010 via Control Panel - Install Programs but without any success...Hi Gert,
As I understand, you can’t open InfoPath form in SharePoint 2013 unless you change the URL without “ms-infopath:ofe|u|”.
There are some reasons which maybe cause this issue, and you can try to do things below:
Access CA -> General Application Settings -> Configure InfoPath Form Service -> Check the two options in User Browser-enabled Form Templates.
Go into the registry by typing regedit from the Run line and rename the SharePoint.OpenDocuments.5 key (ex. SharePoint.OpenDocuments.5.old) under HKEY_CLASSES_ROOT.
In library settings, click "relink documents to this library".
Here are some similar posts for your reference:
http://blogs.technet.com/b/office_integration__sharepoint/archive/2014/02/24/quot-the-webpage-cannot-be-displayed-quot-when-trying-to-open-edit-an-office-file-from-a-sharepoint-2013-site.aspx
http://www.infopathdev.com/forums/t/28998.aspx
Thanks,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
hi All,
Our Browser based Infopath forms have slowed down drastically after applying SharePoint 2010 SP2. Prior to this, we had SharePoint 2010 SP1 and the timings was around 10 seconds (single user) for the entire infopath form to be displayed which has 10-12
views and 5 data connections and 15 business rules and around 100 fields.
But now after applying sharepoint 2010 sp2, the performance has slowed down and it now takes for a single user around 50 seconds.
Refer to the link below, which we followed by applying the patch as well, but the performance is still the same very slow.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/0b673324-01c4-49f7-86cb-647aa43fefd6/infopath-browser-forms-extremely-slow-after-service-pack-2-upgrade?forum=sharepointadminprevious
We have raised a ticket with Microsoft, but there is no concrete resolution as to what component of the infopath has made the form rendering and display slow.
Can someone point me to the right resource or knowledge base where i can do a kind of debug, which tells me exactly which infopath dlls are the issue or which part of my form is taking more time. I am using AOLPageTest and Fiddler, but they do not give me
any details where exactly is the bottleneck.
Any tools that give me the details of the bottleneck.
Thanks and appreciate your help in this.
Regards
Ram
Thanks Ramhi inderjeet,
The application has gone live and its on production, the same application is on pre-prod and UAT, system testing and integration environments.
The infopath form used to work very well on all these environments before we installed sharepoint 2010 sp2. but the moment we installed sharepoint 2010 sp2, the infopath forms have slowed down.
Microsoft has acknowledged that there is an issued with sharepoint 2010 sp2 and infopath form performance, but they are not able to provide an appropriate fix on this.
We have another environment where there is no sharepoint 2010 sp2 applied only sp1 is applied and the infopath form works very well within fraction of seconds.
So your point no. 1 and 2 and 3. does not reveal anything. Fiddler does not give any detailed component by component breakup where the time is taking more.
The form used to work very well before we applied sp2.
I want to know a tool that gives me exactly component by component grant chart kind of breakup of time taken when the infopath url is requested on the browser.
Thanks
ram
Thanks Ram -
How to save infopath form in XML file
How to save InfoPath form in XML file.
I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databasesHi,
Based on your description, my understanding is that you want to save InfoPath form in XML file.
I have done a test in my SharePoint, Do the following steps:
Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
How to create arabic forms using adobe central forms
How to create arabic forms using adobe central forms
Any luck here? I have just a subset of your challenge, i.e., I want to get forms designed in Designer 8.2/Acrobat 9 to work in Reader 7.0.5
Thanks! -
How to close infopath form through code?
Hi All,
How to close infopath form through code, thanks in advance!Hi Sam,
Please check if the articles below can be help:
http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
Regards,
Rebecca Tu
TechNet Community Support -
Infopath form for sharepoint 2013 lags when searching for person or group.
Dear all,
After implementing a infopath form on sharepoint, the search for person or group column lags when I search for someone the second time. (The first time won't lag). Is there a fix to this? And is there a way to modify the search for person or group function
to sharepoint OOTB person or group search? I think the OOTB one is a lot better. Thanks all.
Timothy LiuHave a look at this thread which discussed a same question:
http://social.msdn.microsoft.com/forums/sharepoint/en-US/c55f4245-b2b0-410b-94fc-2afd1ef80da8/preventing-users-from-editing-other-users-infopath-forms
thanks,
Flynn -
HT5517 How can have full picture using mirrored image from iPad
How can have full picture using mirrored image from iPad on my Apple TV airplay
Welcome to the Apple Community.
Mirroring won't fill the TV screen. The iPad has an aspect ratio of 4:3 and the iPhone 4S or prior an aspect ratio of 3:2, neither of these will fit exactly into a TV screen which as an aspect ratio of 16:9. The Apple TV will not zoom the mirrored image, because it may well cut off information which is situated at the top or bottom of the screen.
You may wish to try each of the settings in ‘Settings > Audio & Video > Adjust for AirPlay overscan’ for the best setting that suits you. -
Have Infopath form interact with Sharepoint 2013 Workflow
Situation
I am working on a system having the user fill-in a sequence of list-forms. Form 1 initiates form 2 after closing, Form 2 initiates form 3 after closing etc. This is done by altering the Source= part of the form URL
Form 1 fills list 1 and initiates a workflow to update some fields. This is to prepare some data for form 2. This data is stored in a temporary list
Form 2 fills list 2 gets data from the temporary list and initiates a workflow to update some fields
Problem
When the second form is started, the workflow of the first is not finished yet. In that case the second form uses the wrong data from list 1.
I want to have form2 waiting for a status update on the first workflow so that the correct data is transferred from form 1 to form2
Question
How can I delay the presentation/update of a form based on a status of a list workflow. I want to use out-of-the box techniques and avoid program codeNo, you cannot submit form values of a acrobat to SharePoint. You can use list form for basic form, else try using jquery to build custom forms as an alternative for infopath. Refer to the following codeplex solution. You could use this or build one similar
to that using the source code.
http://forms7.codeplex.com/
--Cheers -
Client use SharePoint 2013. I have to develop a custom webservice for this SharePoint. Webservice will receive some information as request, will fill in a InfoPath form (on based existing infopath template from library) with this information and save result
to SharePoint library.
Could advice how it right organize? What is better to use for custom webservice in SharePoint 2013 (REST api or something else), how better fill in and save infopath form to library?
thanksHi,
In SharePoint 2013, you can still reference the way what it used to be in SharePoint 2010 or previous version.
The two demos would also work in SharePoint 2013:
http://blogs.msdn.com/b/jannemattila/archive/2007/01/21/infopath-and-web-service-data-connection.aspx
http://wmostafaw.wordpress.com/2012/08/07/calling-web-service-from-infopath-2010-with-parameters/
If the customer just want an interactive form for easy input, there are also other options in SharePoint 2013 like:
Customization on the default form pages of a list using JavaScript Client Object Model;
Create a SharePoint App which will enable you implement more complex requirements with Client Object Model and REST API, you can even upload it to the App store to share it with
other people.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they
help and unmark them if they provide no help. If you have feedback for TechNet
Subscriber Support, contact [email protected]
Patrick Liang
TechNet Community Support -
How to programmatically publish an Infopath form to sharepoint form library
Hi all,
I am in trouble because i am trying to find out a solution in C# by which i can publish my infopath form (without any help of publishing wizard in InfoPath form).
For this i seen that when we publish it through the publishing wizard it creates a new form library on the sharepoint site and then publish the form in this form library, so as same i want to do this by code.
I have created a code which creates a form library on sharepoint site but i am unable to publish my infopath form in it because i didn't find any method for publish in C#.for this I searched on google(blogs and forums etc..).I have found only upload method
but i want publish method.
Thanks in advance.
VishalHi Mike,
Thanks for your reply, I have uploaded the infopath from in form library by code as:
uploaddoc();
public
static
void uploaddoc()
using
(SPSite
site = new
SPSite("http://sharepoint
site/"))
using (SPWeb
myWeb = site.OpenWeb())
//Test3 is library's name, in which we want to upload the InfoPath form
SPList docLib = myWeb.Lists["Test3"];Stream
fileStream = System.IO.File.Open(@"c:\desktop\Testform.xsn",System.IO.FileMode.Open);
myWeb.Files.Add("test3/testform.xsn",
fileStream);
docLib.Update();
could you please describe that how can I associate my uploaded form to this form library
Regards
Vishal -
How to submit InfoPath form data to multiple SharePoint lists at one time?
Hi,
I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in the XML. I know that you can submit to a form library using SharePoint document library data connection, but I'm not sure if you can use several data connections for submitting data to multiple SharePoint lists. Is it only possible to do using code? If yes, can anyone show a sample. I have never coded in InfoPath, though I used C# a lot in .Net.
Thank you!Regards,
R.D.M.This is an old thread but I tripped over a codeless method to do this with OOB InfoPath 2010 and SP 2010.
Assuming your main InfoPath form is published to a document library with the promoted fields that you want to see.
Publish your form to a new document library to capture the secondary data fields that you want separated out.
Using the Publishing Wizard do the following:
Go to – File then Publish
Select SharePoint Server “ Publish form to a SharePoint Library”
Enter location of your SharePoint or InfoPath Forms Services Site:
accept the default in this field from the first published event
Next screen, keep the default or change it, Form Library, Site Content Type or Admin Approved
Next screen, What do you want to do?
Create a new form library
Add new document library name and description
Next screen, Remove all promoted fields not applicable to the new library and add all of the ones you want to see data for.
Click Next and Publish
Come back into the form: If you don’t have buttons added directly to the form to submit or update, add them.
Create a new Action rule on the button
Label the rule to keep it straight
Condition, occurs when button clicked
Add action, Submit data
Use data connection to the second library created
Create a second new Action rule on the same button
Label the rule to keep it straight
Condition, occurs when button clicked
Add action, Submit data
Use original data connection to the library
Then you can add another action to close the form or do whatever you need.
Republish the form to both libraries to set the template for both.
File – Publish – SharePoint Server
Select Secondary library from drop down follow the rest of the prompts
Follow step 5a again, select Primary library from drop down, Add back in all of the promoted fields needed for the primary library and follow the prompts.
DOCUMENT YOUR FORM WELL FOR MAINTENANCE
Special considerations, your primary library needs a unique ID to reference in your secondary library.
Your secondary library will need a unique ID that is not related to the primary if you are going to store multiple records for a single primary library reference.
Example: One form, multiple updates. -
How to enable infopath form service in sharepoint
Hi,
I am using Infopath designer 2013.
When i am opening Sharepoint List, after mentioning its url its giving me following error:
How can i enable infopath form service.
please help to solve the issue.
Thanks in advance!
Regards
rajniHello,
It seems enterprise feature is not activated to your site, not CA. Please go to your site Site Settings/Site Collection Administration/Features and activate the SharePoint Server Enterprise Site Collection features.
See this thread for your ref:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5225cb4a-f981-49b5-ac1c-e3c832bcf79d/this-feature-requires-sharepoint-server-2010-or-greater-with-infopath-forms-services-enabled?forum=sharepointgeneralprevious
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Maybe you are looking for
-
Need help in migration of database from 8i to 10g
Hi, I have to upgrade the database of our application form 8.1.6 to 10g release2 version. I am new in this job. Can anyoneone give the guideline that in which part i have to taken care of specially. Thanks,
-
Anybody having bluetooth connectivity issues after devices are paired? Periodically, my mouse stops working and I have to turn it off and back on for it to reconnect. Mouse doesn't do this when paired with my old Dell Inspiron 9300 laptop.-bp
-
We are getting a 500 error on the web gates when logging in. They have been working before, but are now reporting the error below. 2010/01/27@07:09:25.632239 18521 33 WEB ERROR 0x0000151F /export/build40/Oblix/coreid1014/palantir/commonlib/src/apache
-
Spool not creating when executing in background
Hi All When i try to execute background printing for transaction code MCBA, system is finishing the job but not creating the spool. But for other transactions it is creating the spool corectly. Please Advice. Thanks Ravindra Suvarna
-
ACS User export with Client IP (v3.3)
I want to export all users from a v3.3 appliance, to include the Client IP assigned to each user. I've got on the console and run the "exportusers" command and this gives me all the users, but not their associated IP's. Any ideas?