New answers tagged

0

Please try below code. It worked for me for getting current user custom property details. Make sure the CompanyNumber is internal name of your field in User Profile Service. //Display User profile properties function getMyUserProfile(success, error) { var siteUrl = _spPageContextInfo.siteAbsoluteUrl; //You can replace this with your site URL too. i.e ...


0

Go to Hours column textbox property In default view textbox, Click on Fx button Click on Insert Field or Group.. Select secondary data source (Your list) from above dropdown Select Hours field Click on Filter button Set condition like Item(Secondary data source) = Item(Main source Dropdown) Save it Same steps for Price field


0

To use InfoPath you need at least the SharePoint Online Plan 2. Not all features map to the Standard / Enterpirse on premise SKU's (Access apps are not in Standard, but are listed in SPO Plan 1). Your best place to go when trying to figure out what you have or compare against other SKU's are the service descriptions. Here is the link for SPO: ...


0

InfoPath rules don't do the "Else" part. Create a rule for each outcome and place them on the button or the field change event. If you are hitting the limit of what InfoPath supports, then you may consider changing your technique altogether. Create a SharePoint list with three fields, i.e. Field1, Field2 and ResultField or use an XML file with that ...


1

I figured it out! I had to go into infopath->File->Form Options->Advanced->Edit Default Values->and uncheck the field causing the validation error->press OK->republish the form.


1

I'm not proud of this, but it should work if you execute this after the form renders. $("#WebPartWPQ1 *").css("background-color", "transparent")


0

In the Properties dialog of the control, select the General Tab and then select the Allow Multiple Selections check-box. Have you tried using different names to see if there is a problem with that particular name? Hope this helps. Please refer this Link


0

You can create a rule to check if 'createdBy' and 'Manager' fields are same. If they are the same, apply formatting rules to hide the section


0

Add your group of fields as a section to the form. And then insert a Formatting rule on the section to "Hide" the control based on your criteria.


0

Does the infopath form contain lookup fields? If it does, make sure this user also has access to the list where the lookup refers to.


0

As per the error information your have provided, seems like the target site may be down, read only or you may not have access on the site. If you are good in all of these points then check if you are directing to a valid URL in your infopath form. Try adding the site in your trusted site. See below link for adding it in trusted site zone. ...


0

Please try using without space..!!! change both the list name and the url,


0

Concat username with ;. and check it with contains condition. It must be give false if verifying user with including user_1 also.


0

Create calculated column in SharePoint list. =CONCATENATE(Code," ",Status) Update secondary data source with adding new calculated column in InfoPath form. Set calculated column as data source in dropdown property in InfoPath form.


0

What you describe cannot be easily done out of the box in a list form. A list form can typically only manipulate the data for its own list, not write several rows of data to another list. If you want to use InfoPath, you'd need to start out with a browser form as the container, load the parent list data, load the child list items. To write back to the ...


1

For a multiple selection enabled People Picker field, you should be able to match current user using the contains function in the formula shown below contains(AccountId, userName()) In this case if the Account ID contains the current user's login name, the formula would return true and false otherwise.


0

I not sure that I made myself clear. In my example, I want to be able to mark that the welcome letter was sent and returned. If I create a column called "sent" with an option of "welcome letter", I find that I need to also create a column called "returned" with the option of "welcome letter." The options listed would allow for multiple options to be ...


0

I would recommend using SharePoint Designer workflow to do this as it is much simpler to use and has SP2013 support. Here are the steps if you are interested to try it: Create a list workflow and set the workflow to start every time a list item is changed In the workflow definition select the action that allows you to modify the current list item Append ...


1

I am not able to add a comment hence writing in the answer section. There are 2 scenario which you should verify. Scenario-1: Go to "File-> Publish" and verify your target library. Scenario-2: Verify your data connection once because there might be wrong target specified there. Let me know if above scenario defines your problem. Thanks


0

The complete jquery code is : DropDownList.SetValueOfControl($('#ctl00_ctl45_g_aa5a291c_b931_4c0f_b477_f57a9cf522f2_FormControl0_V1_I1_D2') [0],lookupVal ); $('select[originalid=V1_I1_D2').val(lookupVal).change();


2

I an not sure how you are submitting the form. I am also doing the same thing but it sends the mail in background without opening any client email application. What i have done is : Click "Submit option" in "Data" menu In "Send form to a single desitnation" selected "Email" Created an Email data connection And used this connection as default connection. ...


1

Yes, I faced the same issue, actually my InfoPath form was targeted to publish into Document Library instead if Form Library. In your case i guess you are also doing the same mistake. You may have your published target wrongly specified.


0

Have all the choices in one column with multiple selections. All in one spot and easy to figure out. Alternatively, you could have several choice columns and depending on the value would diplay something different in a separate calculated column using a formula.


