Printing Infopath form 2010(.xml) in Sharepoint 2010 - visual-studio-2010

My question is related to printing an Infopath 2010 form in Sharepoint 2010.I designed an Infopath 2010 form in Infopath Designer 2010 and published it to a form library in Sharepoint 2010.The end user fill the form and store it in .xml format in the document library.Now I would like to print the form filled by the end user? Any Ideas or suggestion about the above scenario?Please consider both browser based forms and normal forms

By default InfoPath will just print and work but you might want to format things differently.
Create a new view then craft it the way you want. For print views, you might want to create controls that show the data in label format rather than text boxes and display things like Yes/No fields as text. It will take some work but you can build out a view that's customized for print media.
Once you've created the view select the Page Design tab and under properties for that view click on the Print Settings. From there you can set the default print view, what the headers/footers are, etc.

Related

Finding fields in report builder

One of the columns in my Table actually has a value which is picks from a field from dataset and a textbox (for example =Fields!Total.Value/ReportItems!Textbox80.Value). The Total Field comes from a dataset in my report however I am struggling to find the Textbox80 . Is there any way I can search for this Textbox from Report builder UI. I tried seeing in Properties view as well but Could not find a way. I looked at below link also for help but it talks about BIDS which I cant see in Report builder
This seems to be a potential duplicate of How do I find a specific textbox within a SSRS 2008 R2 Report
The answers show that there is no specific way to do this with the report builder UI without selecting each report item and manually checking the properties menu.
The textbox can easily be seen if you are viewing the report in Visual studio (using the properties drop down box at the top of the screen)
The textbox can also be found if you edit the .rdl file in a text editor, which can then allow you to attempt to locate the textbox

NSIS Uninstall Feedback Dialog with Radio Buttons

I am trying to show a simple dialog before uninstall in NSIS. It consists of several predefined radio buttons (reasons for uninstalling), none of them checked initially. Uninstallation cannot continue until a user selects one of the radio buttons.
As a bonus, ideally I would like to have a custom reason text field too (toggle-able via last radio button). As well as 2 more text fields for custom text and email.
Then I need to take selected value(s) (checked radio button) as well as text fields data and either append it to my predefined URL to which I make a GET request using InetC or similar plugin before uninstaller exits; or laternatively construct a POST request to a predefined URL using InetC or similar plugin. I cannot figure out how to create such a dialog page. Any help would be appreciated.
What I am looking for:
First, you should get familiar with nsDialogs to create the interface according to your needs. Since nsDialogs is a function, you would then can call it as a custom page.
You can use my tool Visual & Installer (www.visual-installer.com) for Visual Studio 2005 - 2015 to fast write the NSIS code.
(If you are "writing" the installer - I assume you have some experiences with nsDialogs).
Also there are some other tools like NSIS Dialog Designer (http://forums.winamp.com/showthread.php?t=329801) which can help you and generate lot of code for you.
This tool is GUI based - designer similar to Visual Studio designer - but remember: the result is still the scripts!

Conditional Style on SharePoint List View

I got a standard webpart that displays the contents of a document library.
If one Field has a specific value I want to Display the Contents Bold and in a different Color.
I can achieve that by going to the document library list and modify the view by using SharePoint designer and adding "Conditional Formatting" and "Format Row".
The results look great in Designer. (Red and Bold)
In the List View the Color is lost, but Bold is still visible.
On the Website using the WebPart for Display all formatting is lost.
What can be done?
Solved this by not modifying the VIEW in SharePoint Designer, but the PAGE. Weird stuff... :)

ShowInNewForm="FALSE" Does Not Work - Field is Displayed in New Form

I have created a List in SharepointUI, then made some layout changes in InfoPath. I then created a WSP file and imported the List into a new Project in Visual Studio 2010.
For a mumber of fields I do not want to display in the New Entry form I have set the ContentType FieldRefs for the field to have the property ShowInNewForm="FALSE" in the Schema.xml.
However, when I Deploy the Project and Add a New Item to the List the said fields are displayed. I am expecting these fields not to be visibile in the NewForm? Any ideas why this is not working?
Thanks
I think you problem here is that you customized the forms with InfoPath which I think does not apply normal forms rules like ShowInNewForm = "FALSE".
You can control the visibility of the controls from InfoPath as you want.

Use a push button to add a section in an InfoPath form?

I'm working on an InfoPath form that's going to be run with InfoPath Forms Services on a SharePoint server. For a number of reasons -- mostly so that the customer can update the form without involving an administrator -- this can't be a form containing .NET code.
The form has a repeating group, and we have users who are a bit confused as to how to add and delete items from the repeating section. I've looked all over the Internets, but haven't been able to find a way to do this without adding a code project to the form.
Is there any way to write a rule or do something else to make a button that adds an item to a repeating section?
Have you considered using JavaScript instead? to add the functionality that you need. Most (if not all) the samples within InfoPath contain a JavaScript code-behind files. these should work within infopath forms services though I have not tried.

Resources