#DBLookup and image display on web - lotus-domino

I am having issues with displaying an image in a Rich Text field on Notes document on the web. On web form, I have a form with a computed Rich Text field with this logic for the value:
#DbLookup("":"NoCache";"":#DbName;"notices";"americas-en-LoginMsg";"Error_Body";[FailSilent])
The source document is different than the destination document.
When The Web form opens up, only the formatted text displays and the image is just a placeholder with no image displaying. Any ideas on how to get it displayed. Using Domino server vers. 9.0.1.

I placed the image(s) in Resources>Images area of the database and used pass thru HTML on source document to reference it (them): img src="https://something.com/webpages/database.nsf/Buyback.gif?OpenImageResource" (with proper formatting of course).

Related

Automation Anywhere: In PDF Integration, Extract Form Fields isn't working properly?

I'm using Extract Form Fields to get data from a PDF. But upon selecting the area where the desired text is located, the "Value" text area in the popup should be automatically populated with desired text, but that isn't the case. The "Value" field is staying blank.
Any idea what might be causing this?
you need to check whether your PDF has handwritten content or it is a scanned file.
if your PDF does not satisfy above criteria you can easily automate your PDF using Automation anywhere by selecting the area. if your PDF is invoice or bill or any type of GST forms better to use IQ Bot.

Adobe PDF Forms - Text Field displays value only when clicked on it

I have a PDF with forms defined in it.
One field in the form is a multi line text field.
The value in the text field is populated by a java program using Apache PDFBox.
The issue is when the value is of around 5 to 6 lines, the text box displays the text automatically. But if it is more than 6 lines, the text box does not display the value. I had to specifically click on the text field to display the text. If I click outside the text box again, the text disappears.
The text field is read only with Multi Line and Scrolling options enabled.
Any ideas what is causing this weird issue?
I have Adobe Acrobat Pro 11, Adobe Acrobat XI and Adobe Reader to view the files. All have the same issue.
It sounds like a typical "appearance" problem. There's no form field appearance in the field widget dictionary so when you click in the field, the raw string data is shown but when you click out there is no appearance to display so you get a blank. You can test this out by toggling the multi-line setting in the field properties in Acrobat so it generates an appearance. If that fixes it, then you the problem is the one I describe.
You can use PDFBox to set the "needs appearances" flag in the file that will tell Adobe viewers to regenerate field appearances when the file is opened but that doesn't work for all PDF viewers. To make the field value visible in all PDF viewers, it's best to generate appearances when you populate the field values.
The Datalogics PDF Java Toolkit can automatically generate appearances based on field values. Full disclosure, I represent Datalogics.

Moodle PHP filehandeling

My problem is that we have made an block that opens a page witha a mform on it. And we use the editor element to start the tinyMCE editor, on the page. But when we save the output, the images oploaded to the text field is only viewable to the admin (the person who uploaded it) and in the mdl_files it sets it to be a draft file. I have been through the documentation, and i might have lost the context on the new page, but im not sure.
In Moodle, files uploaded to a form (either to a filemanager element or a text editor) are stored in a temporary 'draft' area while the form is being edited.
This is so that the actual files are not changed until the form is submitted (e.g. if an admin changed the image embedded in some text, deleting the original, you do not want anyone viewing the page during the editing to see a broken image link).
When working with files embedded in a text editor in Moodle, you need to make sure you copy all existing files into the 'draft' area before you show the form, then copy the 'draft' images into the real area, after the form is submitted.
See https://docs.moodle.org/dev/Using_the_File_API_in_Moodle_forms#editor for details about how to do this.
Please also note that your plugin will also need a PLUGINTYPE_PLUGINNAME_pluginfile() function in its lib.php, in order to authenticate any file requests from the user's browser and return the file contents. See any of the core activities for examples of this (e.g. mod/data/lib.php - function data_pluginfile()).

Display dynamic pdf image from URL and a dynamic link to that image

I wish to embed some kind of an object in a PDF document in way that each time a document is opened the image is different (like some kind of HTML page that serves different images).
I don't want the image to be preset , instead i wish to change the image remotely (the server will serve different image)
In that way i want to be able to send a PDF newsletter that basically changes every time it is opened.
The thing i need to change on each document open is the image and the link that the user will go to once clicking the image.
Is this possible ?

iText - PDF file displaying message at the top about fillable form

Here is what I did:
1. I have a template WORD file that can be used to fill an application for some stuff. Assigned pre-defined tags to fillable fields.
2. Converted that word file to PDF file using CenoPdf
3. Used iText to fill the fields in generated PDF file.
4. Now when user downloads that filled file, they see a nice purple at the bar saying "Please fill out the following form. You can not save data typed into this form. Please print your completed form if you would like to copy for your records".
how can i get rid of this purple bar and the message? I am assuming i need to set some bits through iText to turn this off??
Thanks
You can't edit the purple bar at the top. This is a flaw with Acrobat. Whenever your PDF contains form fields, the message is automatically displayed by force and you cannot edit it. Adobe feels that it's users are more important than it's developers, and forces the bar and message whenever form fields are present.