0

Create a text field called "Error." And instead of having a validation rule, make it an action rule that sets "Error" to be whatever you want it to be. And then another rule to clear Error when conditions are met. You can format your text field to look anyway you want.


0

My team and I have found a custom solution that does not require a new feature or application page. Using SharePoint Designer, create a new Edit form at the target Library. For this example, we'll call this form CustomNewDocSet.aspx In SharePoint Designer, navigate to a List and create a New Form of type New item form. Then, take that markup and place it ...


0

Add function count(select Toppings from repeating section) to value textbox from ToppingTotal property.


0

Provide &Source parameter in url. If &Source is empty, it will reload form instead of switching view.


0

Then you should used a forms library and create your own custom content type that inherits from Document Content Types > Form. There's not a way to do this with an existing content type that inherited from Document. Plus side is, if your fields are already in the inforpath form, all you have to do is promote them when you publish the form to SharePoint.


0

You can also hide the field by wrapping it in a section and put a formatting rule to hide the section with the condition "ID is blank" which will only be true on a new form. I use this one a lot.


0

The problem was with the Tasks list. Deleted the existing tasks list and created a new one. Now the workflow works perfectly.


0

I am trying the same thing and had a similar error, and the solution was to do a Rule on Form Load. (It was the last rule in the set.) In addition to being "Locked," I needed to stipulate Locker does not contain userQuery(Name). Otherwise, I would lock myself out despite just assigning myself as the Locker! Hope this helps. Jared


0

InfoPath creates HTML that is a few years behind the times, i.e. html 4, not 5. I see you're using SharePoint 2013. It's possible that some CSS is interfering with the button CSS class. You may want to fire up the Designer Tools (F12) to see what CSS style is applied to the button and where it comes from. That will give you a handle on how to fix things. ...


0

At first try with enabling Administrator-Approved form template option. If not worked, follow this link: https://talesfromitside.wordpress.com/2012/01/17/sharepoint-infopath-and-user-profile-web-service-issues/


0

I agree that a custom list should be created as well as using the CEWP to do code behind. Note that in SharePoint 2013 InfoPath forms only allow code behind in SP designer 2010. I would use JS to create the Hide and show fields I have added a good blog to support how you should convert the code ...


2

If it's an InfoPath form, I'd start with a custom List, and customize the list forms (New, Edit, and/or Display), and inject your javascript there, preferably just reference only javascript file for easy modification. To add, I'll address each of your 5 points Populate some information from AD when the site loads first. You can do this using REST API with ...


1

Instead of a view change, you can insert a section into the form and place your T&C text into that section. Use formatting rules for the section to hide it when the two checkboxes have the unticked value or are empty. As soon as one of the boxes are ticked, the section will show.


0

A way to do this without code, using just InfoPath and the browser user interface: create a new SharePoint list "AuthorisedStaff". Add a Person field and a text field called Account to that list. Use InfoPath to customise the list form and create a rule to write the selected person's Account into the Account field. Add all people who should see the ...


0

Easy way to move infopath list template from dev (any site) to prod any any site with same list format scenario dev- site url http://sharepointdev.dom.net/site/list... prod-site url-http://sharepoint.dom.net/site/list... Open your infopath form template in infopath designer Click on file menu and select publish and select export source file ( ...


0

Here's the workaround that I use. Step 1: Add a column to calculate current user Create a Single line of text column called CurrentUser In InfoPath, edit the properties of the column and change the default value to userName() Check the box for Refresh value when formula is recalculated Step 2: Remove the Admin view from the drop down In InfoPath on ...


0

This is an old post but I am pretty sure what he asking for is to customize the document library properties form using InfoPath... If this is true you are actually wanting to modify the content type Document Information Panel. Please use the link below to do this: https://msdn.microsoft.com/en-us/library/office/ms563688(v=office.14).aspx Hope this helps. ...


0

After doing lot of research, I've found out a way via powershell $list = $web.Lists["documentLibraryName"] $isUsingInfoPath = $list.ContentTypes[0].ResourceFolder.Properties["_ipfs_infopathenabled"] It returns true if infopath is enabled on the list. Could someone help me on c# code equivalent ? Thanks


3

When the site template was created, all site features were saved with the template, regardless of whether they were activated or not. This situation can arise when you are moving site templates between different Office 365 plans or between SharePoint Server on premise and SharePoint online. SharePoint Online is always ahead from on prem version, in new ...


0

I just had this error. One thing I have learned about SharePoint, InfoPath, and Nintex is that if you get an error, it is usually something very simple and small--it just requires a little energy to dig it up. What the cause was in my case was I had created a field in my InfoPath form. (I forgot to look to see if it actually showed up in my list ...



Top 50 recent answers are included