prevent info path web based form from printing? - sharepoint-2007

i design web based Form using infopath 2010 (no data base ) published on sharepoint 2007
can i prevent user from printing form unless user fill all form text boxes?

No, you cannot prevent the user from using his computer.
What if the user just takes a screen shot then prints the screen shot?
What if the user just takes a picture of the screen with his cell phone camera?
The computer belongs to the user, not to you.

not available option on web browser forms
http://social.msdn.microsoft.com/Forums/en-US/d0abfab8-2877-4b17-a76c-6d06eb052db9/restriction-printing-for-infopath-web-browser-form?forum=sharepointcustomizationlegacy

Related

Passing credential to a Delphi TWebBrowser component

I'm using Delphi XE11 to develop a small application to retrieve info from a password protected website.
So far I have placed a TWebBrowser on a form and use "Navigate" to load the page. After I login with my credentials, I create a filter on the webpage.
I have successfully parse all the pages that result from filter and saved on the disk useful information.
The link are like this:
"https://membri.listafirme.ro/pagini/p1.htm#selectie"
"https://membri.listafirme.ro/pagini/p2.htm#selectie"
"https://membri.listafirme.ro/pagini/p278.htm#selectie"
Now my problem is that when I want to use the same component to navigate (in the same session I believe) on one link that exist on the page, is navigate on a page without credentials and therefore with partial information.
Is there a way to pass the credentials?
Or what to do to stay logged?
I'm a loosing the session?
tks alot
Razvan

Add Submit button on Orbeon Form Runner and then call custom Java REST API on submission

I am working on a POC (proof of concept) where I am evaluating Orbeon form builder/runner. I am using community edition, just in case, I will need to change the code, else the Professional Edition would do for POC.
I am integrating FormRunner with my web application running on different web server, which will call the FormRunner URL with some custom query parameters.
I want to remove the Summary, PDF and Review buttons from FormRunner and simply want the save button to function as submit button, so as clicking on it will submit the POST data to my custom Java code which will talk back to my web application, likely through REST API. The submit button then should redirect me to another page saying 'Your data has been submitted'.
I find it difficult to understand the area where I can change the code for expected behavior. Could you provide me some pointers in this regards please?
Thanks and Regards,
Mayuresh.
You shouldn't have to change the code for this, but instead use the oxf.fr.detail.buttons.*.* property to define which buttons are shown. Based on your description, you only need the workflow-send button, which, amongst other things can POST the form data to a service you specify.

SharePoint Item Edit Form (editform.aspx) keeps closing webparts - MOSS 2007

We have a custom list within MOSS 2007 which sporadically closes the edit forms web part, despite the fact that the web parts property 'allow close' is unticked. The only way to make the form work again is to edit the page in SharePoint Designer and untick the option of 'web part closed', this then allows the form to function but at a seemingly random interval it will close itself again.
There is quite a large user base accessing the site/list at anyone time, also note this has happened once on another list on another site collection.
Has anyone else experienced this issue before or can offer any advice?

MOSS 2007: How to programmatically store web part properties for a user?

I have a web part which shows data in one of 3 different formats. The format is selected by clicking one of 3 buttons in the web part. This works fine.
A request has come through to store the last selected state so that the user does not always have to click their favourite view.
It seemed logical to define a Property and define Personalizable(PersonalizationScope.User) but this does not seem to work for most users as they only have Read rights for the page.
What is the best way forward here? Is Sharepoint the right place to store such info or should I be using my own storage?
Thanks
Using your own storage is an option but this means its some more development work for you. How about this option.
Modify your WebPart and add the option to the Web Part property.
Create a new permission level and add the following permission
Update Personal Web Parts - Update
Web Parts to display personalized
information.
This will make sure that users with read only access can only update webparts.
Step 2 will allow them to odify all webparts. You can modify each webpart and remove the following option for webparts which you dont want you users to edit.
Allow Editing in Personal View [Advanced]
This way you can lock all webparts except the one you want.

Weird problem with Rails and Adobe Livecycle pdf

I'm building a site in which a catalog (of products) is shown and when clicked a Adobe Livecycle generated pdf will be opened. There are a few form fields and when the submit button is pressed, the fields will be submitted to the url http://localhost:3000/pdf-parser.
This file gets all the parameters and can store them in the database. The problem is to identify which user is sending the data via Pdf? This could be accomplished if I could inject some parameter like user_id into the Livecycle pdf file which would get passsed to the http://localhost:3000/pdf-parser so that I can stamp the user.
I googled for this several times but I couldn't get the answer to this as Adobe Livecycle is a new product.
So, can any Rails coder point me in the right direction? Or is this even achievable?
Or is there any other solution to this problem?
If you set any cookies when sending the pdf over to the user (e.g. go ahead and store something inside the controller's session object, e.g. session[:user_id]=1234), does Acrobat send back the cookies alongside the submitted form data? (e.g. is session[:user_id]=1234?) If so, then you have your answer.
I resolved it using the XFA xml file and dotNet custom built renderer library.

Resources