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


Post New Web Links

Commit Variable from SharePoint Designer 2010 to an InfoPath Form 2010

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :SharePoint
 
Hi,

I saved a string into a SP Workflow 2010 variable, and want to pass this variable to an InfoPath 2010 Form, so that I can display/use this string in the Form.
Please tell me how to commit that.

Thank you in adnavce!

Kind regards,
Milan Stojadinovic


View Complete Post


More Related Resource Links

Changing fields while updating an InfoPath Form to a SharePoint 2010 Document library

  
My document library has following EventReceiver: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>EventReceiverDocumentLibraryItemUpdating</Name> <Type>ItemUpdating</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventHandling.EventReceiverDocumentLibrary</Class> <SequenceNumber>10000</SequenceNumber> </Receiver> </Receivers> </Elements> Updating a browser enabled InfoPath form in the document library fires following event: Public Overrides Sub ItemUpdated(ByVal properties As SPItemEventProperties) Try Me.EventFiringEnabled = False properties.ListItem("Lastname") = "Testperson" properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = True properties.ListItem.SystemUpdate(False) ' solution 1 properties.ListItem.Update() ' solution 2 properties.ListItem.UpdateOverwriteVersion() ' solution 3 properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = False Me.EventFiringEnabled = True MyBase.ItemUpdated(properties) Catch ex As Exception Me.EventFiringEnabled = True E

Cannot publish InfoPath 2010 form template to SharePoint Server 2010 RC

  
Hi all, I am MSFT in Vietnam. I created a SharePoint list using InfoPath 2010 RTM 64bit. After publishing it to SharePoint 2010 RC, I see an error message:  Click on button "Show Details" the message is The list schema does not match the schema of this form. Refresh the data source and publish the form again. When I create new item based on published SharePoint list, I can see plain form not browser enabled InfoPath form. I checked InfoPath Form Services, everything seems to be good. What should I do to publish SharePoint list from InfoPath 2010 to SharePoint 2010 as browser enabled form?

Infopath Form Data submitting to Sharepoint 2010 List

  
Making a Client intake form that once submitted will send data to  a sharepoint 2010 List called contacts. Short Summary the form will have repeating fields and alot of information to submit. I have looked and read all over but I cannot find an easy step by step guild on how to submit the form data like that. Long Summary on the sharepoint site a button will open a form for adding a new client.  once the form has been filled out and the user hits submit sharepoint will then create a User File, in clients file, and take the data and put it into contacts list. I am trying to make use of Sharepoint as I would with access, meaning the more information I have on a client the easier it will be to mail merge letters, motions, basicly any file prepaired stuff. So once I have css designed forsharepoint to make it look the way I want then the forms should intergrate perfect

How can i have form used by infopath with workflow sharepoint 2010 ?

  
Hi all, I have sharepoint 2010 and infopath 2010. I would like to create a workflow which sends a task to a user every week. The task should be done in infopath 2010. How can i do that ?   Thanks

Problems when deploying sequential workflow with association Infopath form of sharepoint 2010 using

  

I’ve create a workflow project with infopath in it. And I get the error

 “Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button.”

I'd really appreciate of any help.


error in sharepoint 2010 designer while saving:"Content in the embedded form may be changed by the t

  
Hi, 
I am doing development  in sharepoint 2010 and facing this very weird problem.
If I create a site page with the sharepoint look and feel for that site and try to save the site page,i am getting this error:**"Content in the embedded form may be changed by the the server to remove unsafe content.Do you want to reload your page to see the results of the save? "** and when i say reload,the server removes some parts of my page, e.g onclick event of html,asp buttons.

This error just comes for any sharepoint site page,e.g i took a copy of 'How To Read Library' page just edited the text part of taht page,and when i try to save this error again comes up.

However,if i create a simple aspx page with only htmltags like head body,then thr is no problem ,everything works great. But sharepoint look and feel pages are giving troubles while saving.

has anybody seen this earlier,what could be the reason for this?

Thanks

Problem opening an attachment from Infopath 2007 form in SharePoint 2010

  
I have an InfoPath 2007 form that is opened as a web based form in SharePoint 2010 that has an attachment control.  In Windows XP with IE 7 when you double click the attachment there is a warning message presented and after you click OK you get a prompt that asks if you want to open or save the file or cancel.  In Windows 7 with IE 8 when you double click the attachment there is a warning message presented and after you click OK you get a prompt that asks if you want to save the file or cancel, no open option.  I already set the SharePoint browser permission to permissive for the site and it doesn't help.  How can I get this to work in Windows 7 and IE 8?

publishing an InfoPath form to SharePoint 2010

  

I have an InfoPath 2010 form that needs to have a repeating table so when I developed it as a SharePoint Form Library.  When i attempt to publish the form to a SharePoint 2010 site i constantly get an error stating "The following URL is not valid".

