Upgrade 5.5.1 to 5.6

Post any questions regarding Installing or Upgrading Ebase, including problems starting up the Ebase Xi Server or Designer

Moderators: Jon, Steve, Ian, Dave

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Upgrade 5.5.1 to 5.6

#1

Postby neilnewman » Fri May 22, 2020 1:24 pm

Under our 5.5.1 installation we have a folder: D:\Ebase\dbc-ebase-live\UfsServer\tomcat\webapps\ufs\shared which contains a few addon bits of Javascript like TinyMCE, where would these live under 5.6?
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Re: Upgrade 5.5.1 to 5.6

#2

Postby Segi » Fri May 22, 2020 3:50 pm

I believe that the same folder in 5.6 would be located at <VerjIODataFolder>\apps\ufs\shared
0 x

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Re: Upgrade 5.5.1 to 5.6

#3

Postby neilnewman » Tue May 26, 2020 7:34 am

Hi Segi,
Thanks for the swift reply, I have now placed the tinymce.min.js script under this location, but the form is still having difficulties locating it:
Script placed under:
"D:\Verjio\UserData\ServerLIVE\apps\ufs\shared\DBC_js\tinymce\js\tinymce\tinymce.min.js"

Error message:
172.16.15.174 - - [26/May/2020:08:26:27 +0100] "GET /ufs/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js HTTP/1.1" 404 160

Call in form:
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>

Can you see what I have wrong here?

Thanks
Neil
Last edited by neilnewman on Wed May 27, 2020 7:52 am, edited 2 times in total.
0 x

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Re: Upgrade 5.5.1 to 5.6

#4

Postby neilnewman » Tue May 26, 2020 8:10 am

Forgot to say the form uses the code thus (this code is in the "Web Resources" part of the form):

<!-- Place inside the <head> of your HTML -->
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
plugins : "link,paste,lists,searchreplace",
relative_urls : false,
remove_script_host : false,
convert_urls : true,
browser_spellcheck : true,
selector: "textarea"
});
</script>
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: Upgrade 5.5.1 to 5.6

#5

Postby Jon » Wed May 27, 2020 3:41 pm

Within the userdata folder, it think it should be:
Server/apps/ufs/webapp/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js

I'm not too sure whether you can change the root directory "Server" - I see "ServerLIVE" above, but this will already exist so should be easy to find. The important point is that this is a web resource so it should be placed in the webapp section of userdata.
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Re: Upgrade 5.5.1 to 5.6

#6

Postby Segi » Wed May 27, 2020 4:41 pm

Neil,

Jon is right about this. I just double checked because I am also using TinyMCE.

I have my tinyMCE folder in C:\VerjIOData\apps\ufs\webapp\javascript
0 x

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Re: Upgrade 5.5.1 to 5.6

#7

Postby neilnewman » Thu May 28, 2020 8:06 am

Thanks Segi and Jon for your replies,
I found another way too (maybe):
I placed the scripts under: D:\Verjio\UserData\ServerLIVE\apps\ufs\workspace\Shared\Web_Resources\Client_Scripts
I then added the .js script calls to the forms "Client Javascript" list and removed the calls from HTML++ section.
Is this a valid thing to do, it appears to work?
We are planning to go live next Wednesday evening.
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

Re: Upgrade 5.5.1 to 5.6

#8

Postby Steve » Thu May 28, 2020 9:42 am

Hi Neil,

That looks like a good way of doing it.

If they are used on multiple forms, you might want to add them to the presentation template? But otherwise this looks fine.

Steve
0 x


Who is online

Users browsing this forum: No registered users and 5 guests