how we can add code in infopath button control? - sharepoint

We have enterprise version of sharepoint server 2010. We have created sharepoint 2010 custom list in sharepoint site. and using infopath with sharepoint list option ("customized forms").After that we added one button control then go to actions and select submit options and when we check submit option it does not show visual studio editor button enabled. Please let me know how i can add custom code in sharepoint list new form in infopath.

Select the button - right click "Button Properties" - click "Edit Form Code"

Related

Sharepoint custom workflow

I have created SharePoint custom form how to make the custom form as default in the SharePoint designer. I have already done with my coding for designing the form but I need to know how to make this custom form as default in the sharepoint.
In Sharepoint Designer go to the desired list where you made custom forms (Site -> Lists & Libraries -> YourCustomList. In the Forms window on the right, select the form you created, then in the ribbon on the top there's a button for "Set as Default".

InfoPath 2013 - Connect to ActiveDirectory using SOAP Web Service

I would like to connect to Active Directory via InfoPath 2013 but I cannot find folder _vti_bin I working with SharePoint Foundation maybe this is a problem?
I Found this:
I recommend that you can follow the steps as below to implement it in your environment.
Go to the List tab of the list, and click “Customize Form” from the Ribbon.
From InfoPath, click the “DATA” tab and click “From SOAP Web Service” under “From Web Service”.
In Data Connection Wizard, type: http://< Site Name>/_vti_bin/UserProfileService.asmx, then click “Next”.
Select “GetUserProfileByName” from the operation list and click “Next”, then click “Finish”.
In InfoPath Design, under “Fields”, select “Show advanced view”.
Click “DATA” tab, click “Form Load” from the Ribbon to display “Rules” window.
In “Rules” window, click “New”, select “Action”, add some specific “Details for” and “Condition”.
Publish the new form to the SharePoint list and test it in your environment.
This can I see

Edit a sharepoint 2013 site in sharepoint designer 2013

I want to know how to edit a sharepoint 2013 site in sharepoint designer 2013, as I cant find an icon that does this.In sharepoint 2010, there was an icon to edit in sharepoint designer 2010; but in 2013 there is not?
If you click the "Page" tab you will get this option under the extended "Edit" button. It should read "Edit in SharePoint Designer".
Honestly, I havent found the edit in designer button either. I just downloaded and installed Designer 2013 and pasted in the URL of the site I wanted to open and edit. Worked the same for me.
you have two ways:
Make click in "Page Tab" then under "Edit Button" press Edit in
SharePoint Designer
Open the website with SharePoint Designer "Open
Site" and write your site URL.
"Page" Tab
Click the Arrow under "Edit"
and then "Edit in SharePoint Designer".
In my System this did only work when I wasn't in Editing Mode of the page.
Open SharePoint Designer. Click on: Open SharePoint Site, and then simply paste the URL of your site that you want to edit.
This will connect to that site and let you navigate all the necessary files and folders of that site, and edit those in accordance.
Under Library, Customize library, edit library, launch application

InfoPath 2013 web form doesn't open the browse dialog in the people picker control

I have a user picker control, which when used in preview mode open a dialog to find users when I click on the browse button,
but do nothing when deployed on the SharePoint server.
If i type a user in the input box, the check names button is working and provide multiple choice when it's the case.
As the people picker control was modified in the new SharePoint 2013, could it be a side effect ?
Does anyone have the same problem ?
It worked once I enabled the ribbon in the form options.
Form Options -> Web Browser -> checked Show InfoPath commands in Ribbon or toolbar
Finally got the solution when you disable the ribbon the the browse button is also disabled to overcome this problem
Create a new blank page or a wiki page.
Insert a InfoPath Form WebPart and link this webPart to the desired form.
Now after doing all the changes you can see that the form gets loaded and when you click the browse button it should function normally.
If you want the same look of the form as it is when you open in it in new page or a tab, use a CEWP and add styles to disable unwanted controls like the navigation menus, search bar etc.,

Insert Link/Picture "From SharePoint" grayed out in the ribbon

In the ribbon, I want to insert a picture or a link into a content page, but the "From Sharepoint" button is grayed out and I can only upload an image or insert a link "From Address". My field is rich text. I'm using SharePoint 2010.
How can I make the link available?
Thanks
Do not muck with the ribbon to make this work!
Totally depends on how you want to use it.
First of all, the Publishing feature must be active on Site Collection level and on the site where you want to add your rich content.
Then, if you activate the Wiki Home page feature you will have the SharePoint option availabe on the page.
If you want to use it in a custom list, it gets a bit more complicated.
The normal Rich Text field greys out the SharePoint option. And you can not add the Full HTML with publishing field directly to a custom list. So the solution is to create a new site column based on the Full HTML field. And then add that site column to the custom list. This field is part of the publishing infrastructure. So only available on SharePoint Server 2010
Unless you have the "SharePoint Server Publishing feature" under "Site Settings" -> "Site Features" activated, these options are not made available to you.
Usually ribbon button is grayed out if you didn't add CommandUIHandler element for it in your CustomAction XML.
For more details, you can see this MSDN article:
http://msdn.microsoft.com/en-us/library/ff458385.aspx
Also, you can find useful this article (with sample code and screenshot):
http://blogs.msdn.com/b/jfrost/archive/2009/11/06/adding-custom-button-to-the-sharepoint-2010-ribbon.aspx

Resources