How do I use infopath 2013 with visual studio 2013 to modify forms with code?

Dear all,
I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
Timothy

Hi,
According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
More information about develop InfoPath form with Visual Studio:
http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
Best regards

Similar Messages

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
    site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
    I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
    the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
    and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
    Any idea what's wrong with this SharePoint connections?
    Thanks in advance. Georg

    Can you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
    SharePoint
    2013 Visual Studio Project Error – “Cannot connect to the targeted site”
    I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
    environment), try adding your account to DB Owner on your site collection database as mentioned here.
    http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
    Amit

  • Unit Testing with Microsoft Sharepoint Emulators and Fakes with Visual Studio 2013

    Hi All,
    I have created Test Project and now creating Test cases for Sharepoint. I found a link on MSDN which suggests using Fakes framework but it supports VS2012 and I am using Visual Studio 2013.
    So how can I use it with VS2013 or is there any other way with which I can implement the Test cases with VS2013.
    Please suggest.
    Thanks in advance.
    Himanshu Nigam

    Hi HimanshuNigam,
    According to your descrition, my understanding is that you want to use Fakes framework to create test case for SharePoint project in Visual Studio 2013.
    If you want to test using Fakes Framework, you can use the codeplex extension to achieve it. It supports Visual Studio 2013.
    Here is a detailed article for your reference:
    Better Unit Testing with Microsoft Fakes
    About how to include the Nuget package, you can use the package with the link below:
    NuGet Package Manager for Visual Studio 2013
    Installing NuGet
    If you still have question about this issue, I suggest you can create a post in Visual Studio, more experts will help you and you can get more detailed information from there:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio%2Cvsarch%2Cvsdbg%2Cvstest%2Cvstfs%2Cvsdata%2Cvsappdev%2Cvisualbasic%2Cvisualcsharp%2Cvisualc
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • SQL Server 2012 with Visual Studio 2013 with SSIS/Integration services project?

    I wanted to build an integration services project to import data from multiple sources using a vendor's API.
    I wish I could recall how I got to the point where I was able to build one and have it run successfully, but I had to install so many things that I honestly don't remember.
    However, I noticed my PC booting really slowly after that, and I saw that I had components of VS 2010, VS 2012 and VS 2013 installed, along with SQL Server 2008 and 2012.  So I uninstalled a bunch of stuff, hoping to get to where I had only the most
    current versions of all, that were compatible with my corporate environment.  So I was aiming for Visual Studio 2013 (Premium, I think) and SQL Server 2012.
    Took me 2 days.  Now I'm at the point where I think - and I'm here to learn if I'm correct - that I cannot get an oData Source component into my project and use VS 2013 IF I want to stick with Sql Server 2012.  Is that correct?  
    I get very confused when trying to determine how the acronyms relate:  SSIS, SSDT, SSDT-BI, etc.

    Hi Anonymous11847,
    SSDT: Microsoft SQL Server Data Tools for Visual Studio 2010, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2010. This can be installed when SQL Server is
    installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2012 or lower
    SSRS projects can target SQL Server 2012 or lower
    SSIS projects can target only SQL Server 2012
    SSDT-BI for VS 2012: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2012.
    This needs to be separately downloaded and installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2012 or lower
    SSRS projects can target SQL Server 2012 or lower
    SSIS projects can target only SQL Server 2012
    SSDT-BI for VS 2013: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2013.
    This needs to be separately downloaded and installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2014 or lower
    SSRS projects can target SQL Server 2014 or lower
    SSIS projects can target only SQL Server 2014
    So if the SQL Server version is SQL Server 2012, we should install SSDT or SSDT-BI for VS2012 to create SSIS project.
    Reference:
    Microsoft SQL Server Data Tools Update
    If there are any other questions, please feel free to ask.
    Thanks,
    Kathrine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Can I use ReportViewer 2010 from Visual Studio 2013

    Hi
    I wish to use the 2010 version of the ReportViewer control on a Windows form. This is from within Visual Studio 2013. How would I do this?
    Thanks

    Good idea. It did allow me add version 2010 to the Toolbox. You can see it as the second ReportViewer in the screenshot below.
    But I can't drag it onto a form. It just appears down the end. Any idea why I can't drag it onto the form?

  • How do I enable parent paths in Visual Studio 2013?

    I am converting a classic ASP site to a Visual Studio 2013 MVC. When I run the ASP code inside of the Visual Studio 2013 debugger I get the following error message. How can I enable parent paths in 2013? 
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /prospect/contact/contact_search.asp, line 33
    The Include file '../menu_inc/contacts.inc' cannot contain '..' to indicate the parent directory.
    

    I discovered the answer myself.  Here is how I did it.
    I opened Task Manager and saw that Visual Studio was running processes of IISExpress for the web server functionality.
    I clicked on Start and entered IISExpress to find out where it was installed. To my surprise, but an obvious choice, it was located in documents.
    I opened the C:\Users\Mike\Documents\IISExpress\config folder then opened Notepad as an administrator.  I then opened the applicationhost.config file and under the <system.webServer> element there is an <asp> element. I modified it
    to read. <asp scriptErrorSentToBrowser="true" enableParentPaths="true">
    I then opened by MVC solution and ran the Classic ASP program without any problems.  Everything works!

  • Problem with visual studio 2013

    hi
    I have visual studio 2013 ultimate update 2  in windows 8.1.
    Every thing about vs is ok ,just when i want to use of text box control or picture box on form , vs close .
    Why?
    Please help me

    Thanks for pvdg42's help.
    Hi mim_golden,
    I think that the pvdg42's suggestions are really help you, if possible, I suggest you can try the pvdg42's suggestion check your issue in your side.
    In addition, I suggest you can try to execute the following commands check if it can help you solve this issue.
    devenv.exe /safemode
    devenv.exe /resetsettings
    I suggest you can also try to upgrade the update package from the update 2 to the latest Update 4 for the VS 2013 Ultimate.
    If the above suggestion still could not help you,
    please let us know the latest information about it.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013

    hi,
       When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume  the web service browser itself. so i have tried to change the target platform but
    to 32 but its not possible but only "Any CPu" available on the list
    Visual Studio :2013
    Sharepoint 2013 
    Error msg :
    Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
    at Microsoft.SharePoint.Utilities.SPUtility.CheckFrameworkAndProcess()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()
    at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
    at Microsoft.SharePoint.Administration.SPFarm.get_Local()
    at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
    code :  
    <%@ WebService Language="C#" Class="sharepoint_cust_service" %>
    using System;
    using System.Web;
    using System.Web.Services;
    using System.Web.Services.Protocols;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Publishing;
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class sharepoint_cust_service  : System.Web.Services.WebService {
        [WebMethod]
        public string HelloWorld() {
            return "Hello World";
        [WebMethod]
        public void Export_To_Sharepoint()
            SPSite site = null;
            SPWeb web = null;
            site = new SPSite("http://sites/pages/");
            web = site.OpenWeb();
            PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
            SPContentTypeId contentType = new SPContentTypeId("NewContentTypeID");
            PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts(contentType);
            PageLayout pageLayout = layouts[0];
            string pageName = Server.MapPath("/newpage.aspx");
            PublishingPage newPage = publishingWeb.GetPublishingPages().Add(pageName, pageLayout);
            newPage.Update();
            newPage.ListItem.File.CheckIn("created");
            newPage.ListItem.File.Publish("created");
            web.Dispose();
            site.RootWeb.Dispose();
            site.Dispose();
    Software developer

    goto propeties of your project and click on build tab and select 64X or any cpu platformtarget as it should work .

  • How do I connect from mysql to visual studio 2013

    Hi,
    So currently, I have a database in mysql and I need to do the interface in visual studio.
    How do I connect the database to the interface in visual studio? I haven't create the interface yet because I don't know the right coding. Please help me.

    Take a look at the mysql .net connector. 
    http://dev.mysql.com/downloads/connector/net/

  • Office 365 API with Visual studio 2013 using file REST API

    Hi,
    I had configured MVC application for getting files from office 365 one drive, I am able to seen all file on last day but Now I am getting below issue 
    <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-1, System.ApplicationException</m:code><m:message xml:lang="en-US">Error
    in the application.</m:message></m:error>
    when I want to see again all files. and most important I didn't make any changes in my previous code...
    Please share your suggestion....

    Hi,
    If you are developing an app for SharePoint, the app can call into a user’s MySite site collection and access their OneDrive for Business documents using REST or CSOM.
    The REST call to get to the file would be:
    https://YourO365DomainHere-my.sharepoint.com/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/_api/web/GetFileByServerRelativeUrl('/personal/YourUserName_YourO365DomainHere_onmicrosoft_com/Documents/Shared%20with%20Everyone/myDocument.docx')/$value
    More information is here:
    http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx
    Best regards
    Dennis Guo
    TechNet Community Support

  • How can i see the output in Visual Studio 2013

    Below is some code rearrange a array, i want to see the result after it's sorted so i add a loop of cout myself, But after runing the code, nothing happened, i didn't see any result from the widow before it closed, any help?
    #include<iostream>
    const int Red = 1, White = 2, Blue = 3;
    void main()
    int arr[] = { 1, 1, 2, 2, 1, 3, 1, 2, 3, 3, 1, 1, 3, 2, 1, 2, 1, 3, 2, 1, 1, 3, 2, 1, 3, 1, 3, 2, 2, 3, 3, 3, 1, 2, 1, 2, 1, 3, 1, 2, 3, 3, 1, 2, 1, 2, 1, 2, 2, 1 };
    int n = sizeof(arr) / sizeof(int);
    int Insert_Red = 0, Insert_White = 0, i;
    for (int i = 0; i < n;i++)
    if (arr[i]==White)
    arr[i] = arr[Insert_White];
    arr[Insert_White] = White;
    Insert_White++;
    if (arr[i]==Red)
    arr[i] = arr[Insert_White];
    arr[Insert_White] = arr[Insert_Red];
    arr[Insert_Red] = Red;
    Insert_Red++;
    Insert_White++;
    for (int i = 0; i < n; i++)
    std::cout << arr[i];

    i didn't see any result from the widow before it closed
    Other choices which don't require any changes to your code:
    (1) Set a breakpoint at the last closing brace (assuming that there isn't a
    return statement before it - if there is then set the breakpoint on that
    return statement).
    (2) Put the cursor as described in (1) but instead of setting a breakpoint
    use "Run To Cursor" from the menu that pops up when you right-click the
    mouse. (Or use Ctrl-F10)
    (3) Run your program in the IDE using Ctrl-F5 (Run Without Debugging)
    Note that when using these methods, focus *may* remain on the IDE editor. If it
    does then your console window with the output will be a background window. You
    will then need to switch to it manually from the Taskbar, etc.
    Non-related observation:
    Standard C and C ++ require that the main() function return an int. e.g. -
    int main()
    Some compilers will accept void main() so as not to break old code, but new
    code should always return an int.
     - Wayne

  • Windows 7 with SharePoint 2013 Foundation and Visual Studio 2013

    Hi,
    I am begginer with Sharepoint 2013 Foundation. 
    My company installed Sharepoint 2013 Foundation on a virtual Server. I installed
    Visual Studio 2013 on my local computer. Also i created a developer site.
    Based on http://msdn.microsoft.com/en-us/library/office/jj220047(v=office.15).aspx#RDOverview I installed Office
    Developer Tools for Visual Studio 2013 on my local computer. 
    I am trying to remotely develop apps
    with Visual Studio 2013. In the option What SharePoint site do you want to use for debugging your App? i put the url
    of developer site.
    First of all, i had to choose if the apps will be SharePoint-hosted or Provider-hosted apps. Based on http://msdn.microsoft.com/en-us/library/office/fp142379(v=office.15).aspx and http://msdn.microsoft.com/en-us/library/office/fp142381(v=office.15).aspx,
    i decided to followed SharePoint-hosted because is the only type that applies to SharePoint 2013 Foundation.
    I followed the steps of http://msdn.microsoft.com/en-us/library/office/fp142379(v=office.15).aspx, which is the quide for How to:Create a basic SharePoint-hosted app. In Step 10 for deploy my app i get the following error: 
    Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
    What is the problem?
    Also, the visual studio need to be installed on the server where sharepoint was installed?
    Moreover, do I need app catalog for testing and deploy apps?
    thanks, Aphrodite

    Hi,
    According to your post, my understanding is that you have an issue about creating app.
    Per my knowledge, the issue is caused that you don’t configure the app catalog URLs from the central administration.
    It means that we should create an App site catalog site collection to hold our Apps.
    More reference:
    http://www.sharepoint-journey.com/app-development-in-sharepoint.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Help with C# Errors (Visual Studio 2013)

    Hello, I am working on a console application in Visual C#, with Visual Studio 2013. I have been experiencing two specific errors several times, but I am just beginning to learn C#, so I do not know the cause of these errors or how to fix them.
    I am using a console class (Console.WriteLine) and it is telling me that "The name 'Console' does not exist in the current context." I do not know what this means, or what is causing it. Because it is referring to the word Console as a "name"
    I think I may be incorrectly using the term "Console," but I feel like I have no way of knowing so.
    I am also receiving an error telling me that  "A using clause must precede all other elements defined in the namespace except extern alias declarations." Again, I have no idea what this means. If anyone could provide some help or explain to
    me what is causing these errors, I would greatly appreciate it. Thank you.

    Hello,
    Welcome to MSDN forum.
    But your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because this is an issue with Oracle data access on VS, I would post issues to Oracle forum:
    https://community.oracle.com/community/developer/english/oracle_database/windows_and_.net for better support.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Version of jvm.dll compatible with 64-bit development on Visual Studio 2013?

    Hi.  I am building a 64-bit C++ application under Visual Studio 2013. I am using jvm.dll to call Java methods from within the application.  The issue is that the version of jvm.dll that is distributed with Java 7 and Java 8 are compiled with Visual Studio 2010 (and thus rely on the msvcr100.dll runtime library).  This makes it very dangerous to use with a Visual Studio 2013 application which uses msvcr120.dll (mixing runtime libraries is a very big no-no).  I am seeing random memory errors as a result, at the JNI interface level.
    Is there any way to get a version of jvm.dll that is compiled with Visual Studio 2013 and is thus dependent on msvcr120.dll?
    Thanks,
    Dan

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    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

  • Updating N90 to V 5.0607.73 causes loss of date an...

    I have just successfully updated my N90 to 5.0607.73, and now whenever it is turned off it loses the time and date and asks for a new time and date whenever the unit is turned back on! It worked perfectly before I updated!! Help! Cheers Douglas Pearl

  • Creating Asset Transactions

    Hi, I want to create some new transactions to use for Impairment (unplanned depreciation) and depreciation write back. How can be sure of which GL accounts will be selected from the account assignments in AO90 for each transaction i create. Thanks

  • Where do I begin?

    1) I have a table full of data 2) I have an XML schema 3) I need to get the data from the table and put it into an XML file that conforms to the XML schema. 4) I don't want to write a ton of PL/SQL to manually output the XML. There are so many produc

  • CP5 - Continue action not working

    I am pretty sure this was working last week and now its not. The set up is that I hide the playbar on page enter (assign-->cpCmndShowPlaybar=0), then there is a click box that suppose to show the playbar and continue after the 1st incorrect try via a

  • Adobe Premiere 12 Silent Install - How to Suppress Updates, EULA, Registration

    Hi, I've created a silent deployment of x86 Adobe Premiere Elements 12 using the following command line cmd /c start/wait OEM.exe /UL1033 /V"SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX COUNTRY=12" I've put the application.xml.override (UTF-8 encoded f