.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Sorting Repeating Tables in Order Forms with Code in InfoPath 2010

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :SharePoint
 
Learn to add managed code to sort the table in an InfoPath browser form and then publish it back to SharePoint Server 2010 as a sandboxed solution.


View Complete Post


More Related Resource Links

Sample: Sorting Repeating Tables in Order Forms Programmatically with InfoPath 2010

  
Explore the code as you learn to add managed code to sort the table in an InfoPath browser form, and then publish it back to SharePoint Server 2010 as a sandboxed solution.

InfoPath repeating table Copy values from above row without Code

  
Hi, I have situation, where I want to copy the values from the above row to the newly created row in a Repeating table. Ex. I have a repeating table with 3 columns ID-Name-FileName. When I enter a data like 1-Customer1-File1.zip and hit "Insert new row", the new row should automatically populate the values of the above row. How can I do it without .Net code. Regards,

InfoPath Forms library in visual studio 2010

  
If I create a list definition of document library type, and add some new fields to the list.  Is there any way to only allow infopath forms to be submitted to the list?  And also can I change the "add new item" link on the default list to point to my infopath form?

Accessing code in InfoPath 2003 forms from Visual Studio 2005

  
Can vbscript code contained in an InfoPath 2003 form be accessed from VS2005 on a machine running Office 2010? We are testing Office 2010 our our PC's and the custom task pane code that works just fine on PC's running Office/InfoPath 2007 does not run on the test PC's. I've been reading that the vbscript code in the form can't be edited directly when opening the form in InfoPath 2010, but that's not what I'm trying to do. I want to access the vbscript code through the .Extension property of the XDocument object from client side javascript code on an .aspx page like we have done for years. The existing code, which runs perfectly on PC's with Office/InfoPath 2007,  looks like this ... var xDoc = window.external.Window.XDocument; xDoc.Extension.UserLookupDone (userid); When run on PC's with Office/InfoPath 2010 the code throws error "Class doesn't support Automation". Are we trying something that is no longer possible? Any help is appreciated.

