View Complete Post
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.
I've seen several posts regarding submitting to a list using and InfoPath form which I am successfully able to do in limited form. (only passing a basic date value) My environment: MOSS 2007 Enterprise w/SP2, InfoPath 2007, SPD 2007.
I'm basically trying to recreate a calendar form with the same data elements (and some additional ones for a specific business requirement) as the standard calendar newform.aspx form. (start time, end time broken down by date, hour, minute and All day event)
I need the form users to be able to select the date and if it is not an All day event...be able to select the hours and minutes just like on the newform.aspx. (date picker control for date and drop downs for hour and minute selection)
On submit I then need to create the list item with the appropriate data passed via a workflow.
My Start Time has a validation rule to not allow dates prior to the current date (and it can't blank) The End Time has a validation rule to not allow dates prior to what is specified as the Start Time value. (Also can't be blank) When I attempt to include
conditonal formatting to hide the hour and minute drop downs if 'All Day Event' is selected I get errors stating the fields can't be blank.
I also can't figure out how to pass the entire date/time values or the All Day Event to the list withou
Perform the specific activities required for this task.
Edit this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click
here to request access.
I am in the middle of a migration of MOSS 2007 on server 2003 R2 to server 2008 r2, to be in the position to migrate to SP 2010. I am trying to extract form templates (with code-behind) from the old farm to the new farm. I did not set this farm up myself,
so I would have copies of everything that was deployed to the farm, but now I don't. I have tried grabbing the .xsn from the Form Templates form library, and the form comes over, but no code behind, it says, The VB or C# project for this form template cannot
be found. I have also tried extracting the solution files, and changing the file ext to .cab and opening the file up, only to find nothing very useful.
I need to extract and open the code up because I believe one of the forms that sends emails dynamically, is pointing to an old exchange server, because the emails are not getting through, and the exchange server was recently changed.
Any ideas would be much appreciated.
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.
is it possible to auto-populate an infopath form with a sql data connection?
i have a form that only populate the username of the logged in user. but i want to use a secondary data source to auto-populate the user his email, id and department all comming from a sql server database.
and after that auto-populate the user's manager name using sql server db
is this possible in infopath 2007 and how can i do this?
I have an interesting issue while deploying a VSTO enabled form today. For
some odd reason while performing stsadm -o verifyformtemplate -filename
foobar.xsn, it returned a "FatalError : The form cannot be converted because
it was designed for a later version of InfoPath Forms Services.".
Has anyone else tried deploying a InfoPath 2010 form with managed code in a
MOSS environment?? I'd hate to go back to InfoPath 2007, I love the new
I used customise form option in custom list ribbon menu, and customised the form in Infopath. I used publish option from Infopath its sucessfully reflected in SharePoint site. I have new data connections as well.
Now I ve to deploy the same in Production machine, I have to give script or wsp to the admin guy. Any pointers.
I want the User Profile information in InfoPath Form from active directory and I want complete information of currently logged in user which include:
User Name, First Name, Last Name, Email Address, Designation, Company, Manager Name and everything which is in the profile of user in Active Directory. Please help me in getting this.
M Kamran Rafi
I have a few cases where I'm using an InfoPath form in a SharePoint list (for instance, as the default content type, so that clicking "New" in a Document Library opens an InfoPath form in the browser).
In the form's code-behind I would like to programmatically create a new item in another list, setting a Lookup Field's value there to the ListItemID of the item associated with the open InfoPath form. But I can't find any way to identify the ListItemID (or
GUID) of the InfoPath form.
Does anyone know how to get the ListItemID of an InfoPath form in a SharePoint list, from within the InfoPath form's code-behind?
I created a SharePoint Form Library, and added a button in the form. Then, by following the steps of adding custom code. I was trying to add codes to the button click event in VSTA. When I try to publish this form to my SharePoint library, I got an error
"The form template has been published to the server but it can only be opened in InfoPath Filler.
There is an error in the InternalStartup method of form code.
There may be additional error detials in the Design Checker task pane."
However, I did not make any changes to the InternalStartup. and then I tried to create another SharePoint Form Library Form in InfoPath Designer, and just add click event, but did not input any code, I got the same error. So I believe this is caused
by either environment or the configuration of SharePoint Server. Could anyone help me out? Thanks!
I need to include a hyperlink on the print view of an Infopath form. Now this is all good.
The problem is that the form does not close when submitted and then gets emailed to where it needs to go, so the url does not refresh. What I have done is to request the url:
XPathNavigator xnMyForm = this.CreateNavigator();
XmlNamespaceManager ns = this.NamespaceManager;
string strURL = HttpContext.Current.Request.Url.ToString();
And then I set the hyperlink to the txtURL datasource.
So what happens is that when the email is sent without closing the form and reopening it and clicking on the hyperlink, I just get a new blank form. Only when I close the form and reopen it do I get the form that was submitted.
How can I get the datasource to refresh with the new url that is created for the specific saved form? Is there a place where it is saved? I have checked in the xml source of the saved form but I cannot see anything there..!
Let me set up what I am doing...
I have a table with multiple text boxes. Each of these text boxes pulls a total for it's corresponding item from a SharePoint List. Each item has 3 boxes that return three different totals.(Filters correctly into This week, This month, and
Year to date).
When I open the InfoPath form initially all the columns return the correct totals. Now If I edit the date created on an item; so that it was created last month. Nothing changes on my infopath form. The created this month total remains the same.
I have my data connection set to update everytime a form is opened.
What am i missing?
We have a timesheet form that has 4 time fields: Start Time, End Time, Actual Time and Billable Time.
Our Start Time, End Time and Actual Time buttons and field calculations work just fine, but we want the 4th field to calculate the billable time by rounding UP to the quarter-hour.
Start Time - 9:00am
End Time - 11:20am
Actual Time - 2:20
Billable Time - 2:30 (or 2h30min)
I'm new to Infopath and not sure how we would accomplish this. What type of code would I need and can I even use code on that Billable Time field to accomplish this?
Thanks for any help you can give me!
I'm what you consider a n00b - i've only done some basic stuff with sharepoint - debugged some stuff, but now i need to find if something's possible.
Here is what i have:
1) I have an infopath form that is hosted on our sharepoint site
2) I have a workflow that routes emails and all that fun stuff and allows end user to "complete" a workflow.
Currently users start workflows in their browsers.
Here is what i need to do:
I have created a webservice to which i will have my users send me information (same information as the infopath form collects today)
but with the twist that i will have some sort of a web app that will PUSH this information and "fill out" the infopath form thus starting the workflow process - this all to be done in the background.
My infopath forms information is stored as .xml files within sharepoint - and i'm not sure how i can create these without physically opening up the form in a browser - instead just send information to the form and POOF have it start the logic of the workflow.
Is this possible?
Please point me in the right direction
Is it possible to pass the current URL value in an opened Infopath Form to another Infopath form withouth using code? Basically I am trying to pass variables from one XSN to another & the requirements are such that I cannot combine the forms & I
am unable to use C#.
code at all?