Tag Info

New answers tagged

0

As it is a repeating table, only a single row will appear by default. You will need to add the number rows as per your requirement at run time.


0

Find the Default Values button and add more instances. I think it's on the Data tab.


1

Use a CEWP at the top of your page. Store the Image in an image library so SharePoint can get it. Then, use HTML in the CEWP to make your header with the image. Should work just fine.


1

If i have understood correctly : 1.Add all images to images doc lib . 2.Create a new list , add a column with "picture" type . while creating new item provide the url of picture from images library . OR directly create a picture library and add items . UPDATE : When you click new item in list , it either can open in newform.aspx or editform.aspx . ...


0

It seems it's not possible. I've had to settle for creating a button with a rule that updates the fields on the form with the data in the list.


0

This depends a bit on your form design. If the manager's name is stored in the form, then you can create a section with the approval field and hide that section when the current user and the manager are not the same person.


0

NaN is the error code for "not a number". The steps you take to increment do not result in a number. If you are using the MAX() function as described in the tutorial, check that the field you are using in that function is a number, not text. Note the "caveat" on the tutorial: If the library does not yet contain any documents, the Max() function will return ...


1

I agree with PirateEric. A forms library will only be required if the features of a list form are not sufficient. If you can make do with a list form, you can save all the extra work required to promote fields to library columns and all list columns are available to Excel by default. Other advantages of a list compared to a library: you can configure ...


-1

InfoPath forms are generally stored in a Forms Library. Basically you design the form at InfoPath then create a new library using the feature that is available in InfoPath (Publish to SharePoint). All the values in the form are displayed in a list format which you can administer. When you view/edit a particular entry, that will be displayed in the form. ...


0

My general rule of thumb when using InfoPath revolves around if the form is going to hold any repeating data. If it is, then I usually opt for it to be stored in a document library. If there isn't going to be repeating data, then a list is sufficient.


0

The User Roles can only be used in forms that are designed to be filled using the InfoPath Filler. Your InfoPath Form must have been designed to be filled using a Web Browser. To check if your InfoPath Form would be filled in Web Browser or InfoPath Filler, follow these steps: Click On File Tab and Click Form Options. In the Category list, click ...


0

I assume that "the list the infopath is based on" means that you are talking about a SharePoint list form that you are customising with InfoPath. In that case, the answer is: No, you cannot create a button in the form that extracts the whole list to Excel. Such functionality would require code that is not available in InfoPath list forms. You can export ...


0

Create a new page and add the InfoPath Form Web Part to this Page. While adding the InfoPath Form, configure it to use your desired list's form.


1

We had a similar situation and we solve it by adding new command to the ribbon. Basically, the user selects the item and press a choise named: New record. The button copies the current item's data to a new one and opens the new item. We followed code in https://patrickboom.wordpress.com/tag/ecma-script/ Another solution is to add a field named "this is a ...


0

I use a hidden field (i.e. FinalSubmission) and set that to "Y" as the first action on the Form Submit rule. You need to set the form to Perform Custom Action Using Rules in the Submit Options dialog to do this. Then, until the user submits it, the field will be blank (or whatever the default value you choose)


1

This is just how SharePoint and InfoPath work together. It is also not different from the behaviour of the list form that comes out of the box with a SharePoint list. When a form is opened, it is tied to the record that it displays. The form can only change that item. To release the item, the form needs to be closed. Maybe you need to step back from the ...


0

I ended up taking the simplest route, and made a calculated hyperlink instead. It basically lead to the Document Library, with &IsDlg=2 appended. Kinda clunky, but it works with no fuss in trying to get upper management to approve better (and more appropriate) permissions on the site. ;)


1

Initially create 2 SharePoint groups one with Contribute permissions and another with read. Put all the users to group with Contribute permissions. Once a user fill the form, remove the user from that group and add to the group with Read permissions. Assign required users individually Contribute permissions. When submitted, remove permissions and apply Read ...


0

Assuming you have a browser based form which does not give the user access to the toolbars (Save, Submit, etc.): I would create a secondary data connection to the library that the forms are saved in. Then I would retrieve the Created By column values. I would check that list for the current user, using a rule on form open. If the current user is in that ...


1

Just as a side note if you use this method to submit and save the form, it will close by default after the procedure in C#: this.Submit();


2

It depends on how you published it. Did you publish it as a content type? In that case you can see it when you add a new item to a list or library that includes the content type.


2

I've had this requirement before, and each time I stray away from InfoPath and tell my users the only reasonable way is to use customized SharePoint list forms, edit/display/new. But in InfoPath, you would have to write code-behind in the InfoPath form, making it administrative approved. In the code, you would, upon submission of a document attachment, use ...


1

I've done something similar with Nintex, allowing for the form to receive attachments, then using workflow tools, extract the base 64 encoded attachment and load it into a document library with a web service operation, then update the form xml to remove the attachment. Perhaps though with a form rule, once the field is assigned that determines the name, you ...


0

For scenarios like this I have used an add-in to InfoPath, since I cannot write the code required for that functionality. Qdabra Software has a tool called qRules that contains commands to do many things with InfoPath that can only be done with code, but you only use the user interface to activate these commands via rules. The tool is not free but costs ...


0

http://sharepointlk.blogspot.in/2009/05/populate-infopath-text-box-based-on.html http://www.bizsupportonline.net/infopath2003/autofill-fields-infopath-dropdown-selection-secondary-data-source.htm check this check this check this check this check this check this check this check this check this check this check this check this check this check ...


0

Marc D. Anderson has written a blog post named Using SPServices with jQueryUI’s Autocomplete Function on InfoPath Forms in SharePoint This should help, but as it was written in 2011.. I'm assuming it was for SharePoint 2010 and InfoPath 2010.. But give it a try maybe it works for SharePoint 2013 as well.. The magic is done by script (using SPServices) ...


0

If the field is a person field, then the whole person field with all its information will be saved. If you only want to save part of the person information you need a text field and use InfoPath rules to set the text field value to the first name before saving the form.


1

This is possible with rules. Please see the image below. Add an action to switch the view.


0

You can set the default view in the Loading event for the form. something like this public void FormEvents_Loading(object sender, LoadingEventArgs e) { string view = ""; if (e.InputParameters.ContainsKey("View")) { view = e.InputParameters["View"]; e.SetDefaultView(view); } } If you try to ...


1

This would be my approach... 1) First create an event receiver as given in below code. This code will make "Check In Comments" field mandatory. Check In Comment is the multi-line textbox that appear when you are trying to check-in a file in a library. public class EventReceiver1 : SPItemEventReceiver { public override void ...


0

Should the item only ever have one selection? You could simply change the field to not allow multiple values from within SharePoint. Easiest way to make sure the form updates properly after the change is to adjust the field in the library on SharePoint, then select the 'Customize Form' button to start editting the infopath form -- it should prompt you that ...


1

I've found a solution (via a page on Delphi-ts.com which I had to get from the wayback machine), but it's not ideal (from my novice standpoint), as it requires addition of C# code to the form which 1) means I've had to recreate the form in a forms library, not an item list and 2) the form has to be uploaded via sharepoint central admin, not published direct ...



Top 50 recent answers are included