Writing the HTML/JSP - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997352

The New UI's HTML page

The HTML page displayed by the New UI is in:

\\<server>\d$\Enterworks\enable2020\custom

It is composed of basic HTML elements combined with JavaScript.

Pull Data

In order to pull data from the item you are performing the action on, you need to use the fireEnable2020ng function.

The fireEnable2020ng function pulls data from the item you are performing the action on and dumps it into an itemDataMap. You can then use itemDataMap in combination with EnterWorks's Rest API to manipulate, create, and edit data.

Rest API call

Below is an example of how to incorporate a REST API call inside JavaScript. It uses AJAX and the REST Search API to look for the value Specified in a repository.

There are other ways to make HTTP requests in JavaScript, so you should figure out which works best for the custom action you are creating.

Classic UI HTML/JSP

In the EnterWorks Classic UI, the JSP is written differently. To see examples or templates of how to write them, go to:

\\<server_name>\d$\Enterworks\EnableServer\tomcat\webapps\webcm\custom