Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Common Customizations
For the most common configuration customization tasks that every customer and OEM partner will want to consider see Installation Tasks. Also see the web.xml and frevvo.xml files for all of the context parameters that can be changed in .
CSS for Forms/Flows
If you are using in-house, Cascading Style Sheet code that was used in themes applied to forms/flows in previous releases, can be added to a newly created style.css file in the frevvo.war file . The context parameter, frevvo.css.url, in the web.xml file must be changed to point to it. The web.xml file is included in the <frevvo-home>\tomcat\webapps\frevvo.war. The frevvo.war must be unzipped/rezipped after modifications have been made as outlined in the steps below: Let's use the following css code which hides the submit and cancel buttons on all forms/flows as an example:
- Stop Live Forms if it is running.
- Unpack the frevvo.war file to a temporary location of your choice: e.g. c:\tmp\frevvo-war. Change the file extension from .war to .zip if necessary.
- Create a text file named style.css. To hide the submit and cancel button globally add the code below.
Code Block |
---|
div.f-control.f-submit.s-submit {
display: none;
}
div.f-control.f-submit.s-cancel {
display: none;
} |
4. Save the changes to the style.css file.
5. Copy the style.css file to the c:\tmp\frevvo-war directory.
6. Navigate to c:\tmp\frevvo-war\WEB-INF directory. Edit the web.xml file.
7. Search for the frevvo.css.url context parameter. set the value of frevvo.css.url context parameter in the web.xml file to point to the newly created style.css file. The frevvo.css.url context parameter should look like this: Remember to save your changes.
Code Block |
---|
<context-param>
<param-name>frevvo.css.url</param-name>
<param-value>${context.path}/style.css</param-value>
<description>Custom Stylesheet URL</description>
</context-param> |
8. Rezip all the files in the c:\tmp\frevvo-war directory, even the ones you did not edit — if you change directories or zip them differently, Live Forms may not load correctly. Rename the modified file frevvo.war.
9. Copy the modified frevvo.war to the <frevvo-home>\tomcat\webapps directory of your in-house installation.
10. Restart your Live Forms server.
If you are using tomcat, you can add the frevvo.css.url parameter to the <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml instead of modifying the parameter in the web.xml file. To do this, replace steps 6 and 7 above with the following steps then continue with step 8 listed above:
6. Navigate to <frevvo-home>\tomcat\conf\catalina\localhost. Edit the frevvo.xml file with a text editor.
7. Add this parameter to the frevvo.xml file. Remember to save your changes.
Code Block |
---|
<Parameter name="frevvo.css.url" value="${context.path}/style.css" override="false"/> |
If you make these changes, the Login and Forget Password buttons on the login screen will also be hidden. This is useful for OEMS that embed in their own application.
Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Common Customizations
For the most common configuration customization tasks that every customer and OEM partner will want to consider see Installation Tasks. Also see the web.xml and frevvo.xml files for all of the context parameters that can be changed in .
API
The Data API enables programmatic access to the all resources and data stored in the server. The API provides a simple protocol for viewing and managing resources such as forms, applications, schemas, etc. OEM partners as well as end user customers can use the API to extend the features and provide tighter integration with other applications.
...