I know that the URL is correct and I do have different forms on the site.  The main difference between this form and others on the site are the repeating tables, and the other forms were created as SharePoint Lists.  

Any ideas?


publishing an InfoPath form to SharePoint 2010

  

I have an InfoPath 2010 form that needs to have a repeating table so when I developed it as a SharePoint Form Library.  When i attempt to publish the form to a SharePoint 2010 site i constantly get an error stating "The following URL is not valid".

I know that the URL is correct and I do have different forms on the site.  The main difference between this form and others on the site are the repeating tables, and the other forms were created as SharePoint Lists.  

Any ideas?


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.


Publishing the Infopath form to SharePoint 2010 with a unique name

  

This may be a very basic question. But i was not able to figure out the same. I have published an infopath form to a form library. If a user fills out a form and saves submit, the form should get saved automatically to the form library with a unique name. For example, the submitted form should automatically get saved to the form library with the name Form1, form2, form3 and so on. Please help as how this can be accomplished. As of now I am getting the error below,

"The form cannot be submitted to the specified SharePoint document library. The document library already contains a file with the same name. A value in the form may be used to specify the file name. If you know what that value is, modify it and try submitting the form again."

Thanks in advance,

Sivai.

 


Building InfoPath forms against Sharepoint 2010 Data Connection Library and Form Services...

  

Hi Sharepoint Experrts,

I'm trying to develop InfoPath 2010 forms that use External Lists that have been created in Sharepoint Server 2010.  I have problems when testing the forms because access is denied to the external lists.

When I try deploying the forms to the sharepoint site, I cannot upload the form template because it says I have to be a member of the local administrators group.  However, I'm running the administrator account used to install and setup sharepoint on the Windows 7 development machine I'm using.

I also tried loading the InfoPath Data Connections to a data connection library on my Sharepoint site... I can see the files when I login to the site but when I try creating a New form from a Data Connection File, I get an error message "This location does not contain any data connection files with the appropriate settings".  What ARE the appropriate settings?

I'm just really confused about this because I cannot seem to be able to build forms that use data connection files loaded onto a Sharepoint site or central server....

I appreciate any help I can get!

 

Thanks,

KBW


Thanks, KBW

Infopath 2010 designer is not allowing to save or publish infopath 2007 form with design checker err

  

Infopath 2010 designer is not allowing to save or publish infopath 2007 for with designer checker error one for each view:

Error: "Some types of groups or fields are not supported."

As it is not pointing the exact control, I have tried removing all controls and fields but still it is showing the error.

Please advice if i need to re-create the form.


Hemant Joshi:: http://sharingthepoints.blogspot.com/

Formatting problem with Email from an Browser Enabled InfoPath 2010 Form in SharePoint 2010

  

I'm creating a form in InfoPath 2010 to be filled out in the browser within our SharePoint 2010 instance. It's pretty simple, four columns with total table width of about 650 pixels, textboxes, checkboxes, datepicker and one multiselect list box. The form is working fine up to the point where I invoke a data connection which emails the form to myself. When it arrives in my inbox, the format of the form included in the body of the email is funky. When I open the email and set it to a full screen viewing window (1440X900) the area that takes up the form exceeds the width of my viewing window and requires scroll bars to see all the fields on the form.

When printing the form from my email the area is so large that no data will show up in the printable area (it appears to be centered on the form and it is cutting off the "extra content" to the left and right which contains the form data as the user entered it). I'm using Outlook 2007. I also forwarded the email to a person who's using Outlook 2010 and they experienced the same problems as myself.

Things I've tried to fix it: Setting each column width, setting each control width to a pixel length (instead of using %). I added some code behind to switch the view to a two column view with a table width of 400px before it sends out the email. It's closer to being at a state where it's

Customizing The Display Form in SharePoint Designer 2010

  

I have an interesting problem.  I have a need to hide a particular field on a listform.  I believe I can do it using conditional formatting and using the IfHasRights function.  I would then put in the number 16, which is the ApproveItems permission.  The problem I am running into is when I create a  new Display form.  On the custom list I have a few lookup fields that pull data from other lists on the same site.  This all works well in both the new and edit forms.  I customize or create a new Display form then set that form as the default.  When I open a list item, I see the URL to the lookup list rather than the value. 

For example, I have a lookup field for Region.  The region was set to "western" when the list item was created.  When I am viewing the list item, rather than seeing "western" I see <a href="http://<SITE COLLECTION URL>/listform.aspx?PageType=4&ListId={369791AE-A520-466F-87ED-D1006D6D4679}&ID=2&RootFolder=*">Western</a>.

Has anyone else seen this?  It happens both when I create a new display form and when I edit an existing form.  I can do what is necessary on the edit and new forms, but the display form is giving me fits.

Thank you in advance for any assistance you can give me.



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