The enable-web-server-service microservice (Windows) and web-server container (Linux) must define the path for the custom widgets. In the case of Windows, this needs to be added:
In Linux, the path should already be defined:
The directory /app/enable2020/custom in the web-server may need to be created in the web-server container. I have copied the files needed for the Upload Assets widget and Upload and Link Assets custom action:
The custom widget is configured to reference the html page busing the path (/custom) that was defined with the physical path:
Here's what that widget looks like:
-Brian
------------------------------
Brian Zupke | Senior Technical Support Engineer
Winshuttle North America | 9099009179
------------------------------
Original Message:
Sent: 12-04-2020 17:05
From: Vamsi Krishna Karamsetty
Subject: Creating a custom HTML page?
David,
I have access to the server as root. So, access is not a problem. In order to create a custom folder on my own, I will need to know where there Tomcat is installed. I don't see in in the list of servers that I provided. if you can help me figure out where Tomcat is located I will be able to create a custom HTML folder as suggested.
Thanks,
------------------------------
Vamsi Krishna Karamsetty
Shutterfly, Inc.
Original Message:
Sent: 12-04-2020 15:58
From: David Howard
Subject: Creating a custom HTML page?
Hi Vamsi. I just wanted to follow up with you to see if you've been able to resolve this issue. Not knowing specifically how you have your server deployed, you need to make sure you are accessing the server and the file structure you have available to you on Linux server where Tomcat is installed. In the path described in the documentation, if the custom folder is missing I believe you (or someone with appropriate rights) can create it and add your custom HTML there...
------------------------------
David Howard | Solution Engineer
Winshuttle North America | 240-534-3511
Original Message:
Sent: 11-13-2020 04:02
From: Vamsi Krishna Karamsetty
Subject: Creating a custom HTML page?
Brian,
The brown bag session 31 - Custom Actions with Upload and Link Digital Assets Example is helpful and give many insights about the custom HTML, JS and how to use them. But, my problem here is that when you say go to server I am not albe to find the particular folders. Our application is hosted on linux and I / we got access to 6 different servers. Below is the list of 6 servers I have access to
- PROD-APP
- PROD-API
- PROD-ESEARCH
- PROD-JQ
- PROD-WEB
- PROD-RDS
In this list of servers which one has tomcat installed in it as shown in the document or brown bag session?
`\\<server>\d$\Enterworks\EnableServer\tomcat\webapps\webcm\custom`
This is my first step. Then I will try out a few things with the API's.
Thanks
------------------------------
Vamsi Krishna Karamsetty
Shutterfly, Inc.
Original Message:
Sent: 11-10-2020 12:44
From: Brian Zupke
Subject: Creating a custom HTML page?
Vamsi,
The custom folder needs to be created under the <drive>:\Enterworks\enable2020 folder (e.g., D:\Enterworks\enable2020\custom). The enable-web-server-service needs to be configured to point to this folder. You may find it helpful to watch the following Brown Bag Session recordings (available on the Partner Portal):
Brown Bag Session 20 - Creating a Java Microservice
Brown Bag Session 31 - Custom Actions with Upload and Link Digital Assets Example
-Brian
------------------------------
Brian Zupke | Senior Technical Support Engineer
Winshuttle North America | 9099009179
Original Message:
Sent: 11-09-2020 16:08
From: Vamsi Krishna Karamsetty
Subject: Creating a custom HTML page?
I am trying to create a custom widget using the guide attached. The guide says I should find a folder by name `custom` on the server.
path - `\\<server>\d$\Enterworks\EnableServer\tomcat\webapps\webcm\custom`
I tried looking up for the path in web and app enable server but I did not find any folders as in the document.
Did anyone try it out and can help me finding the right location?
Thanks for the help.
------------------------------
Vamsi
------------------------------