InfoPath 2010, Multiple Repeating Sections have same name, Diff data connections using same SQL Serv

  
I've created an InfoPath 2010 form that has three Repeating sections and each one uses a different data connection but all three connections use the same table in SQL Server... "Accounts".  Now you might ask why I would do this? Well I need different sets of data in each section and it all resides in the same table in the repository. Also, sometimes one section will not have information and I do not want a bunch of blank fields displaying in the repeating section. So I split the data into separate sections. Now here is the challenge for you guru's out there. :) I want to use one column in the 3rd repeating section  to refer back to another column in the first repeating section.(for referential integrity) Unfortunately since they both use the same table in the database they possess the same name under advanced view:  myFields/dataFields "d_:Accounts". In fact all three of my repeating sections have the same name based upon the database table used in the data connection. In the SQL statement I attempted to rename each of the connections via the statement. I have not tried to give the table an alias in the statement yet. Will try that one next. 1. Is there a simple way to rename the repeating Section from "d_:Accounts" to something else so that  they are each unique? (Without using backend code as I've only used InfoPath/SP/S

Sharepoint 2010 workflow using asp.net forms and or infopath forms

  
Hi, Does anyone know of any good step by step articles on a state machine workflow with ASP.NET forms and or inforpath forms ? Ive created a blog on a generic workflows but want to learn more about the forms side of things - any pointers would be great. Paul.   PS here is my how to guide : http://sp2010site.blogspot.com/2010/09/how-to-create-and-debug-state-machine.html  

Sharepoint 2010 workflow using asp.net forms and or infopath forms

  
Hi, Does anyone know of any good step by step articles on a state machine workflow with ASP.NET forms and or inforpath forms ? Ive created a blog on a generic workflows but want to learn more about the forms side of things - any pointers would be great. Paul.   PS here is my how to guide : http://sp2010site.blogspot.com/2010/09/how-to-create-and-debug-state-machine.html  

Sharepoint 2010: Browser compatible infopath forms are not open in web browser for editing

  

I created a browser enabled form with InfoPath 2010. I then published the form by selecting the option "Publish form to a SharePoint library" and then selected "Form library" and finally selected "Create a new form library". As a result, a new form library was created.When I click on "add document", the browser opens a new form, which I can fill and save successfully. However, after the form is saved, whenever I click on the form name in the form library to edit it, the browser "opens with" dialog box opens, asking for an XML editor software. In other words, the form does not open in browser for editing even on systems that do not have InfoPath installed.

The form is browser compatible and the form library is configured to open browser-enabled forms in browser. The issue is that the form hyperlink is directly pointing to form XML file rather than pointing to InfoPath form services URL.

I would really appreciate, if someone tells me how I can edit the form in browser.

 

 

 


Can we managed code for a list using InfoPath forms?

  

Is possible to add manage code to Infopath LIST forms. We want to validate data that goes beyond what InfoPath can do out of  the box.


InfoPath 2010 Web forms in IE and Firefox regarding the Multiline text box

  

Could someone please confirm if this is a bug.

I created an InfoPath form in 2010. As an Infopath form, the multiline textbox grows, as a user enters text, automatically as expected.

The very same form as a web form:

In IE 7 and IE 8 the box expands at every 20 or so chharacters instead of at the end of a line.

In Firefox (3.xxx) the box does not expand unless you press enter at the end of every line.

In IE 7 and IE 8 if you open a form that was created with FireFox, the boxes end up expanding as if it had been entered in IE instead of FireFox. FireFox seems to be the most compatable but how do I explain to user that they can use IE for everything but forms?

The question is this: Is it a bug because I would think the box should be dynamic as the user eneters data and should not require the user to press enter. When will this be fixed. It is holding us up as to ever being able to use InfoPath Web based forms which is a requirement because InfoPath based forms are not supported on any OS other than Windows. Web Based forms should operate and be available regardless of the browser type. Please advise.


Greg McAllister

General Steps on how to use (infopath) Forms in 2010

  

Hello,

I'm planning to use infopath forms and I need some guidelines on how to use Forms in Sharepoint Server 2010.

I need answers in questions like:

Should I use one form library for one type of form, or a form library per Department, having all forms inside?

How do you implement logging?

What is the use of a tasks library in workflows of a forms library?

Any help?

Thank you


Christos

InfoPath form for 2010 workflow asTask Forms not showing up

  

Hello all,

The workflow deploys successfully, goes to first state as expected. When I click to change the task [using InfoPath task form], instead of showing the InfoPath form I see SharePoint 2010 edit form for the task list

Here are my files:

Feature.Template.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/ "
ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver">
  <Properties>
    <Property Key="GloballyAvailable" Value="true" />
    <Property Key="RegisterForms" Value="*Forms\*.xsn" />
  </Properties>
</Feature>

Package.Template.xml :

<?xml version="1.0" encoding="utf-8"?>
<Solution xmlns="http://schemas.microsoft.com/sharepoint/">
 </Solution>

Workflow->Elements.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com

Problems with InfoPath form with code to deploy in SharePoint 2010

  

 

I try to deploy a form in sharepoint 2010 that will be used by the workflow as Task form. The form is deploy with the feature (in the folder of the feature). This form has strong assembly and it is installed in the GAC. However looks like the form look the assembly in the folder of the features how Can I make teh form to look the assembly in the GAC??

I use infoPath 2010, VS 2010 and SharePoint 2010.

Thanks for your help!!

 

Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\[FeatureName]_Feature1\Forms\[AssemblyName].dll' or one of its dependencies. The system cannot find the file specified.


Deploying Infopath 2010 form with code to sharepoint 2010

  
I have created infopath 2010 forms with custom code and I want to publish these forms as the web browser form. I can preview these forms and everything is working fine.  But when I try to upload  (full trust option) these form templates in the central administration I get the error Object Instance is set to null. Does anyone have an idea what can be the cause of it?

Problems with InfoPath form with code to deploy in SharePoint 2010

  

 

I try to deploy a form in sharepoint 2010 that will be used by the workflow as Task form. The form is deploy with the feature (in the folder of the feature). This form has strong assembly and it is installed in the GAC. However looks like the form look the assembly in the folder of the features how Can I make teh form to look the assembly in the GAC??

I use infoPath 2010, VS 2010 and SharePoint 2010.

Thanks for your help!!

 

Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\[FeatureName]_Feature1\Forms\[AssemblyName].dll' or one of its dependencies. The system cannot find the file specified.


InfoPath SP 2010 multiple web forms in the same library.

  

I am looking to create a document library with multiple InfoPath forms that are fillable using the web interface.  I don't need the forms to be saved and would just like them to have the submit button which will then fire workflows and send emails, etc...

I have used the Form Library, and I enabled multiple content types and saved each form as a new content type then granted users only view permissions it and it sort of work how I want but they have to use the New Document ribbon.  I would like the to just have a list of Forms in a Doc Library that when the click on them they open in the web and only allow the user to click submit. 

How do I go about this or do I have to go the Forms Library way with multiple contenet types?


Customizing SharePoint List Forms in InfoPath 2010

  
Learn how to customize the forms for viewing and editing items in a SharePoint list with the InfoPath Designer, and then take the forms offline using SharePoint Workspace.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend