How to submit my livecycle pdf form and store on my webserver? - pdf-generation

I have not used livecycle before. There are overloads of info on this topic, but I can't find one page or example that explains how to correctly and simply, submit my filled out form to a directory on my webserver.
I have my pdf form created in livecycle ES2. I found good info in many forums, blogs etc and from adobe. But am I missing something thats needed to make this work? (that needs to be installed on the server?). I was under the impression my form could be filled out and submitted/saved to a directory from my site visitors without the use of anything installed on the server. I just want whatever the user fills out in the pdf to be saved to that pdf and saved to the server.
This link was helpful: http://kb2.adobe.com/cps/332/332289.html
but I still am doing something wrong.
Generic buttons
You can set a generic button to be a submit button in the Object >
Field palette. Once you set the button as a submit button, a Submit
tab is available in the Object palette. You can choose the following
formats:
from that info provided - this is the solution I want :
-- PDF: Submits a package containing an embedded PDF file. Choose this format if the form contains a signature field, or if a copy of the
form together with its data needs to be saved by Adobe LiveCycle Forms
or submitted to some other kind of target server. Do not choose this
option if the form initiates server-side processing, if Adobe
LiveCycle Forms will be used to render HTML or dynamic forms at run
time, or if the form is a PDF form that will be filled in Adobe Reader
without the use of Adobe LiveCycle Reader Extensions.
I read additional notes that I need to enable the usage rights which I tried by saving the form from LiveCycle, opening in ACROBAT X PRO and :
extending the rights to the reader, there is no Advanced selection
under tools.
In Adobe Pro X, to get the pdf fillable emailed back to you you must
save the file with the rights extended, and this is found in
File>>Save As>>Reader Extended PDF, and select “Enable Additional
Features.
It will allow the receiver to fill and email or fill and save and
attach to and e-mail.
Has anyone had success with this? and know how to make it work? I created the generic button, edit properties, chose PDF and assigned a URL (the directory to store the saved files) ....what part am I missing?
Last but need least I read other info that said I need a servlet to save...??

You have to create a pdf in pdf designer, place a button. On the button click you can call the webservice as the code below
var cURL = <url to your webservice>;
SOAP.wireDump = false;
var service = SOAP.connect(cURL);
var Input = {'<give the input to your webservice here>'};
var result = service.YourWebMethod(Input);
After dat save the form as Dynamic Xml Form.
the importent part is, you have to 'reader extend' the pdf you have created.

Related

Dynamics CRM - Custom development

I'm completely new to the Dynamics CRM environment.
Within our current implementation, there is a grid which displays a list of current sales opportunities. Within this grid, there is a column for the user which is a link to another part of Dynamics. We want to instead be able to open a new window to another system. How can I customize how that link gets rendered out so that the client "onclick" function can link to a javascript function which will open a new window with the URL we need?
Please see attached:
Snapshot of Dynamics grid
Im afraid that this is not possible with supported customization.
My understanding is that you will keep URL to external system on entity and you would like to be able to open with single click from grid displaying this record?
However, Im not sure if you add this fields as single line of text with format option URL won`t work as expected. If this does not work, you would need a custom grid to display this data.
You can store url in text field with format URL, click on such field will open link in new window/tab.

profile picture upload laravel & foundation framework

I have a registration form completed and would like to add a profile picture upload. Once the user clicks the browse, he can select the photo. Then he clicks ok/apply/ok and then the photo is reflected in the thumbnail area without page refreshing.
Once the user is happy with all fields input he can submit the form and with it the photo of course.
Anything that does this exists out there already? If not, please provide guidance on how to establish this feature.
Thanks,
I'm not aware of a ready made solution for this but there probably is something :-)
However, with Laravel this is beautifully simple. You've tagged your question ajax but I'll answer this assuming you're going to use an old fashioned server round trip (i.e a form submit).
1) In your template, add a file element to the form. http://laravel.com/docs/html#file-input
2) Add some javascript to the page that detects when a file is selected and shows the preview. Extensive tutorial here: http://www.html5rocks.com/en/tutorials/file/dndfiles/
3) In your controller, handle the file using the Input facade. http://laravel.com/docs/requests#files

Image Hosting Website Script Deactivates FancyBox Capability

I'm running a Vanilla Forum with a FileUpload plugin, allowing users to upload images and insert the corresponding code directly into the body of their post. These images work with FancyBox when clicked, linking together nicely within the page. However, should a user use a third-party image hosting site (i.e. Imagevenue, Imageshack, Postimage.org) and copy and paste the resulting image code, it deactivates the FancyBox feature associated with all images previously on the page, so when you click on an image uploaded via FileUpload it opens in a new window now instead of in a FancyBox.
My question is one of two things:
a) Is it possible to fix this formatting issue so that if a user does choose to use a third-party image hosting service then it will not affect the fancybox of my previous images.
or
b) Is it possible to block this type of image code from being inputted in the body of a post to prevent this from ever happening.
Thank you and please reply if you would like more information!
Most likely the generated code from those third-party hosting sites has not an image extension (JPG, PNG, GIF) so fancybox doesn't know what type of content needs to handle.
If you are binding fancybox like
$(".fancybox").fancybox();
... you could force the type of content to image like
$(".fancybox").fancybox({
type : "image"
});
I don't really see how pasting the code of a new image will disable the code for existing ones if you want to elaborate.

how to implement FILE UPLOAD as in UPDATE PANEL in asp.net mvc3?

i have a mvc application to enter user profile to the system
i need to upload a image of user as well
but problem i face here is when i upload the image (calling functions in upload controller) all the data entered in other textboxes are gone.
what i need is when i click upload i want the image file to be saved(in a temp folder) and the remaining info in the textbox to remain intact. i have separate button to save the info to datbase which will save all data from TB and also the image(after converting it to byte array) to the databse
You can not upload file with pure AJAX. You need to create some iframe solution for that.

Firefox addon - is it possible to capture text/html from the webpage?

I have never wrote a firefox addon so I am wondering if this can be done. Is it possible to continually scan a webpage for certain text, and then if that text appears, capture it and save it to a file?
For example
Say a user is on amazon and adds a few items to their shopping cart.
They click checkout and fill in their details and click submit order.
When the order is processed the user is shown the text 'Order complete' and given a receipt of their purchase.
In this example I would like to keep scanning the webpage until 'Order complete' appears. Then I want to capture the html of the receipt and save it to a file.
Is this possible with a firefox addon?
From my experience as a Firefox user, this is definitely possible. As a matter of fact there are add-ons that do far more than that.
For example, Greasemonkey can actually act as a filter and change the content of a viewed webpage as specified by a user script. Zotero and AlertBox are able to selectively watch specific HTML elements for interesting information and act upon it.
It is also quite possible that there is an existing add-on that either does what you need already, or can be used as a basis for a custom add-on of your own - what you are asking for is not all that unusual...
You probably want to create your add-on with the Add-on SDK. You can then use the page-mod package to attach a content script to Amazon pages. The content script should check whether it got loaded into an order confirmation page - and send the HTML code of that page (probably document.body.innerHTML) back to the extension.
The extension then needs to write the data to a file. You need to use internal API for that, something like this:
var file = require("file");
var writer = file.open("c:\\foo\\bar.html", "w");
writer.writeAsync(data);
If you want the user to choose the file name, you can do this using chrome authority and nsIFilePicker component.

Resources