Tag Info

Hot answers tagged

8

Try editing the SharePoint list settings in the browser. Open the list, go to List Settings, click the field name and select "No" for "Allow multiple selections". Edit after clarification that this is not a list form: The described behavior of the control leads me to believe that the form has initially been created with InfoPath 2007 and the people picker ...


8

Per that same article, Microsoft has indicated they will support InfoPath 2013 until 2023 and that they are working to provide migration guidance from InfoPath into whatever successor technology or technologies based on Office and/or SharePoint may take its place. If you have a 3-5 year time horizon, I wouldn't rule out InfoPath completely. It would seem ...


5

I've had a similar problem; SharePoint/InfoPath doesn’t seem to deal with multiple-selection list boxes very well (unless I'm also missing something). The workaround I used w/o code was to create a new hidden field with the default value set to: eval(eval(MultiSelectField[. != ""], 'concat(., ", ")'), "..") where MultiSelectField is your field Tick ...


4

I would recommend to take a look at Nintex Forms. It replaces InfoPath Forms Services to some extent, Nintex Forms is a web based designer that enables forms to be created within SharePoint. The following products are currently available: Nintex Forms Nintex Forms for Office 365 P.S. Disclosure, i do not work at Nintex company


3

Yes, there is. In the list go to List Settings > Form Settings and tick "Use the default SharePoint Form". If you keep the option "Delete the InfoPath form from the server" unticked, you can later switch back to the IP form. If you tick that option, it will be gone for good.


3

One way for your to achieve this would be: Create a new SharePoint Group (or you can use one existent already) Make sure the original People/Person field in itself (when defined in the underlying list) is only allowing selection from that specific Group. Put target User into the group at step 1. Refresh your form to get the latest updates from the ...


3

In InfoPath Designer, open the form template and go to File > Form Options > Property Promotion. Remove the field and publish the form. Then add the field to the promoted properties and publish the form again. The view will show the column as empty, but the previously entered values still exist in the form. Just opening and closing the form will make the ...


3

You can use Query String parameters to send to InfoPath form and if you want no code solution, you can use Query String (URL) Filter Web Part.. Following blog shows how: How to Pass Querystring data into an InfoPath Form If you want to access them in code, you can access like: // URL: http://www.foo.com/bar.xsn?xyz=1 public void FormEvents_Loading(object ...


3

One idea can be to store the data in a List (maybe temporarily) and on InfoPath form make a connection to this List, get data from there.. If you have multiple entries in List and need to identify which one you should pick, you can still use QueryString approach to send the List Item Id..


3

You mention that the form is stored in http://sharepoint/travel, but the error mentions the form residing in http://sharepoint/services. It could be that /travel and or /services are (in) different site collections using explicit managed paths. Get a listing of all Site Collections in that Web Application and see if this is the case.


3

I have never had success exporting the files and importing or adjusting the CSS so this is what I do. I make all the fields not required, eliminating the red dashed border and put an asterisk by the required fields. Then I create rules to disable a custom save/submit button until all the required fields are not blank.


2

I deleted read-only columns in Form library using client object model as, ClientContext context = new ClientContext(sharePointSiteURL);Site oSite = context.Site;Site oSite = context.Site;context.Load(oSite);Web web = context.Web;List doclist = web.Lists.GetByTitle("LibraryName");context.Load(doclist);context.ExecuteQuery();FieldCollection fieldCollection = ...


2

Duh!... Here it is. Infopath File > Form Options > Property Promotion


2

I solved this problem by installing the 'Desktop Experience' Windows feature - go to Server Manager > Manage > Add Roles And Features > Features > User Interfaces and Infrastructure > Desktop Experience. This feature is required to allow SMB-based viewing of SharePoint files (the 'Open in Explorer' option), and it seems InfoPath uses this method of updating ...


2

we can hide/show controls in InfoPath form using "Section control". When you want to hide a table, add the table to the a section and add conditional formatting. How to hide and show controls on InfoPath pages


2

Using the double eval trick, you can create the following rule on your button to disable it until each people picker contains exactly 1 valid username: not(xdMath:Eval(xdMath:Eval(dfs:dataFields/my:SharePointListItem_RW/my:PeoplePickerColumn/pc:Person, 'concat(pc:AccountType, ";")'), "..") = "User;" and ...


2

Are you using Claims Based Authentication? My guess is that you are and you need to have that web service converted into a UDCX, edit the UDCX and add the authentication to point to a Secure Store Service Target Application ID. First create a SSS Target Application, that has access to the web service (generic account), then add the group of users to the ...


2

In InfoPath : 1.Select the field for validation. 2.If the Rules task pane is not already showing, click Manage Rules on the Home tab. 3.In the Rules task pane, click New then select Validation to create a validation rule action. 4.Build a custom rule to validate the field For details use this link (look at Part 3 ─ "Adding Validation, Conditional ...


2

Follow the below steps to make your file name unique when you edit and save Step 1 – Create a Hidden Field Step 2 - Add a Submit data connection Step 3 - Add Custom Rules to Submit action Step 1 – Create a Hidden Field A hidden field is a field that exists in the data source of the form but is not visible to the user. The easiest way to create a ...


2

You should just have to go to the List Settings and go to Form Settings and tick the radio button to Use the default SharePoint form and optionally tick the box to delete the InfoPath form.


2

Go to Form Options -> Property Promotion Add the fields you want to be promoted to the list. Re-Publish the form.


2

The problem is that every list in the template get a new ID when the list is created during the template provisioning. Therefor the filter and fields reference to non existing list. While the web parts reference the list via the url. The filter web part use hard coded ID's. The only way around this is to reconfigure or add a custom code that fix the ...


2

User form templates that contain code can be published by site collection administrations to form libraries as sandboxed solutions. For more information about sandboxed solutions, see Sandboxed solutions overview (SharePoint Server 2010). Form templates that require full trust or use a data connection that is managed by an administrator must be deployed by ...


2

If I understand this right, the reason the fields are not updating is because they are set as default values, which are only assigned once. What you want is a data connection to the other list that can pull the values you want, and then when a user opens the form it will have the updated values in it. Check out this article to see how to do it. Here is an ...


2

A better solution than having multiple People Picker fields would be to have just 1 field and allow multiple values (in properties). You then can send out emails when the form is submitted via Code Behind or an SharePoint Designer Workflow.


2

there is 3rd party tool called Muhimbi PDF Converter http://blog.muhimbi.com/2012/02/convert-infopath-to-ms-word-excel-xps.html


2

I don't think that message is configurable. The common approach is to have a standard button for the Submit, which uses rules to validate the fields and then unhides a section with an error message. The last step on that button is the save, but if any of the validation rules find errors, that last step will not be executed. Also see my answer here: Cannot ...


2

someone has come up with somthing of use! window.onunload = window.onbeforeunload = (function(){ var closedYet=false; return function(){ if (closedYet) return; closedYet=true; // do your thing here... } }()); the above should help, you then need to write to a tempary list... this list will have the user ID or name and all the ...


2

Create a list in SharePoint, edit it in Datasheet view mode, create the first item with number 1, then drag and drop the little square down (as you would do in Excel). This will quickly create all the numbers you need. Then, go to Infopath, add a datasource to retrieve data from the aforementioned list, and bind it to a listbox. Easy ;)


2

If you're new to SharePoint development, I can understand your struggling to understand its development model. Responding to UI events by "calling C# code" is possible only with custom webparts or application pages, as no inline-code is allowed in SharePoint Designer by default. You should really first try to determine if what you think will require C# code ...



Only top voted, non community-wiki answers of a minimum length are eligible