I have/had a problem with field values from existing InfoPath forms not displaying in Sharepoint form library columns (columns are checked as visible). I fixed the error which was caused by a mis-calculation in the errant field/column. The form fields value now appears but only in a newly created form, the old forms corrected value does not appear after the fix.
Is there a way to re-calculate or refresh the old forms so they recognize the correct values and display them correctly in the SharePoint column? I have a form library with hundreds of forms that I would like to get this one particular column to display correctly.
The solution is to open each of the old existing forms and save it again (i.e. refresh) the form so it recalculates the values, then the new values will be displayed in its corresponding column in the form library. Tedious job, but it works!
Related
I recently just constructed a new view for a Lotus Notes Application and tested it to be fine.
It was supposed to get field data from 2 nearly identical forms and display into the view. The fields on both forms share the same name.
The formula used in View Selection is
SELECT ContactName; CompanyName; ContactNumber; CarNo; RequestDate
--comment: These are the names used in both forms --
This worked fine yesterday. Also I made sure that each column has selected the correct field to display and I did not change any settings. However, today when I went back to check, the view is all empty.
What seems to be the cause of this?
Your selection formula for the view is not correct. You use the name of the forms in the select statement and then add your fields as column in the view. If we assume that the forms are called FormA and FormB, then your selection formula for the view can look like this:
SELECT Form="FormA":"FormB"
I have used several infopath forms with great success in Sharepoint.
I am running into a strange problem on one form I'm working on right now.
Basically, I have a status report form. One of the fields is asking whether a project is Green, Yellow, or Red.
What I want is for this selection to appear in a column in sharepoint, but not as text, as an image.
To do this, I created a column in the form SharePoint library called Status. I used the hyperlink/picture column for this. And yes, I did turn on "display url as image" for that column.. I then created a rule in InfoPath which took the result from my form field, and set another field's value (in this case, set the sharepoint status column field to a url link to a green indicator i want to have displayed). As an example, if you open my form and tel me your project is GREEN, the rule should write "http://www.schooldashboard.org/tths205/images/IndicatorGreen.png" to the status column in SharePoint for that file.
However, no matter what i do, nothing gets written to this column from InfoPath. My hunch is that there is a data connection or something missing to submit that specific field value to sharepoint but I can't figure out how to do that.
I also tried actually hosting the indicator image on my sharepoint server to see if it was being blocked somehow, but that didn't change anything.
Thanks.
My requirement is New form should have all fields editable and Edit form should have few fields read-only (Like ID entered by user in New form for the item).
How is it possible through form customization done using Infopath.
You could have a checkbox or any bool control that gets checked when a form is initially filled out and submitted to a SharePoint list, have it change value "on-submit". When the form loads just add a rule that if 'existingForm' (or whatever you name the control) is checked and if it is then disable/or hide the control.
You could disable the controls, or you could hide them completely and display their values through a calculated field/value which is normally hidden.
I am very new to Infopath, and need some architechtual guideslines. My scenario is as follows:
I have a Sharepoint list, let's say it contains beer, and three items of it: "Kronenbourg", "Corona", "Tuborg". "Beer" is a content type, derived from Item.
What I need to do :
I need to create a "dynamic" Infopath form, that presents the user with a CheckBox for each beer. If a new beer is added to the Beer list, a new Checkbox should show up on the form without intervention, even on saved instances of the form. I have not decided what should happen upon deletions.
I then need to save this infopath form, including the selections, in a sharepoint form library, so that the users can go back to one of maybe many beer-forms that they have saved, and maybe change the selections.
I also need to build a string from the selections at some point in time, and present this string in a visible column in the form library, but thats beyond the scope of this post.
What I managed to throw together so far:
I have a kind of working Infopath form. I have added a sharepoint dataconnection to the Beer list, and dragged a repeating table to the design area. This "works", i get a list of my list items. I then added dummy Y/N field to my beer content type, selected it in the fields, and now i get a neat checkbox next to my records.
Obviously this does not seem right. I do not need to save anything back to the Beer table, I only need to use the beer table for lookup, and keep the selected choices in the saved instance of the form.
Ok, thanks for staying with me so far. What do I do here, can Infopath be persuaded to support a scenario like this, or am I better off building custom webparts? I think my main questions are:
Can I maybe attach an "input-only" CheckBox to a repeating list/section ? (and how do I refer to such dynamically created control)
How do I make Infopath load the choices dynamicly from db, but save the data in the instance of the form?
Should, and can I maybe attach a content type to the form library, representing the choices and somehow attach that to the form?
Thanks for any input
If I understand your requirements, I think the thing to do here is to use a Multi-Selection list box (MSLB). This can have its values populated from a secondary data source (i.e. a list), and it would be bound to a repeating field that would automatically have values added and removed as values are selected and deselected.
As far as getting the selections into a single string, if you just want this value for a column of the form library that the forms will be submitted to, you can just use this repeating field as a promoted property, and use the "Aggregate" option to combine the values into one.
The other option would be to create a separate field to hold the string and use the "double eval trick" (please Google that) to combine the values into one. One gotcha here is that if you use double eval trick with a MSLB, you have to put the formula both in a rule on the MSLB's field, and in the default value formula for the target field.
I'm looking to place my company's trailer inventory on a few free classified ad sites. Our inventory database (filemaker) can export data into an excel spreadsheet (column A-Make, B-Model, C-Year, etc.) including the URLs of the photos of each trailer.
Our dealer sites allow for bulk uploading through XML and that works great.
My problem is on the smaller free classified ad sites that have a web form that needs filled out (the example I'm using here has text fields and drop-down menus, but other sites have check boxes and radio buttons) then submitted for each individual trailer (about 90 trailers). I'm wondering how I can use the data in my spreadsheet to auto-fill the form with the information in row 1, submit it, re-navigate back to the form and repeat the process with the info in row 2 and so on. I know that I'm going to have to tailor my data and columns to fit each site (match column names to field names and change relevant data to match drop down options, etc.).
**edit Also (although not necessary) it would be nice if it was possible to have my photo URLs entered as well (if at all possible).
I've created a "test" account on http://www.horseclicks.com. Once logged in you have to click on "My Trailers" on the left and then the "add" button
user: excelhelp
pass: excel
Any takers??
This doesn't completely answer your question, but would save you some time entering the forms manually. If you know the names of input tags on the form you want to fill out, you can write a Javascript that will fill out the form for you: i.e., document.getElementById('your_name').value=Name[x]; etc.
In that example, Name would be an array that would contain a list of the names you wanted to put in the input field "your_name". You can easily turn an Excel sheet into a Javascript array by exporting to CSV and cut/paste into your code. Make it so that the value of x increases by 1 each time the script is ran.
Take your whole javascript, and turn it into one line that starts with "javascript:" and place this as a bookmark in your toolbar. Now you can go to the form, hit the your bookmark button and it will fill out the form. Hit submit, go back to the form, hit the button again...