Updating the Home page with an HTML file
You can create one Home page for each locale supported by a study. The product locale of the user who uploads the Home page file determines the locale that is visible. For instance, if your product locale is en-US and you upload a Home page file, the Home page is visible to all users with the en-US product locale.
- Create an HTML file for the Home page.
- The HTML file for the Home page must be plain HTML without JavaScript. The application processes and sanitizes the file, removing script tags and other potentially harmful elements.
- If the HTML file for the Home page contains images, the src attribute of the image tag must use this syntax:
<img src=../../Portal/Document/GetImage?filename=<image_name.ext>>
where <image_name.ext> is the name of the image file, including its extension.
- If the HTML file for the Home page includes the company logo, the src attribute of the image tag must use this syntax:
<img src="../../Portal/Document/GetCompanyLogo?filename=company_logo.gif">
- In the InForm Portal application, select the Admin tab.
- In the Edit Records section, click Update Homepage.
The Update Homepage page appears.
- Next to the Select html file field, click Browse, navigate to the HTML file, and click Open.
- If the HTML file contains image files, navigate to the files individually, using each of the Select image file fields.
Note: If the HTML file contains more than five image files, submit the files, return to the Update Homepage page, and upload the additional image files.
- Click Submit.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |