URL 5x style

Post any questions regarding Installing or Upgrading to V5, including problems starting and using the Ebase Server or Designer

Moderators: Jon, Steve, Ian, Dave

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

URL 5x style

#1

Postby HarryDeBoer » Fri Jul 17, 2015 6:56 am

what's the right Xi5 URL for starting a form that has the structure:

project N
folder N1001
form N1001

I tried:
http://localhost:3030/N/N1001/N1001.eb
http://localhost:3030/N/N1001/N1001
http://localhost:3030/N/N1001.eb
http://localhost:3030/N/N1001

But that gives a Http404 error (resource not available).
0 x
Kind regards,

Harry

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

#2

Postby Jon » Fri Jul 17, 2015 7:58 am

Harry,

You can use either of these URL's:

localhost:3030/<webapp>/N1001.eb
localhost:3030/<webapp>/ufsmain?formid=N1001 (same as V4)

Neither of these specify the project or the path. This is because form names must be unique in V5, same as V4.

You will also notice a third URL format when a form is submitted from the designer. But I would advise not using this to invoke a form from a browser.

Regards
Jon
0 x

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

#3

Postby HarryDeBoer » Fri Jul 17, 2015 8:41 am

Hi Jon,

Can't get it working. What should be the content of <webapp>?
0 x
Kind regards,

Harry

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

#4

Postby Jon » Fri Jul 17, 2015 8:50 am

If you've upgraded a V4 system and never changed the web app name, it will be "ufs". If you use the out-of-the-box server with V5 it will be "ebase" (we've changed it). You can check by looking in UfsServer/tomcat/webapps - the folder name is the web app name.

If you're using the new integrated server (check Designer preferences > Test Server), it will be "ebasetest" and this can't be changed.
0 x

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

#5

Postby HarryDeBoer » Fri Jul 17, 2015 11:23 am

URL webappname seems to be case-sensitive!

localhost:3030/Ebase/N1001.eb does [u]not[/u] work

localhost:3030/ebase/N1001.eb does work
0 x
Kind regards,

Harry

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

#6

Postby HarryDeBoer » Fri Jul 17, 2015 11:25 am

URL webappname seems to be case-sensitive!

localhost:3030/Ebase/N1001.eb does not work !

localhost:3030/ebase/N1001.eb does work

so ebase has to be lower case.
0 x
Kind regards,

Harry

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

#7

Postby HarryDeBoer » Fri Jul 17, 2015 11:42 am

strange: in the forum posts you can write ebase in lower case but the first letter always appears in uppercase after submit.
0 x
Kind regards,

Harry

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

#8

Postby Jon » Fri Jul 17, 2015 12:10 pm

Harry,

Yes you're right - the new V5 URL format formname.eb IS case sensitive. However, the old V4 URL format ufsmain?formid=formname ISN'T case sensitive. In general we wanted to make everything case sensitive but couldn't with the V4 URLs because this would break the backward compatibility.

Jon
0 x


Who is online

Users browsing this forum: No registered users and 3 guests