Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Cannot preview form in HTML5

Avatar

Level 3

When I select the preview in HTML5 tab in Designer, an error states that I must verify my settings under options/server options.  It appears that the Server URL setting should be http://localhost... which is what I have.  My operating system is Windows 8 and I have setup the IIS 8 local server to function.  I have rebooted the machine several times but that has not changed the result. 

The port is set to 8080 and the HTML preview context is set to "lc/content/xfaforms/profiles/default.html".  Is it possible these settings could be wrong.  I have not been able to find sufficient guidance on these data settings.

Thanks in advance for any assistance.

3 Replies

Avatar

Level 4

To preview your forms in HTML, provide configuration details of your LiveCycle server:

1. Go to Tools > Options.

2. In the Options window, select Server Options page and provide following details:

  • Server URL: URL of the LiveCycle Server.
  • HTTP port number: Port number at which the LiveCycle server is running. The default value is 8080.
  • HTML Preview Context: Path of the profile to use for rendering XFA forms. The default value is lc/content/xfaforms/profiles/default.html. This would use default profile for previewing the form in designer and if you need to use any other custom profile, that can be done by providing appropriate path of that custom profile.
  • Forms Manager Context: Context path at which Forms Manager UI is deployed.The default value is lc/fm

Note:Please make sure that LiveCycle is available at the server URL configured above as HTML preview needs to connect to server for every preview generation.

Click OK.

img1.jpg

3. To see HTML preview of the form, click the Preview HTML tab.

  • If HTML Preview tab is closed, Press F4 to open the Preview HTML tab. You can also select Preview HTML from View menu to open the Preview HTML tab.

Note:The HTML preview does not support PDF documents, the HTML preview is only for XDP documents.

Avatar

Level 1

You say

Server URL: URL of the LiveCycle Server

But how does one know what that is?

I too tried  http://localhost - even tried typing in the words "URL of the LiveCycle Server"

Nothing works.

Preview worked in my previous version (2) and I didn't have to fuss thoroug settings, the program arrived with settings working.

Grrr... Adobe makes it hard!

Avatar

Level 10

The HTML preview is a new feature in Designer ES4 but requires a LiveCycle server in the background to render the HTML file.

If you don't have such server you simply cannot use this feature but the classic PDF preview instead.